feat(llm-security): wire AST scanner into orchestrator and policy
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V3s6WnubSSrFjAQTLQdVbG
This commit is contained in:
parent
e497bb768c
commit
b50313e461
4 changed files with 62 additions and 1 deletions
|
|
@ -89,6 +89,12 @@ const DEFAULT_POLICY = Object.freeze({
|
|||
enabled_families: ['webshell', 'reverse_shell', 'cryptominer', 'hacktool'],
|
||||
custom_rules_path: null,
|
||||
},
|
||||
// AST — Python AST taint scanner (shells out to a parse-only python3 helper).
|
||||
ast: {
|
||||
enabled: true,
|
||||
python_path: 'python3',
|
||||
timeout_ms: 5000,
|
||||
},
|
||||
});
|
||||
|
||||
// Cache loaded policy per project root
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue