vulnerability-scanner
Pass
Audited by Gen Agent Trust Hub on Apr 15, 2026
Risk Level: SAFE
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/security_scan.pyutilizes thesubprocessmodule to executenpm audit. This is used to perform dependency vulnerability analysis as described in the skill's purpose. The command is invoked using a list of arguments, which is a standard security best practice to prevent shell injection. - [PROMPT_INJECTION]: The skill represents a surface for indirect prompt injection as it ingests and processes untrusted files from a user-provided project directory. Maliciously crafted content within those files (e.g., in code comments or metadata) could attempt to influence the agent's interpretation of scan results.
- Ingestion points: The
scripts/security_scan.pyscript reads file content from the local file system usingopen().read()andopen().readlines()in thescan_secretsandscan_code_patternsfunctions. - Boundary markers: Absent; the script reads file content directly for regex matching without specific delimiters to separate data from instructions.
- Capability inventory:
subprocess.run()is used inscripts/security_scan.pyto call external audit tools. - Sanitization: Absent; the script performs regex-based pattern matching but does not sanitize or escape the content of the files before including snippets in its JSON output report.
Audit Metadata