grounded-rag-ingestion
Warn
Audited by Gen Agent Trust Hub on Aug 3, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The
scripts/chunk.pyscript performs dynamic module loading by modifyingsys.pathto import common client logic from a sibling skill directory. While this facilitates code reuse across the vendor's ecosystem, it relies on runtime path manipulation. - [COMMAND_EXECUTION]: The test suite in
scripts/test_chunk.pyutilizessubprocess.runto programmatically invoke thechunk.pyscript. This is used to validate CLI behavior and error handling within the testing environment. - [PROMPT_INJECTION]: The skill serves as a data ingestion gateway that processes document content for RAG. It does not implement sanitization or provide explicit boundary markers in its JSONL output, creating a potential surface for indirect prompt injection when the data is consumed by downstream LLMs.
- Ingestion points: Document content is read from local files by
scripts/chunk.pyand processed via API. - Boundary markers: The output format lacks delimiters or instructions to treat the extracted text as untrusted data.
- Capability inventory: The skill possesses capabilities for network communication, local file reading, and filesystem writing.
- Sanitization: Document text is extracted and emitted without transformation or escaping.
- [SAFE]: The skill adopts strong security measures for handling sensitive data, specifically using
os.O_NOFOLLOWto prevent symlink attacks and enforcing0600file permissions on output artifacts containing extracted document text.
Audit Metadata