Back to skill

Security audit

Smart Money Miner

Security checks for vulnerabilities and agentic risk

Overview

This skill appears to do what it claims: analyze public crypto wallet trading data through external APIs and save a local results file.

Before installing, be comfortable with the skill sending token and wallet addresses to third-party crypto data APIs and saving detailed analysis to `smart_money_results.json`. Run it in a directory where that output file is acceptable, pin dependencies if you install them yourself, and use explicit prompts so the miner is invoked only for intended wallet-analysis tasks.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • 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 (1)

T08 · Insecure Dependencies

Note
Location
README.md:117
Finding
Unpinned Third-Party Dependency Allows Supply-Chain Substitution## Vulnerability Details **File Location**: `README.md:117-120` **Additional Location**: `CLAUDE.md:37` **Vulnerability Type**: Unpinned dependency without integrity verification **Risk Level**: Low ### Vulnerable Code Snippet ```markdown ## Dependencies ```bash pip install requests ``` ``` The same installation approach is also documented in `CLAUDE.md`: ```markdown Only dependency: `pip install requests` ``` The package is subsequently loaded by `scripts/miner.py:29`: ```python import requests ``` ### Technical Analysis The installation instructions retrieve the latest package matching the name `requests` from whichever Python package index is configured in the user's environment. The project does not provide a pinned version, lock file, verified artifact hash, or index restriction. Consequently, installation is not reproducible and does not cryptographically bind the dependency to a reviewed artifact. An attacker who compromises the configured package repository, a future package release, a package mirror, or dependency-resolution configuration could cause users to install code that was not included in this audit. This is a supply-chain weakness rather than evidence that the current `requests` package is malicious. The package name is legitimate and not a visible typosquat, so practical exploitation requires compromise or manipulation of dependency resolution. ### Attack Path 1. An attacker compromises a configured Python package index, mirror, package release, or the victim's dependency-resolution configuration. 2. The attacker makes a malicious or modified `requests` distribution the version selected by the unpinned installation command. 3. A user follows the documented command: ```bash pip install requests ``` 4. Malicious build hooks may execute during installation, or malicious package code executes when `scripts/miner.py` imports `requests`. 5. The payload runs with the privileges of the user executing `pip` or the miner. ### ...[truncated 719 chars]
Remediation
## Remediation Suggestions 1. Create a dependency file containing an explicitly reviewed version: ```text requests==<reviewed-version> ``` 2. Generate and verify hashes for the approved distribution, then require hash checking: ```text requests==<reviewed-version> \ --hash=sha256:<verified-distribution-hash> ``` Install it with: ```bash python -m pip install --require-hashes -r requirements.txt ``` 3. Pin all transitive dependencies as well, preferably through a reviewed lock file generated by a tool such as `pip-tools`. 4. Use the official Python Package Index or an organization-controlled repository explicitly configured with TLS and access controls. 5. Add automated dependency scanning and scheduled review of pinned versions so security updates can be adopted deliberately. 6. Update `README.md` and `CLAUDE.md` to reference the locked dependency installation procedure instead of `pip install requests`.
Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
Findings (12)

Natural-Language Policy Violations

Medium
Confidence
95% confidence
Finding
Line L84 states that code comments and print output are in Chinese, which imposes a specific language expectation. This is a natural-language policy concern because no user opt-in, alternative language option, or region-specific justification is provided in the file.

Lp3

Medium
Category
MCP Least Privilege
Confidence
94% confidence
Finding
The skill documents capabilities that imply network access plus file read/write behavior, but it does not declare any explicit tool scope or permissions boundaries. In an agent environment, that mismatch can lead to over-broad execution, unclear trust assumptions, and accidental invocation with more powerful tools than the skill actually needs.

Vague Triggers

Medium
Confidence
95% confidence
Finding
The trigger description contains broad phrases like finding profitable traders or good addresses, which could match ordinary market discussion and cause the skill to activate unexpectedly. Over-broad activation increases the chance that the agent performs networked data collection or analysis in contexts the user did not intend.

Vague Triggers

Medium
Confidence
91% confidence
Finding
The activation section is broad and lacks clear boundaries on when the skill should not run, especially for generic requests about profitable traders, token analysis, or address discovery. In context, this skill can trigger network access, file output, and downstream automation, so accidental activation is more dangerous than a purely informational skill.

Natural-Language Policy Violations

Medium
Confidence
95% confidence
Finding
This code file contains extensive user-facing natural-language text in Chinese in the module docstring and command output/help, while also presenting an English tool name and no explicit opt-in or language-selection mechanism. That can violate a language/locale policy requiring user choice rather than forcing a specific language.

Context-Inappropriate Capability

Medium
Confidence
88% confidence
Finding
The manifest scopes this skill to finding and filtering high-performing wallet addresses from token trading data. The Binance AI narrative lookup fetches descriptive token narrative text from a separate Binance endpoint, which is not necessary to identify profitable traders or mine smart-money addresses and introduces an unrelated enrichment capability.

Missing User Warnings

Medium
Confidence
91% confidence
Finding
The tool forwards user-provided wallet addresses and token contract addresses to multiple third-party services (OKX, PumpFun, Four Meme, Binance) without explicit warning in the CLI/help text. This can leak users' investigative targets, trading interests, or proprietary address lists to external providers, which is especially sensitive given the skill's purpose of mining profitable wallets and token opportunities.

Missing User Warnings

Medium
Confidence
89% confidence
Finding
The skill silently persists analysis output to `smart_money_results.json`, which can include user-supplied wallet addresses, derived trading intelligence, and linked source-token data. In shared machines, containers, CI runners, or agent environments, this creates an unintended local data-retention channel that may expose sensitive research or user inputs to other processes or users.

Description-Behavior Mismatch

Medium
Confidence
95% confidence
Finding
The manifest describes a skill for analyzing PumpFun, Four Meme, and BSC tokens, including BNB-chain smart-money discovery. In this file, every emitted address record is marked with "chain": "sol", so the produced output does not match the advertised BSC/BNB-chain-oriented scope and instead reflects Solana-focused results.

Missing User Warnings

Low
Confidence
88% confidence
Finding
This markdown file states that Claude will automatically invoke the skill, and later explains that results are saved to `smart_money_results.json`. For a skill description, file creation affecting the user's workspace should be disclosed as a user-facing warning or note so users understand that running it will write data locally.

Natural-Language Policy Violations

Low
Confidence
84% confidence
Finding
The Telegram bot integration example replies to users entirely in Chinese string literals, but the document does not state that language selection is user-configurable or based on user preference. This can violate language/locale policy because it implicitly fixes a language without opt-in.

Description-Behavior Mismatch

Low
Confidence
77% confidence
Finding
The manifest describes a skill for discovering and analyzing smart-money addresses, which implies data retrieval and filtering. This implementation also persists full results to local JSON files, creating a side effect not reflected in the manifest-level description; while plausible as an implementation detail, it is still broader than purely returning analysis results.

Static analysis

Detected: suspicious.dynamic_code_execution, suspicious.exposed_secret_literal, suspicious.insecure_tls_verification

Dynamic code execution detected.

Critical
Code
suspicious.dynamic_code_execution
Location
venv/lib/python3.12/site-packages/pip/_vendor/distlib/wheel.py:131

Dynamic code execution detected.

Critical
Code
suspicious.dynamic_code_execution
Location
venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__init__.py:91

Dynamic code execution detected.

Critical
Code
suspicious.dynamic_code_execution
Location
venv/lib/python3.12/site-packages/pip/_vendor/pyparsing/results.py:57

Dynamic code execution detected.

Critical
Code
suspicious.dynamic_code_execution
Location
venv/lib/python3.12/site-packages/pip/_vendor/typing_extensions.py:1251

File appears to expose a hardcoded API secret or token.

Critical
Code
suspicious.exposed_secret_literal
Location
venv/lib/python3.12/site-packages/pip/_internal/network/auth.py:93

File appears to expose a hardcoded API secret or token.

Critical
Code
suspicious.exposed_secret_literal
Location
venv/lib/python3.12/site-packages/pip/_vendor/requests/adapters.py:214

File appears to expose a hardcoded API secret or token.

Critical
Code
suspicious.exposed_secret_literal
Location
venv/lib/python3.12/site-packages/pip/_vendor/requests/sessions.py:323

File appears to expose a hardcoded API secret or token.

Critical
Code
suspicious.exposed_secret_literal
Location
venv/lib/python3.12/site-packages/pip/_vendor/urllib3/connection.py:423

File appears to expose a hardcoded API secret or token.

Critical
Code
suspicious.exposed_secret_literal
Location
venv/lib/python3.12/site-packages/pip/_vendor/urllib3/connectionpool.py:988

File appears to expose a hardcoded API secret or token.

Critical
Code
suspicious.exposed_secret_literal
Location
venv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/_securetransport/low_level.py:231

File appears to expose a hardcoded API secret or token.

Critical
Code
suspicious.exposed_secret_literal
Location
venv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/socks.py:102

File appears to expose a hardcoded API secret or token.

Critical
Code
suspicious.exposed_secret_literal
Location
venv/lib/python3.12/site-packages/requests/adapters.py:257

File appears to expose a hardcoded API secret or token.

Critical
Code
suspicious.exposed_secret_literal
Location
venv/lib/python3.12/site-packages/requests/sessions.py:322

File appears to expose a hardcoded API secret or token.

Critical
Code
suspicious.exposed_secret_literal
Location
venv/lib/python3.12/site-packages/urllib3/connection.py:807

File appears to expose a hardcoded API secret or token.

Critical
Code
suspicious.exposed_secret_literal
Location
venv/lib/python3.12/site-packages/urllib3/connectionpool.py:1073

File appears to expose a hardcoded API secret or token.

Critical
Code
suspicious.exposed_secret_literal
Location
venv/lib/python3.12/site-packages/urllib3/contrib/socks.py:116

HTTPS certificate verification is disabled.

Warn
Code
suspicious.insecure_tls_verification
Location
venv/lib/python3.12/site-packages/pip/_internal/network/session.py:304

HTTPS certificate verification is disabled.

Warn
Code
suspicious.insecure_tls_verification
Location
venv/lib/python3.12/site-packages/pip/_vendor/distlib/wheel.py:183

HTTPS certificate verification is disabled.

Warn
Code
suspicious.insecure_tls_verification
Location
venv/lib/python3.12/site-packages/pip/_vendor/truststore/_macos.py:353

HTTPS certificate verification is disabled.

Warn
Code
suspicious.insecure_tls_verification
Location
venv/lib/python3.12/site-packages/pip/_vendor/truststore/_windows.py:443

HTTPS certificate verification is disabled.

Warn
Code
suspicious.insecure_tls_verification
Location
venv/lib/python3.12/site-packages/pip/_vendor/urllib3/connection.py:454

HTTPS certificate verification is disabled.

Warn
Code
suspicious.insecure_tls_verification
Location
venv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/pyopenssl.py:113

HTTPS certificate verification is disabled.

Warn
Code
suspicious.insecure_tls_verification
Location
venv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/securetransport.py:795

HTTPS certificate verification is disabled.

Warn
Code
suspicious.insecure_tls_verification
Location
venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_.py:137

HTTPS certificate verification is disabled.

Warn
Code
suspicious.insecure_tls_verification
Location
venv/lib/python3.12/site-packages/urllib3/connection.py:951

HTTPS certificate verification is disabled.

Warn
Code
suspicious.insecure_tls_verification
Location
venv/lib/python3.12/site-packages/urllib3/contrib/pyopenssl.py:84

HTTPS certificate verification is disabled.

Warn
Code
suspicious.insecure_tls_verification
Location
venv/lib/python3.12/site-packages/urllib3/util/ssl_.py:353