Back to skill

Security audit

虾皮个股舆情/公告/研报催化分析

Security checks for vulnerabilities and agentic risk

Overview

The skill is a coherent stock-news analysis workflow, but it repeatedly runs a mutable npm CLI with token access, which needs review before installation.

Review and pin a specific trusted `daxiapi-cli` version before using this skill. Use a minimally scoped, revocable DaxiAPI token, avoid printing token values into chat or logs, and run the CLI in a restricted environment if possible.

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

Error
Location
SKILL.md:45
Finding

Execution of an Unpinned npm Package Using the Mutable latest Tag

Content
View full analysis
npx daxiapi-cli@latest news sentiment -c -p 30 npx daxiapi-cli@latest news notice -c -p 20 -i 1 npx daxiapi-cli@latest news report -c -p 25 -i 1 -b -e ``` ### Technical Analysis The Skill instructs the Agent to execute `daxiapi-cli` through `npx` using the mutable `@latest` tag. When the package is not already available locally, `npx` can download and immediately execute package-controlled code. The package version executed during a future Skill invocation may therefore differ from the version available when the Skill was reviewed. The project provides no exact version constraint, lockfile, integrity hash, vendored dependency, or package-provenance verification. A malicious package update or compromised publisher account could consequently turn an otherwise legitimate command into arbitrary code execution. The dependency is also used for API-token configuration. A malicious release executing in that context could potentially access the supplied token, inherited environment variables, files readable by the invoking account, and available network resources. ### Attack Path 1. An attacker compromises the npm publisher account, package publication pipeline, or another component capable of publishing a new `daxiapi-cli` release. 2. The attacker publishes a malicious version and causes it to resolve through the `latest` distribution tag. 3. A user or Agent follows the Skill instructions and invokes an `npx daxi ...[truncated 1208 chars]
Remediation
View remediation
Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (7)

Rp1

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.

Rp1

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.

Rp1

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.

Rp1

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.

Rp1

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.

Rp1

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.

Rp1

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.