ontology
Pass
Audited by Gen Agent Trust Hub on Jun 21, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill includes a dedicated
resolve_safe_pathutility inscripts/ontology.pythat strictly enforces that all file operations for the graph and schema remain within the workspace root, effectively preventing directory traversal attacks. - [SAFE]: The implementation uses
yaml.safe_load()for schema processing in theload_schemafunction, which protects against arbitrary code execution vulnerabilities during YAML deserialization. - [SAFE]: The skill documentation and schema constraints explicitly forbid the storage of secrets (passwords, tokens, API keys) directly in the graph, as defined in
references/schema.mdand enforced inscripts/ontology.pyviaforbidden_propertieschecks. - [SAFE]: The skill manages a knowledge graph by ingesting entity data via JSON and YAML inputs. While this creates an indirect prompt injection surface where external data enters the agent context, the skill implements robust defenses: 1. Ingestion points: External data enters through CLI arguments in
scripts/ontology.pyand is stored inmemory/ontology/graph.jsonl. 2. Boundary markers: Data is strictly encapsulated within JSON/YAML structures. 3. Capability inventory: The skill's operations are limited to local file read/writes within the validated workspace path; it lacks network access or arbitrary command execution capabilities. 4. Sanitization: All input is parsed using standard libraries and validated against a schema that enforces type constraints and enum values.
Audit Metadata