Back to skill

Security audit

Agent Optimizer by Drakon Systems

Security checks for vulnerabilities and agentic risk

Overview

ClawScan’s verdict is benign with medium confidence: scanners found no issues in the completed AIG scan, while Skillspector flagged agent configuration file references as a caution and its review was only partial.

The overall verdict is benign, but confidence is medium and Skillspector’s analysis is partial because several referenced paths were not bundled. Before installing, consider whether the skill should need to inspect agent configuration files, and review its stated access and data handling expectations.

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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (2)

Agent Config Directory Access

High
Category
Agent Snooping
Confidence
90% confidence
Finding

Skill reads from agent configuration directories (.claude/, .codex/, .gemini/). These directories may contain API keys, personal settings, and other credentials that the skill has no legitimate need to access.

Content

Scanner excerpt · SKILL.md (reported line 50)May include surrounding context.

md
- ~/.openclaw/cron/jobs.json
      - ~/.openclaw/exec-approvals.json
      - ~/.openclaw/workspace/ (skills, hooks, extensions scanned for patterns)
      - ~/.claude/settings.json and project .claude/settings.json
      - ~/.claude.json (MCP server config)
      - ~/.claude/CLAUDE.md and project CLAUDE.md
    network:

Agent Config Directory Access

High
Category
Agent Snooping
Confidence
90% confidence
Finding

Skill reads from agent configuration directories (.claude/, .codex/, .gemini/). These directories may contain API keys, personal settings, and other credentials that the skill has no legitimate need to access.

Content

Scanner excerpt · SKILL.md (reported line 96)May include surrounding context.

md
- `~/.openclaw/agents/*/agent/models.json` — legacy override detection
- `~/.openclaw/cron/jobs.json`, `~/.openclaw/exec-approvals.json` — stale dreaming jobs, old exec approvals
- OpenClaw workspace `skills/`, `hooks/`, `extensions/` — pattern-matched for billing/injection/obfuscation signatures
- Claude Code `~/.claude/settings.json` + project `.claude/settings.json` — permissions and hooks
- Claude Code `~/.claude.json` — MCP server config
- Claude Code `~/.claude/CLAUDE.md` + project `CLAUDE.md` — memory-file size and import checks