The skill allows command injection, poisons the
Claims to do
Ontology: A typed vocabulary + constraint system for representing knowledge as a verifiable graph.
Actually does
The skill executes `python3 scripts/ontology.py` commands to manage a local knowledge graph. It reads from and writes to `memory/ontology/graph.jsonl` for entity and relation data, and `memory/ontology/schema.yaml` for type definitions and constraints. It can create, query, link, and validate entities, and manage the schema.
openclaw skills install oswalpalash/ontologyThe skill explicitly executes `python3 scripts/ontology.py` with arguments derived from agent input. This allows for potential command injection if inputs are not properly sanitized, or execution of arbitrary code if the `ontology.py` script is replaced or modified.
python3 scripts/ontology.py create --type Person --props '{"name":"Alice","email":"alice@example.com"}'The skill explicitly states it 'reads/writes workspace files' and operates on local JSONL and YAML files. While intended for ontology data, this capability could be abused to read or write other sensitive files within the agent's workspace.
Runtime instructions operate on local files... The skill reads/writes workspace files
The `Credential` and `Account` entity types use `secret_ref` or `credential_ref` to point to external secrets. An attacker could manipulate these references within the ontology to redirect the agent to attacker-controlled secret stores or invalid references, potentially leading to credential harvesting or denial of service for secret access.
Credential: { service, secret_ref }
Account: { service, username, credential_ref? }The skill's primary function is to manage the agent's structured memory (ontology). An attacker can inject false entities, relations, or modify the schema to poison the agent's knowledge base, influencing its future reasoning and actions.
description: Typed knowledge graph for structured agent memory...
python3 scripts/ontology.py create --type Person --props '{...}'
python3 scripts/ontology.py schema-append --data '{...}'[](https://mondoo.com/ai-agent-security/skills/clawhub/oswalpalash/ontology)<a href="https://mondoo.com/ai-agent-security/skills/clawhub/oswalpalash/ontology"><img src="https://mondoo.com/ai-agent-security/api/badge/clawhub/oswalpalash/ontology.svg" alt="Mondoo Skill Check" /></a>https://mondoo.com/ai-agent-security/api/badge/clawhub/oswalpalash/ontology.svgSkills can read files, run commands, and access credentials. Mondoo helps organizations manage the security risks of AI agent skills across their entire fleet.