Back to skill

Security audit

scope-guard

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates this skill suspicious because scanners report GitHub publishing and repository changes beyond its stated feature-scoring purpose, including defaults that may disclose reasoning without approval.

Consider the suspicious verdict carefully before installing. The main reported risks are external GitHub changes and disclosure of feature details or full reasoning without affirmative approval. Skillspector reports complete coverage of the six listed components, with caveats for missing local path references; AIG completed with no findings, but that does not negate the specific Skillspector findings.

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
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (11)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

The supplied command performs a GitHub issue write rather than feature scoring or branch-size enforcement. Although commenting could support a broader review workflow, publishing reasoning-context links to GitHub is not disclosed in the description or permissions and constitutes an additional external-write capability.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
96% confidence
Finding

The skill makes external issue creation mandatory and Discussion publication the default, although its advertised purpose is local feature evaluation and branch discipline. This can cause an agent with GitHub credentials to publish proprietary feature information without explicit authorization of the destination and content.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
90% confidence
Finding

The commands perform persistent GitHub repository and issue mutations, which are not disclosed by the stated scoring and branch-limit purpose or the empty permissions declaration. Although deferred-issue labeling relates to backlog management, these external write operations are a distinct capability rather than merely an internal scoring implementation detail. The supplied chunk does not itself score features or enforce branch-size limits.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
88% confidence
Finding

The supplied chunk retrieves GitHub Discussions metadata rather than evaluating feature worthiness or enforcing branch-size limits. No connection between this metadata lookup and the declared checks is established, so the external resource access is an undeclared capability rather than a demonstrated supporting implementation detail. The query is read-only; it does not create or modify discussions.

Content

No source excerpt is available for this finding.

Defaults to publishing full reasoning context to a GitHub Discussion without affirmative approval.

High
Category
Data Exfiltration
Confidence
99% confidence
Finding

The instruction treats failure to decline as permission to publish full reasoning context. Silence does not establish authorization to disclose potentially sensitive deliberations to everyone with access to the GitHub repository.

Content

No source excerpt is available for this finding.

Mandatory GitHub issue creation lacks a warning about external disclosure of feature information.

Medium
Category
Output Handling
Confidence
96% confidence
Finding

Deferral is blocked until a GitHub issue exists, with no sensitivity check or publication approval at this step. This can push an agent to transmit internal feature information to a repository whose audience the user has not approved.

Content

No source excerpt is available for this finding.

The skill directs default publication of full reasoning to GitHub Discussions, beyond feature scoring and branch-limit enforcement.

Medium
Category
Excessive Agency
Confidence
98% confidence
Finding

The workflow expands feature evaluation into external publication of full reasoning context and proceeds unless the user explicitly declines. Evaluation discussions can contain confidential plans or security details, making this default materially riskier than local scope scoring.

Content

No source excerpt is available for this finding.

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
80% 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 · modules/branch-management.md (reported line 87)May include surrounding context.

md
### Hook: pre-pr-scope-check

Automatically runs before PR creation:
1. Check all threshold metrics
2. Warn on Yellow, block on Red (configurable)
3. Require justification for Red zone branches

Automatic GitHub issue creation lacks a warning that feature and deferral context will be sent to GitHub.

Medium
Category
Output Handling
Confidence
94% confidence
Finding

A low score directly triggers GitHub issue creation to preserve deferral context, without a sensitivity review or explicit publication approval. Feature prioritization can involve confidential plans, and this instruction moves that information outside the local workspace.

Content

No source excerpt is available for this finding.

The workflow sends feature details and decision context to GitHub without warning about sensitive information or repository visibility.

Medium
Category
Output Handling
Confidence
96% confidence
Finding

The required capture command includes the feature name, scoring breakdown, and deferral rationale in a workflow expressly intended to create GitHub issues. No approval or repository-visibility check precedes this external disclosure, so sensitive planning information may reach an unintended audience.

Content

No source excerpt is available for this finding.

Defaults to publishing full reasoning context without affirmative approval of the expanded disclosure.

Medium
Category
Data Exfiltration
Confidence
99% confidence
Finding

The module defaults to publishing a Discussion containing extended reasoning, alternatives, and background unless the user explicitly declines. The authenticated mutation makes this a concrete disclosure path, potentially exposing confidential deliberations beyond what an issue summary requires.

Content

No source excerpt is available for this finding.