Back to skill

Security audit

skill-authoring-standard

Security checks for vulnerabilities and agentic risk

Overview

The verdict is benign with medium confidence: the completed AIG scan reported no findings, while Skillspector raised two findings judged expected for purpose; its analysis was partial because two references in SKILL.md could not be resolved.

The verdict is benign, but confidence is medium and Skillspector coverage is partial: two local references in SKILL.md were unresolved. Before installing, consider whether the skill’s file access fits your needs and check that its permissions are appropriate in your host environment.

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
  • Rogue AgentSelf-Modification, Session Persistence
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • 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)

Session Persistence

Medium
Category
Rogue Agent
Confidence
60% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

Scanner excerpt · README.md (reported line 35)May include surrounding context.

bash
# 1. Copy the template into your skills directory
mkdir -p ~/.zcode/skills/<your-skill>
cp assets/SKILL.template.md ~/.zcode/skills/<your-skill>/SKILL.md

# 2. Fill in the six steps, then add eval cases

Session Persistence

Medium
Category
Rogue Agent
Confidence
60% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

Scanner excerpt · README.md (reported line 39)May include surrounding context.

md
cp assets/SKILL.template.md ~/.zcode/skills/<your-skill>/SKILL.md

# 2. Fill in the six steps, then add eval cases
mkdir -p ~/.zcode/skills/<your-skill>/eval
cp assets/eval-cases.template.md ~/.zcode/skills/<your-skill>/eval/cases.md

# 3. Run the audit gate

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

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.