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.py script utilizes the subprocess module to execute the pdftotext system 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.py and reads case narratives in references/contract.md.
  • Boundary markers: Uses source: user and source: ai markers 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() and relative_to().
  • [EXTERNAL_DOWNLOADS]: The skill relies on standard third-party components, specifically the PyYAML library and the pdftotext utility, which are well-known and widely used tools in Python and Linux environments.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 18, 2026, 11:28 AM