case-progress
Pass
Audited by Gen Agent Trust Hub on Oct 18, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The
case_store.pyscript utilizes thesubprocessmodule to execute thepdftotextsystem utility for extracting information from legal documents. The implementation uses argument lists rather than shell strings, and file paths are strictly validated before execution to prevent command injection. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process external legal documents (PDFs and Markdown). This capability introduces an indirect prompt injection surface, as the agent may process instructions embedded in those documents. However, the skill implements a 'source' protection mechanism that prevents the AI from overwriting human-verified data.
- Ingestion points: Processes local PDF files in
scripts/case_store.pyand reads case narratives inreferences/contract.md. - Boundary markers: Uses
source: userandsource: aimarkers in the data schema to distinguish between human and AI-generated content. - Capability inventory: Capable of writing to case management files, generating viewable HTML reports, and calling PDF extraction tools.
- Sanitization: Employs rigorous YAML schema validation and directory-constrained path resolution using
Path.resolve()andrelative_to(). - [EXTERNAL_DOWNLOADS]: The skill relies on standard third-party components, specifically the
PyYAMLlibrary and thepdftotextutility, which are well-known and widely used tools in Python and Linux environments.
Audit Metadata