vulnerability-scanner

Pass

Audited by Gen Agent Trust Hub on Nov 13, 2026

Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The scripts/security_scan.py script executes the npm audit command to analyze project dependencies for known vulnerabilities. This is performed using subprocess.run with a static argument list and is scoped to the directory provided by the user.
  • [INDIRECT_PROMPT_INJECTION]: The skill analyzes untrusted data by reading files from a local project directory. This creates a vulnerability surface where malicious content within those files could attempt to influence the agent's behavior.
  • Ingestion points: scripts/security_scan.py reads the content of all files matching specific code and configuration extensions within the user-specified project path.
  • Boundary markers: The script returns its findings to the agent as structured JSON data, which provides some structural separation but does not prevent the agent from interpreting instructions found within string values.
  • Capability inventory: The skill environment permits the use of the Read, Glob, Grep, and Bash tools, providing a significant capability set if an injection were successful.
  • Sanitization: The script truncates code snippets to 80 characters, which may unintentionally cut off some injection attempts, but it lacks explicit sanitization or escaping of the content to prevent the agent from following embedded instructions.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 13, 2026, 01:31 AM