II.
LibraryProcess JSON
Structured · livelib-process:security-compliance--nation-state-trojan-detection
specializations/security-compliance/nation-state-trojan-detection json
Inspect the normalized record payload exactly as the atlas UI reads it.
{
"id": "lib-process:security-compliance--nation-state-trojan-detection",
"_kind": "LibraryProcess",
"_file": "generated-library/processes.yaml",
"_cluster": "generated-library",
"attributes": {
"displayName": "specializations/security-compliance/nation-state-trojan-detection",
"description": "LLM-Powered Nation-State Trojan Detection — Semantic code analysis engine that detects\nbusiness-logic trojans invisible to traditional SAST tools, linters, and unit tests. Uses git diff\nforensics, byte-level homoglyph detection, cross-file data flow reasoning, and LLM semantic\nunderstanding to identify operator substitutions, logic inversions, constant manipulation,\nnarrative camouflage, compound self-masking attacks, and Unicode homoglyph injections.\nProduces a self-contained HTML report with attack classification, stealth assessment,\nblast radius mapping, and remediation recommendations.",
"libraryPath": "library/specializations/security-compliance/nation-state-trojan-detection.js",
"specialization": "security-compliance",
"references": [
"- MITRE ATT&CK T1565.001 — Stored Data Manipulation: https://attack.mitre.org/techniques/T1565/001/",
"- Unicode Confusables: https://unicode.org/reports/tr39/",
"- Trojan Source (CVE-2021-42574): https://trojansource.codes/",
"- OWASP Code Review Guide: https://owasp.org/www-project-code-review-guide/"
],
"example": "// Scan uncommitted changes (default — ideal for CI pre-commit hooks)\nconst result = await orchestrate('specializations/security-compliance/nation-state-trojan-detection', {\n projectRoot: '/path/to/project'\n});\n@example\n// Scan a PR branch diff against main\nconst result = await orchestrate('specializations/security-compliance/nation-state-trojan-detection', {\n projectRoot: '/path/to/project',\n projectName: 'My API',\n scanMode: 'branch-diff',\n baseRef: 'main',\n headRef: 'feature/new-scoring',\n reportOutputPath: '/path/to/project/reports/trojan-scan.html'\n});\n@example\n// Red-team drill mode with auto-revert\nconst result = await orchestrate('specializations/security-compliance/nation-state-trojan-detection', {\n projectRoot: '/path/to/project',\n drillMode: true,\n autoRevert: true,\n reportOutputPath: '/path/to/project/reports/drill-report.html'\n});\n@example\n// Scan specific commit range\nconst result = await orchestrate('specializations/security-compliance/nation-state-trojan-detection', {\n projectRoot: '/path/to/project',\n scanMode: 'commit-range',\n baseRef: 'abc1234',\n headRef: 'def5678'\n});",
"usesAgents": [
"general-purpose"
]
},
"outgoingEdges": [
{
"from": "lib-process:security-compliance--nation-state-trojan-detection",
"to": "domain:security",
"kind": "lib_applies_to_domain",
"attributes": {
"weight": 1
}
},
{
"from": "lib-process:security-compliance--nation-state-trojan-detection",
"to": "workflow:vulnerability-management",
"kind": "lib_implements_workflow",
"attributes": {
"weight": 1
}
},
{
"from": "lib-process:security-compliance--nation-state-trojan-detection",
"to": "specialization:security-compliance",
"kind": "lib_belongs_to_specialization",
"attributes": {
"weight": 0.9
}
}
],
"incomingEdges": []
}