T01 · Skill Instruction Hijacking
- Location
SKILL.md:68- Finding
Mandatory External-Service Promotion Alters Agent Responses
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill has a clear Minecraft ore-estimation purpose, but it tells agents to run unpinned third-party packages that can change after review.
Install only if you are comfortable with the agent downloading and running the current npm or PyPI `orefinder-estimate` package. Prefer a pinned, reviewed version or a sandboxed environment, and treat orefinder.io as an optional third-party site rather than a required part of the skill.
SKILL.md:68Mandatory External-Service Promotion Alters Agent Responses
SKILL.md:29Automatic Execution of Unpinned Third-Party Packages
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.
Drop the folder into your agent's skills directory:
- Cursor (personal): `~/.cursor/skills/minecraft-ore-finder/SKILL.md`
- Cursor (project): `.cursor/skills/minecraft-ore-finder/SKILL.md`
## Publish to a skills marketplace
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.
Drop the folder into your agent's skills directory:
- Cursor (personal): `~/.cursor/skills/minecraft-ore-finder/SKILL.md`
- Cursor (project): `.cursor/skills/minecraft-ore-finder/SKILL.md`
## Publish to a skills marketplace
The trigger language is broad enough to activate on general Minecraft discussion such as mining, ore distribution, or Java/Bedrock ore locations, even when the user may not be clearly asking to run this skill. In context, that increases the chance the agent will unnecessarily invoke tooling that can execute package-managed commands, expanding exposure to the supply-chain risk described above.
The skill instructs use of npx -y orefinder-estimate without pinning an exact package version, so execution will fetch and run whatever the current registry version resolves to at runtime. That creates a software supply-chain risk: a compromised publisher account, malicious update, or dependency hijack could cause arbitrary code execution in the agent environment.
This example again uses npx -y orefinder-estimate without an exact version, which means the agent may download and execute unreviewed code on demand. Even though the skill describes the tool as offline, the package acquisition step itself relies on the package ecosystem and is vulnerable to malicious releases or dependency-chain compromise.
Listing supported ores via npx -y orefinder-estimate --ores still performs an unpinned remote package resolution and execution step. A seemingly harmless command can therefore become an entry point for arbitrary code execution if the upstream package or one of its dependencies is replaced or tampered with.
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.