resource-design
Pass
Audited by Gen Agent Trust Hub on Oct 1, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDATA_EXFILTRATION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill defines a system for creating resource handlers that process untrusted user parameters. 1. Ingestion point: Resource schemas in
src/resources/(e.g.,filenameparameter in Template E). 2. Boundary markers: Absent. 3. Capability inventory: Templates include file system access viafs/promises(readFile). 4. Sanitization: Absent; Template E demonstrates direct use of a user-provided string in a file path without validation against path traversal. - [DATA_EXFILTRATION]: The provided code templates facilitate reading from the local file system using user-controlled parameters. Template E in
references/patterns.mdreads content from a path constructed using a user-controlled parameter (filename) without proper validation, potentially allowing unauthorized access to files outside the intended directory via path traversal.
Audit Metadata