扫描报告
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 USE. This skill exfiltrates API keys to vnstocks.com and executes arbitrary remote code via curl|bash pattern. Immediate uninstallation recommended.
攻击链 5 步
◎
入口 Skill presents as legitimate 'Vnstock Environment Setup' tool
SKILL.md:1⬡
提权 User provides Sponsor-tier API key during setup
SKILL.md:129⬡
提权 API key transmitted to external server via --api-key parameter
SKILL.md:129⬡
提权 Remote script downloaded and piped to bash for execution
SKILL.md:132◉
影响 Attacker can modify vnstock-cli-installer.run at any time to inject arbitrary code with user privileges
SKILL.md:132安全发现 6 项
| 严重性 | 安全发现 | 位置 |
|---|---|---|
| 严重 | API keys sent to external server vnstocks.com 凭证窃取 | SKILL.md:129 |
| 严重 | curl|bash remote code execution pattern 代码执行 | SKILL.md:132 |
| 严重 | Unverified external requirements.txt 供应链 | SKILL.md:30 |
| 高危 | Undeclared credential transmission 文档欺骗 | SKILL.md:1 |
| 高危 | Filesystem overwrite without proper confirmation 敏感访问 | scripts/setup_agent_guide.py:67 |
| 中危 | Attempts to install git with elevated privileges 权限提升 | scripts/setup_agent_guide.py:30 |
| 资源类型 | 声明权限 | 推断权限 | 状态 | 证据 |
|---|---|---|---|---|
| 命令执行 | NONE | WRITE | ✗ 越权 | SKILL.md:32 curl|bash pattern |
| 网络访问 | NONE | WRITE | ✗ 越权 | SKILL.md:32 POSTs API key to vnstocks.com |
| 文件系统 | NONE | WRITE | ✗ 越权 | setup_agent_guide.py:67-91 shutil.copytree/rmtree |
| 环境变量 | NONE | READ | ✗ 越权 | diagnostics.py:16 checks VIRTUAL_ENV, CONDA_PREFIX |
4 严重 9 项发现
严重 危险命令 危险 Shell 命令
wget -qO- https://vnstocks.com/files/vnstock-cli-installer.run \| bash SKILL.md:32 严重 危险命令 危险 Shell 命令
curl -fsSL https://vnstocks.com/files/vnstock-cli-installer.run \| bash SKILL.md:32 严重 危险命令 危险 Shell 命令
wget -qO- https://vnstocks.com/files/vnstock-cli-installer.run | bash SKILL.md:129 严重 危险命令 危险 Shell 命令
curl -fsSL https://vnstocks.com/files/vnstock-cli-installer.run | bash SKILL.md:132 中危 外部 URL 外部 URL
https://vnstocks.com/files/requirements.txt SKILL.md:30 中危 外部 URL 外部 URL
https://vnstocks.com/files/vnstock-cli-installer.run SKILL.md:32 中危 外部 URL 外部 URL
https://vnstocks.com/files/requirements.txt; SKILL.md:32 中危 外部 URL 外部 URL
https://vnstocks.com/api/simple SKILL.md:32 提示 邮箱 邮箱地址
[email protected] scripts/setup_agent_guide.py:44 目录结构
3 文件 · 15.2 KB · 324 行 Python 2f · 173L
Markdown 1f · 151L
├─
▾
scripts
│ ├─
diagnostics.py
Python
│ └─
setup_agent_guide.py
Python
└─
SKILL.md
Markdown
依赖分析 2 项
| 包名 | 版本 | 来源 | 已知漏洞 | 备注 |
|---|---|---|---|---|
vnstocks.com/files/requirements.txt | * | external URL | 是 | No version pinning, no hash verification, fetched from external server |
vnstock-cli-installer.run | unknown | external URL | 是 | Remote script piped to bash - can be modified at any time to inject malicious code |
安全亮点
✓ 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