topdesk-executive-narrative
Pass
Audited by Gen Agent Trust Hub on Nov 23, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The script
scripts/build_executive_narrative.pyprocesses findings from a user-supplied CSV file and interpolates the contents directly into the generatedexecutive-narrative.mdfile. If the source CSV contains malicious instructions designed to influence an AI agent, they could be executed when the agent subsequently reads or processes the generated narrative. - Ingestion points: The script reads a findings file via the
--findingscommand-line argument inscripts/build_executive_narrative.py. - Boundary markers: Absent. The values from the CSV fields (e.g.,
finding,evidence,recommended_action) are inserted directly into f-strings used to build the markdown output without delimiters or warnings to ignore embedded instructions. - Capability inventory: The script performs file system operations (creating directories and writing
.mdand.csvfiles) and standard data processing. It does not perform network operations or execute arbitrary system commands. - Sanitization: Absent. The script performs basic whitespace stripping but does not escape markdown syntax or sanitize the input strings for potential prompt injection patterns.
Audit Metadata