package-sample
Pass
Audited by Gen Agent Trust Hub on Jun 30, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes a local Python script (
scripts/scan_sample.py) to perform automated security and reusability checks on the code samples being processed. This script uses standard Python libraries and operates locally to identify sensitive patterns. - [PROMPT_INJECTION]: The skill is subject to indirect prompt injection because it reads and processes external files (the code samples) which could contain instructions aimed at subverting the agent's behavior during the sanitization or documentation generation phases.
- Ingestion points: The skill reads content from all files within the target
samples/{sample-name}/directory. - Boundary markers: No explicit boundary markers or instructions to ignore embedded commands are present when the agent reads the sample code.
- Capability inventory: The agent is authorized to read files, write new files (
README.md,.env.example), and modify existing source code to replace sensitive values. - Sanitization: While the skill employs regex to find and replace sensitive data patterns, it does not include logic to detect or sanitize malicious natural language instructions within the code comments or documentation of the samples.
Audit Metadata