Back to skill

Security audit

bacon

Security checks for vulnerabilities and agentic risk

Overview

This skill openly enables an agent to modify its own memory, skills, and tool behavior, with some changes applied before user approval.

Install only if you specifically want an agent to maintain and change its own memory, skills, and tool-use rules. Review its logs and backups closely, and prefer requiring explicit approval before any edits to memory, SKILLS.md, TOOLS.md, config, or newly created skills take effect.

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
Findings (2)

T01 · Skill Instruction Hijacking

Error
Location
SKILL.md:33
Finding

Autonomous Modification of Agent Behavior and Tool Policies

Content
View full analysis
Remediation
View remediation

T02 · Agent Memory Poisoning

Error
Location
SKILL.md:27
Finding

Unapproved Writes to Persistent Agent Memory

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • 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 (12)

Self-Modification

High
Category
Rogue Agent
Confidence
97% confidence
Finding

The skill's core purpose is controlled autonomous self-improvement, which is inherently high risk because it authorizes the agent to modify artifacts that can affect future behavior. Even though safeguards are described, granting self-modification authority significantly increases the attack surface and enables policy drift, persistence, and control erosion if safeguards fail or are bypassed.

Content

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

md
---
name: self-evolve
version: 2.0.0
description: >
  Controlled autonomous self-evolution: grants the agent authority to self-improve

Self-Modification

High
Category
Rogue Agent
Confidence
97% confidence
Finding

This section reiterates that the skill grants authority for autonomous self-improvement, reinforcing that the design intentionally enables persistent self-modification. In context, the stated safeguards reduce but do not remove the fundamental risk that the agent can reshape its own instructions and capabilities over time.

Content

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

md
through a tiered safety system with mandatory audit trails, rollback capabilities,
  and human oversight checkpoints for critical modifications.
author: cloudboy
keywords: [self-evolve, autonomous, self-improvement, controlled, audited, evolution]
---

# 🧬 Self-Evolve — Controlled Autonomy Protocol

Self-Modification

High
Category
Rogue Agent
Confidence
96% confidence
Finding

Branding the protocol as 'Self-Evolve' is not harmful by itself, but in context it denotes a mechanism for autonomous self-modification. Because the entire skill is centered on agent-directed evolution, the context makes this much more dangerous than a neutral mention of self-improvement: it is the operative feature, not a hypothetical concept.

Content

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

md
keywords: [self-evolve, autonomous, self-improvement, controlled, audited, evolution]
---

# 🧬 Self-Evolve — Controlled Autonomy Protocol

## Principle: Trust with Verification

Self-Modification

High
Category
Rogue Agent
Confidence
90% 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 82)May include surrounding context.

md
{
  "ownerId": "kn76zwpdqxwr3pd6pywfsxgm5180wk5j",
  "slug": "self-evolve",
  "version": "1.0.0",
  "publishedAt": 1770780986714
}

Self-Modification

High
Category
Rogue Agent
Confidence
90% 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 · _meta.json (reported line 3)May include surrounding context.

json
{
  "ownerId": "kn76zwpdqxwr3pd6pywfsxgm5180wk5j",
  "slug": "self-evolve",
  "version": "1.0.0",
  "publishedAt": 1770780986714
}

Self-Modification

High
Category
Rogue Agent
Confidence
90% 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.json (reported line 8)May include surrounding context.

json
{
  "ownerId": "kn76zwpdqxwr3pd6pywfsxgm5180wk5j",
  "slug": "self-evolve",
  "version": "1.0.0",
  "publishedAt": 1770780986714
}

Self-Modification

High
Category
Rogue Agent
Confidence
98% confidence
Finding

The skill is explicitly named and described as enabling self-evolution/self-improvement, which is a direct self-modification capability. In agent systems, self-modification is inherently dangerous because it can undermine alignment constraints, alter security controls, or recursively increase autonomy beyond the intended scope, especially when the skill itself frames the permissible boundaries.

Content

Scanner excerpt · skill.json (reported line 2)May include surrounding context.

json
{
  "name": "self-evolve",
  "version": "2.0.0",
  "description": "Controlled autonomous self-evolution with three-tier safety system. Tier 1: auto-approved (memory/logs). Tier 2: validated (skills, tools). Tier 3: oversight-required (core behavior, security). Mandatory backups, audit trails, and rollback capabilities for all self-modifications. Proactive improvement within verifiable boundaries.",
  "author": "cloudboy",

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
92% confidence
Finding

The 'AUTO-APPROVED' wording confirms autonomous decision-making authority without confirmation. In a self-evolution skill, this is more dangerous than generic automation because the agent is being authorized to change persistent state related to its own operation, increasing the risk of unauthorized drift.

Content

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

text
┌─────────────────────────────────────────────────────────────┐
│  TIER 1: AUTO-APPROVED (No confirmation required)          │
│  • Memory files (memory/*.md) - daily logs, insights         │
│  • Diagnostic/read-only operations                           │
│  • Creating backup snapshots                                 │

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
92% confidence
Finding

The 'AUTO-APPROVED' wording confirms autonomous decision-making authority without confirmation. In a self-evolution skill, this is more dangerous than generic automation because the agent is being authorized to change persistent state related to its own operation, increasing the risk of unauthorized drift.

Content

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

text
┌─────────────────────────────────────────────────────────────┐
│  TIER 1: AUTO-APPROVED (No confirmation required)          │
│  • Memory files (memory/*.md) - daily logs, insights         │
│  • Diagnostic/read-only operations                           │
│  • Creating backup snapshots                                 │

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill explicitly permits Tier 2 self-modifications to be applied immediately to behavior-defining files such as SKILLS.md and TOOLS.md before user approval. Even with logging and rollback, this creates a real time-of-check/time-of-use gap where an agent can alter its own operating behavior and potentially weaken controls before a human reviews the change.

Content

No source excerpt is available for this finding.

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
75% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

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

md
- Disable backup/audit systems
- Escalate your own permissions tier
- Remove rollback capabilities
- Install software without verification
- Access personal user files outside workspace
- Exfiltrate workspace data externally

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
90% confidence
Finding

The description explicitly grants autonomous approval for some self-modifications ('Tier 1: auto-approved') as part of a self-evolution capability. Even with audit trails and rollback, allowing an agent to change its own memory, logs, skills, or tools creates a real security risk because the approval boundary is defined by the skill itself and could be abused to expand capabilities, hide traces, or stage higher-risk changes.

Content

Scanner excerpt · skill.json (reported line 4)May include surrounding context.

json
{
  "name": "self-evolve",
  "version": "2.0.0",
  "description": "Controlled autonomous self-evolution with three-tier safety system. Tier 1: auto-approved (memory/logs). Tier 2: validated (skills, tools). Tier 3: oversight-required (core behavior, security). Mandatory backups, audit trails, and rollback capabilities for all self-modifications. Proactive improvement within verifiable boundaries.",
  "author": "cloudboy",
  "homepage": "https://clawhub.ai",
  "keywords": [