Back to skill

Security audit

Ontology KG

Security checks for vulnerabilities and agentic risk

Overview

This is a disclosed local knowledge-graph memory skill; it persists structured notes and models credential references but does not access secrets or install executable code.

Install only if you want an agent to maintain a persistent local structured memory file. Keep writes explicit, review what is stored in the JSONL graph, and use placeholder secret references rather than real passwords, tokens, API keys, or recovery material.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
Findings (4)

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/schema.md (reported line 165)May include surrounding context.

forbidden_properties: [password, secret, token, key, api_key] properties: service: string secret_ref: string # Reference to secret store (e.g., "keychain:github-token") expires: datetime? scope: string[]?

text

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The activation guidance uses very broad natural-language triggers such as 'Remember that...' and 'What do I know about X?', which can match ordinary conversation and cause the skill to activate outside its intended scope. In an agent-memory skill, unintended activation can lead to unnecessary persistence, relation creation, or retrieval of structured memory when the user did not explicitly request use of the knowledge graph.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
84% confidence
Finding

The manifest describes a typed knowledge graph for structured agent memory with entities, relations, and constraints, but this schema explicitly models accounts, devices, and credentials, including secret-store references. While still data modeling rather than secret access, these capability definitions extend the skill into sensitive resource and credential inventory management that is not clearly justified by the manifest's narrow storage-focused description.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
84% confidence
Finding

The title and story text are presented in Chinese while other sections are in English, but the document does not state that the skill is intended for Chinese-speaking users or provide a language/locale choice. This can violate language/locale policy expectations when a skill implicitly forces a language without user opt-in.

Content

No source excerpt is available for this finding.