skill-doc-generator
Warn
Audited by Gen Agent Trust Hub on Feb 18, 2026
Risk Level: MEDIUMPROMPT_INJECTION
Full Analysis
- Obfuscation (MEDIUM): The skill README.md references compiled Python bytecode files in the
scripts/__pycache__/directory. Shipping pre-compiled.pycfiles is a security risk because they are binary and can contain logic that differs from the provided source code, allowing for hidden malicious behavior. - Indirect Prompt Injection (LOW): The skill is vulnerable to indirect prompt injection because it ingests and processes untrusted data from
SKILL.mdfiles to generate output documentation. - Ingestion points:
scripts/analyze_skill.pyreads content fromSKILL.mdfiles located in user-provided directories. - Boundary markers: Absent. The scripts do not use specific delimiters or instructions to ignore embedded commands within the ingested files.
- Capability inventory:
scripts/document_directory.pyandscripts/generate_readme.pyperform file-write operations to createREADME.mdandINDEX.mdfiles. - Sanitization: While the script correctly uses
yaml.safe_load()for metadata, it does not sanitize or escape the markdown body content before including it in the generated output.
Audit Metadata