Back to skill

Security audit

Spec Brainstorm

Security checks for vulnerabilities and agentic risk

Overview

This skill is a bounded spec-writing workflow with disclosed local document creation and a git commit step, but no hidden code, network behavior, credential use, or destructive actions.

Before installing, be aware that this skill may read repository context, write a spec file under docs/specs, and create a git commit for that document. Review the generated spec and repository diff before allowing the write or commit if your environment treats commits as triggers for automation.

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
  • 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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (5)

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The skill advertises itself as producing a system-agnostic spec through collaborative dialogue, but its workflow includes repository-specific writes and version-control operations. This hidden side-effect expands the trust boundary from conversation-only assistance to persistent local and source-control modification, which can surprise users and automation.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill explicitly frames itself as ending at a written spec and not transitioning into other activities, yet later instructs the agent to write files and commit to git. That mismatch can cause users and downstream systems to grant broader permissions than expected or perform repository mutations under a misleading, low-risk label.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill directs the agent to write a file and commit it without an explicit warning or fresh consent at the point of mutation. In practice, this can lead to silent filesystem and repository changes that users did not realize would occur, especially because the skill is presented as a brainstorming/specification aid rather than a modifying tool.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

Automatic git commits are not necessary to brainstorm or draft a spec, so embedding them in the skill creates unnecessary capability and risk. A commit can permanently record unwanted content, trigger CI/CD or policy hooks, and make accidental changes harder to notice or undo in agentic workflows.

Content

No source excerpt is available for this finding.

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 · references/spec-reviewer.md (reported line 74)May include surrounding context.

md
**Only fix issues that would cause real problems downstream.**

A downstream planning system acting on this spec should be able to:
- Understand what to build without asking the user again
- Decompose requirements into tasks
- Know what's in scope and what's not
- Understand the constraints they're working within

Static analysis

No suspicious patterns detected.