Back to skill

Security audit

Self-Criticism

Security checks for vulnerabilities and agentic risk

Overview

This skill is a disclosed local workflow aid for adding self-critique checkpoints and keeping small local notes, with no evidence of exfiltration, hidden execution, or privilege escalation.

Install this if you want the agent to keep local self-critique preferences across sessions. Review what is written under ~/self-criticism/ and only approve SOUL or AGENTS edits if you want this workflow steering added to a workspace.

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
  • 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
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (6)

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
- modifies its own `SKILL.md`

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The activation condition 'when another skill asks for a critique layer' and use when the directory is 'missing or empty' are broad enough that this skill may trigger in situations the user did not clearly intend. Because the skill also performs durable memory writes and workflow steering, ambiguous invocation increases the chance of unanticipated state changes and persistence.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The skill directs saving preferences and lessons to both main memory and local files without an explicit user-facing notice that durable storage will occur. This can lead to silent retention of behavioral preferences, friction history, or workflow lessons that the user may not expect to persist across sessions.

Content

No source excerpt is available for this finding.

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
80% confidence
Finding

Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Content

Scanner excerpt · setup.md (reported line 85)May include surrounding context.

bash
mkdir -p ~/self-criticism/archive
touch ~/self-criticism/{memory.md,checkpoints.md,incidents.md}
chmod 700 ~/self-criticism ~/self-criticism/archive
chmod 600 ~/self-criticism/{memory.md,checkpoints.md,incidents.md}

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
80% confidence
Finding

Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Content

Scanner excerpt · setup.md (reported line 86)May include surrounding context.

mkdir -p ~/self-criticism/archive touch ~/self-criticism/{memory.md,checkpoints.md,incidents.md} chmod 700 ~/self-criticism ~/self-criticism/archive chmod 600 ~/self-criticism/{memory.md,checkpoints.md,incidents.md}

text

If `~/self-criticism/memory.md` is empty, initialize it from `memory-template.md`.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The trigger families are intentionally broad and lack concrete thresholds, exclusions, or prioritization rules, which can cause inconsistent activation across agents and contexts. In a safety-relevant skill, this ambiguity can lead to critique firing too often and being ignored, or not firing when high-risk transitions occur, reducing the reliability of the safeguard.

Content

No source excerpt is available for this finding.