skills/jeremylongshore/tons-of-skills-marketplace/detecting-command-injection-patterns/Gen Agent Trust Hub
detecting-command-injection-patterns
Pass
Audited by Gen Agent Trust Hub on Sep 9, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill's primary function is to ingest and analyze untrusted source code, creating a potential vector for indirect prompt injection.
- Ingestion points: The
scan_filefunction withinscripts/scan_cmdi.pyreads the text content of files in a target directory to perform regex matching. - Boundary markers: There are no explicit boundary markers or instructions to ignore embedded prompts when the tool extracts and reports snippets of code to the agent.
- Capability inventory: The skill is configured with access to
Read,Bash(python3:*),Glob, andGreptools. - Sanitization: The tool performs regex-based scanning and does not execute the ingested code; however, it does not sanitize or filter the content of findings which are then processed by the agent's context.
Audit Metadata