Back to skill

Security audit

skill-creator

Security checks for vulnerabilities and agentic risk

Overview

This skill is mostly a coherent skill-authoring helper, but its bundled scripts have filesystem containment gaps that users should review before installation.

Install only if you are comfortable with a skill that can create local skill folders and package archives. Use trusted skill names and trusted source directories, avoid packaging untrusted skill trees or trees containing symlinks, and review generated archive contents before sharing.

Vulnerability Patterns
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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
Findings (2)

T09 · Insecure Skill Coding Practices

Warning
Location
scripts/init_skill.py:194
Finding

Skill Name Path Traversal Allows Writes Outside the Requested Destination

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Warning
Location
scripts/package_skill.py:69
Finding

Skill Packaging Follows File Symlinks and Can Disclose Files Outside the Skill Root

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Rogue AgentSelf-Modification, Session Persistence
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (10)

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The declared purpose describes an instructional or guidance-oriented skill for creating or updating skills. The supplied code does not provide guidance content or creation workflows; instead, it is an operational packaging utility that validates an existing skill folder and produces a distributable .skill file. This is a materially different primary purpose. The filesystem reads/writes and archive creation are also undeclared capabilities relative to the description.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The declared description says this skill is a guide for creating or updating skills. The supplied code instead implements a quick validator that reads files from disk and validates SKILL.md frontmatter and formatting rules. While validation could be tangentially related to skill creation, the primary behavior here is automated linting/verification, not guidance or workflow support for authoring skills. No dangerous extra permissions are present, but the core function is materially different from the declared purpose.

Content

No source excerpt is available for this finding.

Self-Modification

High
Category
Rogue Agent
Confidence
85% confidence
Finding

Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.

Content

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

md
1. Understand the skill with concrete examples
2. Plan reusable skill contents (scripts, references, assets)
3. Initialize the skill (run init_skill.py)
4. Edit the skill (implement resources and write SKILL.md)
5. Package the skill (run package_skill.py)
6. Iterate based on real usage

Self-Modification

High
Category
Rogue Agent
Confidence
85% confidence
Finding

Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.

Content

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

md
Any example files and directories not needed for the skill should be deleted. The initialization script creates example files in `scripts/`, `references/`, and `assets/` to demonstrate structure, but most skills won't need all of them.

#### Update SKILL.md

**Writing Guidelines:** Always use imperative/infinitive form.

Self-Modification

High
Category
Rogue Agent
Confidence
85% confidence
Finding

Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.

Content

Scanner excerpt · scripts/init_skill.py (reported line 266)May include surrounding context.

python
# Print next steps
    print(f"\n✅ Skill '{skill_name}' initialized successfully at {skill_dir}")
    print("\nNext steps:")
    print("1. Edit SKILL.md to complete the TODO items and update the description")
    print("2. Customize or delete the example files in scripts/, references/, and assets/")
    print("3. Run the validator when ready to check the skill structure")

Undeclared Tool Scope

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.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The description says the skill should be used when users want to create a new skill or update an existing skill, which is expansive and lacks negative examples or scope constraints. Because frontmatter description is the primary trigger, this broad phrasing could cause unintended invocation for loosely related conversations about capabilities or workflow design.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill instructs the agent to run initialization scripts that create directories and example files, but it does not require user confirmation or clearly warn about filesystem modification. In an agentic environment, this can lead to unexpected writes, clutter, overwriting of nearby files, or execution of local scripts without the user's informed consent.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
93% confidence
Finding

The packaging workflow creates distributable archives and may write artifacts to default or user-specified locations, but the skill gives no user-facing warning about outputs, overwrites, or disk effects. This can cause accidental artifact creation, confusion about where files were written, or unintended disclosure if packaged content is later shared.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Low
Category
Not specified by scanner
Confidence
95% confidence
Finding

The usage text states that skill names must be lowercase, hyphen-case, limited to 40 characters, and match the directory name exactly. However, after reading argv, the code passes the provided skill name directly into path construction and file generation without any validation, so the documented restrictions are not actually implemented.

Content

No source excerpt is available for this finding.