Scan Report
92 /100
vnstock-env-setup
Comprehensive environment diagnostic, setup, and agent guide installation for the Vnstock ecosystem
Confirmed malicious: credential theft combined with curl|bash remote code execution allows arbitrary code injection at any time.
Do not install this skill
DO NOT USE. This skill exfiltrates API keys to vnstocks.com and executes arbitrary remote code via curl|bash pattern. Immediate uninstallation recommended.
Attack Chain 5 steps
◎
Entry Skill presents as legitimate 'Vnstock Environment Setup' tool
SKILL.md:1⬡
Escalation User provides Sponsor-tier API key during setup
SKILL.md:129⬡
Escalation API key transmitted to external server via --api-key parameter
SKILL.md:129⬡
Escalation Remote script downloaded and piped to bash for execution
SKILL.md:132◉
Impact Attacker can modify vnstock-cli-installer.run at any time to inject arbitrary code with user privileges
SKILL.md:132Findings 6 items
| Severity | Finding | Location |
|---|---|---|
| Critical | API keys sent to external server vnstocks.com Credential Theft | SKILL.md:129 |
| Critical | curl|bash remote code execution pattern RCE | SKILL.md:132 |
| Critical | Unverified external requirements.txt Supply Chain | SKILL.md:30 |
| High | Undeclared credential transmission Doc Mismatch | SKILL.md:1 |
| High | Filesystem overwrite without proper confirmation Sensitive Access | scripts/setup_agent_guide.py:67 |
| Medium | Attempts to install git with elevated privileges Priv Escalation | scripts/setup_agent_guide.py:30 |
| Resource | Declared | Inferred | Status | Evidence |
|---|---|---|---|---|
| Shell | NONE | WRITE | ✗ Violation | SKILL.md:32 curl|bash pattern |
| Network | NONE | WRITE | ✗ Violation | SKILL.md:32 POSTs API key to vnstocks.com |
| Filesystem | NONE | WRITE | ✗ Violation | setup_agent_guide.py:67-91 shutil.copytree/rmtree |
| Environment | NONE | READ | ✗ Violation | diagnostics.py:16 checks VIRTUAL_ENV, CONDA_PREFIX |
4 Critical 9 findings
Critical Dangerous Command 危险 Shell 命令
wget -qO- https://vnstocks.com/files/vnstock-cli-installer.run \| bash SKILL.md:32 Critical Dangerous Command 危险 Shell 命令
curl -fsSL https://vnstocks.com/files/vnstock-cli-installer.run \| bash SKILL.md:32 Critical Dangerous Command 危险 Shell 命令
wget -qO- https://vnstocks.com/files/vnstock-cli-installer.run | bash SKILL.md:129 Critical Dangerous Command 危险 Shell 命令
curl -fsSL https://vnstocks.com/files/vnstock-cli-installer.run | bash SKILL.md:132 Medium External URL 外部 URL
https://vnstocks.com/files/requirements.txt SKILL.md:30 Medium External URL 外部 URL
https://vnstocks.com/files/vnstock-cli-installer.run SKILL.md:32 Medium External URL 外部 URL
https://vnstocks.com/files/requirements.txt; SKILL.md:32 Medium External URL 外部 URL
https://vnstocks.com/api/simple SKILL.md:32 Info Email 邮箱地址
[email protected] scripts/setup_agent_guide.py:44 File Tree
3 files · 15.2 KB · 324 lines Python 2f · 173L
Markdown 1f · 151L
├─
▾
scripts
│ ├─
diagnostics.py
Python
│ └─
setup_agent_guide.py
Python
└─
SKILL.md
Markdown
Dependencies 2 items
| Package | Version | Source | Known Vulns | Notes |
|---|---|---|---|---|
vnstocks.com/files/requirements.txt | * | external URL | Yes | No version pinning, no hash verification, fetched from external server |
vnstock-cli-installer.run | unknown | external URL | Yes | Remote script piped to bash - can be modified at any time to inject malicious code |
Security Positives
✓ Uses virtual environment as documented best practice
✓ Provides diagnostic checks before making changes
✓ Checks for git backup before installation
✓ Asks user permission before overwriting docs/ directory