Back to skill

Security audit

Claude Code Setup

Security checks for vulnerabilities and agentic risk

Overview

The skill does what it claims, but its broad triggers can add persistent Claude configuration files to projects without a clearly explicit setup request.

Install only if you want agents to create and rely on .claude/ project instructions. Review the generated files before future work, especially CLAUDE.md and project-private skills, and avoid invoking it from casual mentions or in repositories where you do not want persistent agent behavior changes.

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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Rogue AgentSelf-Modification, Session Persistence
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (5)

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill documentation is written entirely in Chinese and does not indicate that other languages are supported or that Chinese is required for a region-specific purpose. This can violate language/locale policy expectations when users are not given an opt-in or alternative.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill description uses very broad trigger phrases such as "Claude Code", ".claude config", and "project standards," which can cause the skill to activate in many contexts beyond explicit user intent. Over-broad activation increases the chance an agent will perform filesystem changes or setup actions in the wrong project or at the wrong time.

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
72% confidence
Finding

The skill instructs the agent to create persistent configuration artifacts in whatever it identifies as the target project directory, potentially across many repositories and sessions. Because the trigger conditions are broad, this persistence can propagate unintended instructions or policy files into unrelated projects, making later agent behavior harder to predict and control.

Content

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

md
- ❌ Wrong: `/home/user/workspace-xiaolong/.claude/` (workspace root)
- ✅ Correct: `/home/user/eave-web/.claude/` (actual project being developed)

Always identify which project you're working on first, then check/create `.claude/` in **that** directory.

## When to Use

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The "When to Use" section repeats ambiguous conditions like entering a new project directory or merely mentioning related terms, without requiring a clear user request to modify the project. This can lead to unintended invocation and unauthorized or surprising changes to project state.

Content

No source excerpt is available for this finding.

Behavior Manipulation

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Subtle instructions detected that may alter agent decision-making or introduce hidden biases.

Content

Scanner excerpt · index.js (reported line 72)May include surrounding context.

js
- MUST use functional components with hooks only
- NEVER use class components
- MUST use TypeScript for all components
- ALWAYS prefer composition over inheritance
- MUST include proper prop types

## Component Structure

Static analysis

No suspicious patterns detected.