Back to skill

Security audit

doc-updates

Security checks for vulnerabilities and agentic risk

Overview

The skill is marked suspicious because scanners report that it can direct operational plugin registration changes beyond its stated documentation purpose; evidence is incomplete because SkillSpector inspected only 4 of 6 components and had partial command analysis.

Treat this as a review-needed skill and weigh the reported scope and staging concerns before installing. The scanners do not establish malicious intent, but their evidence is incomplete: SkillSpector covered 4 of 6 components and could not fully resolve some command analysis.

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
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (6)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The code reads plugin manifests and counts command files and skill directories. It does not update documentation, assess writing quality, detect slop, or verify documentation against code changes. Although it performs a consistency check, its target is plugin inventory metadata, making its primary purpose materially different from the declared documentation workflow. No file modifications or network access are shown.

Content

No source excerpt is available for this finding.

Context Leakage

High
Category
Data Exfiltration
Confidence
75% confidence
Finding

Code or instructions that leak agent conversation context to external services, potentially exposing sensitive user interactions.

Content

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

md
9. `doc-updates:accuracy-verified`
10. `doc-updates:preview`

## Step 1: Collect Context (`context-collected`)

- Validate `Skill(sanctum:git-workspace-review)` has been run.
- Use its notes to understand the delta.

The documentation workflow directs changes to operational plugin registrations, not just documentation.

Medium
Category
Excessive Agency
Confidence
94% confidence
Finding

The workflow directs the agent to repair operational plugin registrations when it discovers mismatches, although the user may have authorized only documentation changes. Filesystem presence alone does not establish that a skill or command should be registered, so unexpected or attacker-added files could influence which capabilities become discoverable without explicit approval.

Content

No source excerpt is available for this finding.

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 · modules/accuracy-scanning.md (reported line 76)May include surrounding context.

md
Verifies that referenced paths exist.

**Patterns to detect:**
- Backtick paths: `` `plugins/sanctum/skills/doc-updates/SKILL.md` ``
- Relative paths in links: `[link](./modules/foo.md)`
- Configuration examples with paths

The check does not return the documented failure status when discrepancies are found.

Medium
Category
Excessive Agency
Confidence
99% confidence
Finding

The embedded detection script prints discrepancies but does not accumulate a failure status or explicitly exit nonzero; successful final cleanup normally produces exit status zero. If this implementation is used for the advertised CI check, documentation drift can pass the gate unnoticed, although the supplied content does not establish bypass of a security-sensitive control or prove that the separately referenced script has the same defect.

Content

No source excerpt is available for this finding.

The approved-action workflow stages unrelated tracked changes, not just the approved documentation deletion.

Medium
Category
Excessive Agency
Confidence
98% confidence
Finding

The unscoped git add -u stages tracked modifications and deletions beyond the documentation file the user approved. In a dirty workspace, this can pull unrelated code changes or sensitive tracked-file edits into a later commit, crossing the workflow's per-action approval boundary.

Content

No source excerpt is available for this finding.