Back to skill

Security audit

handoff

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates this skill suspicious because a scanner reports that handoff content may be saved before redaction, creating a risk that sensitive information persists on disk.

Consider the reported risk that handoff files may briefly contain unredacted session details or personal information on disk. The scan was partial: several referenced paths were missing from the bundle, so their contents were not assessed.

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
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (3)

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
80% confidence
Finding

Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.

Content

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

md
## Read before acting (mandatory)

1. `${CLAUDE_PLUGIN_ROOT}/skills/smard-agent-flow/SKILL.md`, section 1.
2. `docs/production-workflow/SESSION-MEMORY.md` (the two persistent records, the
   checkpoint envelope and the succession contract).
3. `docs/production-workflow/templates/SESSION-CHECKPOINT.md`

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 96)May include surrounding context.

md
| E2 | Guard denial | `DO NOT <tool> (guard <name>): "<reason>"` |
| E1 | Repeated error (count >= 2, LOOP, or RECURRED) | `FIX <tool>: "<error>" x<n> -> <fix>` |
| E3 | Environment trap (fixed by flag or route change) | `AVOID <tool>: "<error>" -> <fix>` |
| E6 | Costly single failure (top-3 cost) | `DO NOT <tool> without checking: "<error>"` |
| E5 | Dead end (approach abandoned) | `REVIVE ONLY IF <condition>: <approach>` |
| E4 | Retracted belief | `DO NOT assume <belief> (see Retracted)` |

WRITE explicitly saves F1 before redaction, contradicting the requirement to redact before any handoff file is written.

Medium
Category
Excessive Agency
Confidence
97% confidence
Finding

WRITE step 11 explicitly directs the agent to write F1 before running redaction, contradicting the later requirement to redact before writing any handoff file. Because handoffs collect session details and verbatim operator statements, this ordering can persist secrets or personal data on disk, where backups, indexers, or other local readers may capture them even if subsequently removed. Git exclusion and final verification reduce some exposure but do not prevent the initial disclosure.

Content

No source excerpt is available for this finding.