agent-security-scanning
Pass
Audited by Gen Agent Trust Hub on Sep 20, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [SAFE]: The skill provides defensive security auditing functionality, including static analysis patterns for common web and system vulnerabilities. The implementation uses standard Python libraries (re, dataclasses) to define detection signatures.
- [INDIRECT_PROMPT_INJECTION]: The skill functions by ingesting and analyzing untrusted code generated by AI agents. This creates a potential attack surface for indirect prompt injection if the scanned content contains instructions intended to mislead the agent performing the review. However, the logic is based on static pattern matching which provides a defensive layer against such vectors.
- Ingestion points: The
scan_filemethod processes thecontentof external files, andscan_agent_threatsprocessestool_callsdata. - Boundary markers: No specific delimiters are defined in the provided code snippet to separate untrusted code from the agent's instructions.
- Capability inventory: The scanner performs passive regex-based analysis and does not execute or evaluate the content it scans.
- Sanitization: The scanning logic itself serves as the primary sanitization and audit mechanism for the ingested data.
Audit Metadata