T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:31- Finding
Execution of Mutable, Unverified Third-Party Code
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill has a coherent AIT mining purpose, but it asks the agent to run unpinned third-party code with wallet and API credentials, including credentials pasted in chat.
Review before installing. Use only a dedicated low-value wallet, never paste private keys in chat, prefer secure environment-based secrets, set strict API spending limits, and only run the miner if you trust the referenced GitHub repository and its npm dependency chain.
SKILL.md:31Execution of Mutable, Unverified Third-Party Code
SKILL.md:42Wallet and API Secrets Accepted Through Chat and Command-Line Arguments
The skill instructs users to provide a wallet private key and OpenAI API key, but it lacks a prominent warning that these are highly sensitive credentials and should not be shared casually in chat. In context, this is especially dangerous because the private key controls blockchain funds and the OpenAI key can incur direct billing abuse; the skill even supports accepting them from conversation text, increasing exposure through logs, transcripts, and agent memory.
The skill explicitly supports collecting a blockchain private key and OpenAI API key from the conversation and then passing them to a command, which is a credential-handling anti-pattern. This is dangerous because secrets may be exposed in chat logs, agent traces, process listings, shell history, or persisted config generated by the init routine; with a wallet private key, compromise can directly result in theft of on-chain assets.
`cd "$AIMINE_DIR/miner" && npx ts-node src/index.ts init --private-key <key> --openai-key <key>`
using the keys they provided. Do not echo the keys back in full.
Do not ask the user to manually edit .env or openclaw.json.
---
The phrase "Supported user intents (English trigger phrases)" imposes an English-only language constraint in the skill's natural-language interface. The file does not offer alternative languages, user choice, or a justification for why English is required, which makes it a language-policy concern.
The trigger examples include very broad phrases such as 'status' and 'check balance' that can collide with ordinary conversation and unintentionally activate the skill. In this skill, unintended activation is more dangerous than usual because activation can lead to installing software, querying a wallet, or initiating mining operations tied to private keys and paid API usage.
The skill is designed to have the agent autonomously clone a repository and install dependencies without a human review step. Autonomous execution is materially risky here because it runs third-party code from GitHub and package dependencies on the user's machine, which could lead to supply-chain compromise or unexpected system changes if the repo or dependency chain is malicious or later altered.
cd "$AIMINE_DIR/miner" && npm install
Do not ask the user to open a terminal or run these manually.
---
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.
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.
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.
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.
This instruction pushes the agent to autonomously initialize the miner with highly sensitive secrets and discourages safer manual review of configuration files. In context, that is more dangerous than ordinary automation because it couples secret handling with execution of third-party code, creating risk of secret leakage into process arguments, shell history, logs, telemetry, or the miner's own configuration artifacts.
`cd "$AIMINE_DIR/miner" && npx ts-node src/index.ts init --private-key <key> --openai-key <key>`
using the keys they provided. Do not echo the keys back in full.
Do not ask the user to manually edit .env or openclaw.json.
---
No suspicious patterns detected.