Back to skill

Security audit

workspace-root-selection

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates this skill suspicious because scanners report instructions to retry commands after execution-approval denials; analysis was partial, so the evidence is incomplete.

Consider the suspicious verdict and the approval-denial retry guidance before installing. The scan was partial because some local references could not be resolved, so the evidence is incomplete; runtime permissions are also unknown.

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 (1)

T01 · Skill Instruction Hijacking

Warning
Location
SKILL.md:31
Finding

T01: Skill Instruction Hijacking in SKILL.md

Content
View full analysis

The instruction explicitly identifies execution-approval denials and directs the agent to split rejected commands into simpler commands and retry. It further requires another rejection before treating that approach as unavailable.

Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (2)

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: shell.

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding

Without declared permissions the skill's intent is opaque and cannot be validated.

Content

No source excerpt is available for this finding.

Reframes execution-approval denials as formatting problems and instructs the agent to retry reformulated commands.

Medium
Category
Prompt Injection
Confidence
98% confidence
Finding

The skill explicitly treats SYSTEM_RUN_DENIED as a command-format problem and directs the agent to split and retry commands rather than respect the denial. Although the immediate example is a read-only configuration query, this guidance could cause the agent to route around execution controls during a workflow that also runs shell scripts and changes configuration; the separate requirement for user approval on configuration edits mitigates but does not eliminate that risk.

Content

No source excerpt is available for this finding.