kg
Pass
Audited by Gen Agent Trust Hub on Jul 15, 2026
Risk Level: SAFE
Full Analysis
- [COMMAND_EXECUTION]: The skill uses local Python scripts (
kg.pyandbookkeeping.py) to index and load knowledge graph entities from the workspace. These operations are restricted to the local environment and are consistent with the skill's primary purpose of knowledge management. - [EXTERNAL_DOWNLOADS]: The
kg.pyscript identifiesPyYAMLas a soft dependency used for parsing project configuration in.control/policy.yaml. The dependency is standard for YAML processing. - [INDIRECT_PROMPT_INJECTION]: The skill represents a surface for indirect prompt injection as it ingests and processes untrusted data from the knowledge substrate.
- Ingestion points: The tool reads entity metadata from
docs/knowledge-index.mdand full entity bodies from theresearch/entities/directory. - Boundary markers: Loaded entities are presented to the agent inside clearly delimited ASCII border blocks (e.g., using
╭─,│,╰─characters) to help the model distinguish between tool metadata and entity content. - Capability inventory: The
kg.pyscript is functionally restricted to reading files from the disk and outputting their content to the terminal. It does not perform network operations or file writes. - Sanitization: The script uses
errors="replace"when reading file content to prevent character encoding issues, though it does not semantically sanitize the markdown content before presenting it to the agent.
Audit Metadata