ai-pentesting
Pass
Audited by Gen Agent Trust Hub on Oct 26, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses
subprocess.runin a Python script andnpxcommands in the instructions to execute various external security tools likenmap,subfinder, andnuclei. This behavior is essential to the skill's purpose of automating security assessments. - [EXTERNAL_DOWNLOADS]: The instructions include running
npx @keygraph/shannon@latest, which fetches and executes code from the NPM registry. This is a standard mechanism for utilizing developer and security CLI tools. - [INDIRECT_PROMPT_INJECTION]: The provided Python script
ai_pentester.pyingests data from reconnaissance tools directly into LLM prompts to guide subsequent exploitation phases. While this presents an attack surface where malicious tool output could influence the agent's actions, the script mitigates this by using internal mapping logic to translate LLM decisions into specific tool handlers.
Audit Metadata