vulnerability-scanner

Pass

Audited by Gen Agent Trust Hub on Sep 5, 2026

Risk Level: SAFEPROMPT_INJECTIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONCREDENTIALS_UNSAFE
Full Analysis
  • [PROMPT_INJECTION]: The SKILL.md file contains a 'Verification-Before-Completion (VBC) Protocol' section that uses forceful language to override agent behavior. It explicitly forbids the agent from finalizing tasks without providing 'concrete evidence' such as terminal output or passing tests. This aggressive instruction set attempts to redefine the agent's operational boundaries.
  • [INDIRECT_PROMPT_INJECTION]: The skill presents a significant attack surface by design, as its primary purpose is to process and analyze untrusted external codebases.
  • Ingestion points: The scripts/security_scan.py script (lines 155, 203, 245) recursively walks through and reads the contents of all files in a user-provided project directory.
  • Boundary markers: The skill lacks explicit delimiters or instructions to treat the scanned code strictly as data, increasing the risk that the LLM will follow malicious instructions found within the code.
  • Capability inventory: The skill has access to allowed-tools (Read, Write, Edit) and its own scripts/security_scan.py which executes shell commands via subprocess.run (line 103).
  • Sanitization: There is no evidence of sanitization or filtering of the ingested code content before it is processed or output in snippets.
  • [COMMAND_EXECUTION]: The scripts/security_scan.py file utilizes subprocess.run to execute external commands. Specifically, it calls npm audit (line 103) to perform supply chain security checks. While targeting a well-known service, this demonstrates the capability to execute shell processes based on the state of the scanned directory.
  • [CREDENTIALS_UNSAFE]: The scan_secrets function in scripts/security_scan.py is designed to extract sensitive data from codebases, including AWS keys, Azure credentials, and Bearer tokens. While this is the intended functionality of a security scanner, it results in the exposure of discovered credentials within the agent's execution context and terminal output.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 5, 2026, 10:07 AM