T08 · Insecure Dependencies
- Location
SKILL.md:10- Finding
Unpinned Global Installation of a Third-Party npm Package
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is a coherent MiniMax CLI helper, but it asks users to install an unpinned global npm package and shows an API key being passed on the command line.
Review this before installing. Prefer a pinned, verified `mmx-cli` version or a local/project-scoped install, avoid running npm with elevated privileges, and do not paste a live API key directly into a shared terminal or logged agent session. Use a safer authentication flow if the CLI supports it, check permissions on `~/.mmx/config.json`, and monitor MiniMax quota or billing after use.
SKILL.md:10Unpinned Global Installation of a Third-Party npm Package
SKILL.md:17API Key Exposed Through a Command-Line Argument
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
# Authenticate (get key from https://platform.minimax.io)
mmx auth login --api-key sk-xxxxx
# Verify
Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.
mmx text chat --message "prompt"
mmx text chat --model MiniMax-M2.7 --message "prompt" --stream
mmx text chat --system "You are a helpful assistant" --message "prompt"
mmx text chat --messages-file ./conversation.json --output json
The skill instructs users to pass an API key directly on the command line, which can expose the credential through shell history, process listings, terminal logs, or agent telemetry. While this is common in examples, omitting any warning or safer alternative creates a real credential-handling risk in an agent-oriented skill.
No suspicious patterns detected.