ontology
Pass
Audited by Gen Agent Trust Hub on Jun 13, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The
lib/entity_resolver.pyfile usessubprocess.runto invoke theripgrep(rg) utility for searching entity references. Evidence: The skill executessubprocess.runwith a list of arguments andshell=False(default). Context: The search query is rigorously sanitized using a regex allow-list (alphanumeric and limited symbols) and is passed toripgrepwith the-Fflag (fixed string) to prevent regex injection attacks. - [EXTERNAL_DOWNLOADS]: The
lib/ontology_registry.pyfile includes functionality to fetch ontology definitions from remote URLs. Evidence: Theload_from_urlmethod usesurllib.request.urlopento download YAML content. Context: The implementation restricts allowed URL schemes tohttpandhttpsand processes the downloaded content usingyaml.safe_load, which prevents the execution of arbitrary Python objects during parsing. - [PROMPT_INJECTION]: The skill's entity indexing mechanism processes memory files (
*.memory.md), which constitutes an indirect prompt injection surface. Ingestion points:lib/entity_resolver.pyreads the content of memory files during indexing. Boundary markers: Boundary markers (delimiters) are absent in the processing logic for memory content. Capability inventory: The skill's capabilities include executing shell commands viaripgrepand performing standard file operations. Sanitization: Frontmatter content is parsed usingyaml.safe_loadto ensure that data structures are handled safely.
Audit Metadata