case-study
Warn
Audited by Gen Agent Trust Hub on Nov 7, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The
casestudy.pyscript dynamically loads an external Python module (board.py) from a relative path (../market-researcher/) usingimportlib.util. This creates a runtime dependency on code outside the skill's own directory. - [COMMAND_EXECUTION]: The skill's CLI interface permits specifying an arbitrary output path via the
--outargument and a data file path via the--fileargument. This capability could be exploited to read or overwrite sensitive files if the agent is provided with malicious parameters. - [INDIRECT_PROMPT_INJECTION]: The skill processes potentially untrusted external data (customer quotes and success metrics) and interpolates them directly into markdown files without sanitization or boundary markers. This creates a surface for indirect prompt injection if the resulting files are later consumed by the agent.
- Ingestion points: CLI arguments
--before,--after,--source,--quote, and--quote-byincasestudy.py. - Boundary markers: Absent; the generated markdown does not use delimiters or warnings to isolate external content.
- Capability inventory: The skill has the ability to write to the filesystem (
write_file) and read from it (B.load). - Sanitization: None; input strings are directly formatted into the output markdown template.
Audit Metadata