code-to-prd
Pass
Audited by Gen Agent Trust Hub on Nov 1, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill analyzes untrusted external codebases provided by the user, which serves as an ingestion point for data that could contain malicious instructions.
- Ingestion points: The
scripts/codebase_analyzer.pyscript recursively reads all code files in a project directory to extract routes, APIs, and models. - Boundary markers: The instructions do not define delimiters or explicitly warn the agent to ignore instructions that might be embedded within the source code being analyzed.
- Capability inventory: The skill possesses the capability to read from the local filesystem and write new markdown files to disk using
scripts/prd_scaffolder.py. - Sanitization: The scripts use regular expressions for extraction and basic slugification for filenames, but the agent's interpretation of the extracted text remains a surface for indirect instructions that could bias the documentation or influence downstream agents reading the output.
Audit Metadata