Back to skill

Security audit

元造 yotta-skill-creator

Security checks for vulnerabilities and agentic risk

Overview

Private-mode scaffolds unexpectedly include a package-publishing workflow, contradicting the promise to exclude publishing files.

For private skills, remove the generated .github/workflows/publish.yml or use a corrected version before committing output to GitHub. The success message does not guarantee publishing automation is absent. Publication depends on later package, test, and authorization setup. Choose --agent or --dir, preview with --dry-run, and back up an existing installation before reinstalling.

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
  • 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 (23)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
96% confidence
Finding

The explicit self-use boundary is contradicted by the supplied generator: it filters the template directory name 'github' against an exclusion containing '.github', then maps that template into an active workflow path. This can leave publishing automation in a supposedly private scaffold; actual execution or publication depends on the workflow contents and subsequent repository use.

Content

No source excerpt is available for this finding.

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
d / README 中英四方式安装 / package.json / CHANGELOG / LICENSE / NOTICE / install.sh + bin/install.js / .gitignore / .npmignore / publish.yml / references / assets)+ 占

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
package.json / CHANGELOG.md / LICENSE(MIT) / NOTICE / install.sh + bin/install.js /

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
| `--skip-installer` | 不生成 install.sh / bin/install.js(并从 package.json 去掉 bin) |

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
python3 scripts/yotta_skill_creator.py create yotta-my-tool \

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
python3 scripts/yotta_skill_creator.py create yotta-private \

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
python3 scripts/yotta_skill_creator.py create yotta-tool2 \

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 · package.json (reported line 4)May include surrounding context.

json
enerator: validates naming (yotta- prefix / lowercase-hyphen / YuanX Chinese name / non-overwrite), renders a full release-compliant scaffold from an embedded template (SKILL.md, bilingual four-way-install README, package.json, CHANGELOG, LICENSE, NOTICE, install.sh + bin/install.js, .gitignore, .npmignore, publish.yml, references, assets), replaces placeholders and runs a structure self-check; --self-use mode generates only the skill body (SKILL.md / references / optional CLI) without any release artifacts. Triggers: creating a new yotta- skill, scaffolding a skill from scratch, or fixing release-standard pitfalls into a reusable template; or when the user says 元造 / 造技能 / 脚手架 / scaffold / 新建技能. Boundaries: it does not write skill content or script logic (SKILL.md body / scripts need manual development), does not pre-publish validate or release (that is yotta-publish-guard), and does not batch-migrate existing skill directories.",
  "license": "MIT",
  "keywords": [
    "agent-skills",

The standalone trigger “scaffold” can activate this skill outside YottaMeta skill creation.

Medium
Category
Trigger Abuse
Confidence
97% confidence
Finding

The description explicitly activates the skill when the user says “scaffold” or “脚手架”, without requiring a YottaMeta skill-creation context. These terms also apply to unrelated software scaffolding, so this alternative bypasses the narrower activation conditions earlier in the sentence.

Content

No source excerpt is available for this finding.

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
85% 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 · README.md (reported line 111)May include surrounding context.

text
# Optional China mirror: npm config set registry https://registry.npmmirror.com
npx -y @yottameta/yotta-skill-creator@0.1.7 --agent <agent-name>      # install to the agent's default user-level skills dir
npx -y @yottameta/yotta-skill-creator@0.1.7 --dir <your-skills-dir>   # point to the skills dir itself (e.g. ~/.codex/skills)

Standalone triggers “脚手架” and “scaffold” are broader than this skill’s yotta-specific creation scope.

Medium
Category
Trigger Abuse
Confidence
91% confidence
Finding

The description lists “脚手架” and “scaffold” as alternative invocation phrases without explicitly requiring a yotta-skill creation context. These terms also occur in unrelated software scaffolding requests, so they could activate this skill when its naming constraints and generated structure are inappropriate.

Content

No source excerpt is available for this finding.

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: env, file_read, file_write, shell.

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.

MCP server referenced without pinned version: 'npx -y @yottameta/yotta-skill-creator'.

Medium
Category
MCP Rug Pull
Confidence
70% confidence
Finding

npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.

Content

No source excerpt is available for this finding.

MCP server referenced without pinned version: 'npx -y @yottameta/yotta-skill-creator'.

Medium
Category
MCP Rug Pull
Confidence
70% confidence
Finding

npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.

Content

No source excerpt is available for this finding.

MCP server referenced without pinned version: 'npx -y @yottameta/yotta-skill-creator'.

Medium
Category
MCP Rug Pull
Confidence
70% confidence
Finding

npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.

Content

No source excerpt is available for this finding.

MCP server referenced without pinned version: 'npx -y @yottameta/yotta-skill-creator'.

Medium
Category
MCP Rug Pull
Confidence
70% confidence
Finding

npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.

Content

No source excerpt is available for this finding.

MCP server referenced without pinned version: 'npx -y @yottameta/yotta-skill-creator'.

Medium
Category
MCP Rug Pull
Confidence
70% confidence
Finding

npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.

Content

No source excerpt is available for this finding.

MCP server referenced without pinned version: 'npx -y @yottameta/yotta-skill-creator'.

Medium
Category
MCP Rug Pull
Confidence
70% confidence
Finding

npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.

Content

No source excerpt is available for this finding.

MCP server referenced without pinned version: 'npx -y @yottameta/yotta-skill-creator'.

Medium
Category
MCP Rug Pull
Confidence
70% confidence
Finding

npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.

Content

No source excerpt is available for this finding.

MCP server referenced without pinned version: 'npx -y @yottameta/yotta-skill-creator'.

Medium
Category
MCP Rug Pull
Confidence
70% confidence
Finding

npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.

Content

No source excerpt is available for this finding.

MCP server referenced without pinned version: 'npx skills'.

Medium
Category
MCP Rug Pull
Confidence
70% confidence
Finding

npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.

Content

No source excerpt is available for this finding.

Self-use mode does not exclude the publishing workflow, contrary to its explicit no-publishing-artifacts guarantee.

Medium
Category
Excessive Agency
Confidence
99% confidence
Finding

Self-use filtering examines the source top-level name 'github', but PUBLISH_TOP_LEVEL excludes '.github'; the later destination mapping therefore still emits '.github/workflows/publish.yml'. The self-check does not reject this artifact, allowing unexpected CI automation in a private scaffold, although actual publishing depends on the unseen workflow and later repository actions.

Content

No source excerpt is available for this finding.

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
85% 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 · template/README.md (reported line 42)May include surrounding context.

text
# Optional China mirror: npm config set registry https://registry.npmmirror.com
npx -y @yottameta/{{skill_name}} --agent <agent-name>      # install to the agent's default user-level skills dir
npx -y @yottameta/{{skill_name}} --dir <your-skills-dir>   # point to the skills dir itself (e.g. ~/.codex/skills)