Back to skill

Security audit

metacognitive-self-mod

Security checks for vulnerabilities and agentic risk

Overview

The skill is rated suspicious because a scanner reports that trace capture may store sensitive workflow details without a privacy warning; review it before installing, with some scan coverage incomplete.

Consider the privacy implications before installing, especially whether workflow details could be sensitive if retained in local traces or derived insights. The scan was partial because several referenced local paths were missing from the artifact, so the evidence does not establish that all related behavior was reviewed.

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
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • Rogue AgentSelf-Modification, Session Persistence
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (3)

Self-Modification

High
Category
Rogue Agent
Confidence
85% confidence
Finding

Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.

Content

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

)

text

### Step 7: Update skill-improver strategy

If significant meta-insights are found, propose concrete
modifications to the skill-improver agent:

Self-Modification

High
Category
Rogue Agent
Confidence
85% confidence
Finding

Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.

Content

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

md
counts) sourced from `~/.claude/skills/improvement_memory.json`.
- [ ] At least one causal hypothesis is recorded under `skill_ref: "_meta"` in
  `improvement_memory.json` with cited evidence (skill refs and score deltas).
- [ ] Any Tier 3 strategy recommendation (modify skill-improver priority weights, add avoidance
  rules, adjust thresholds) is presented as a proposal requiring explicit user approval before
  any change is applied.
- [ ] If effectiveness rate is below 50% across 5+ outcomes, this condition is surfaced as the

Trace capture can persist sensitive workflow details without a privacy warning.

Medium
Category
Output Handling
Confidence
90% confidence
Finding

The capture policy automatically increases recording detail for underperforming skills and persists workflow targets, results, and decision rationales without specifying sensitive-data filtering or informed consent. These fields can expose confidential workflow information in local traces or persistent derived insights; local storage and retention limits reduce exposure but do not prevent sensitive-data collection.

Content

No source excerpt is available for this finding.