T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:14- Finding
Unverified Remote Installer Is Piped Directly into a Shell
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill has a coherent Amazon-search purpose, but its implementation uses unsafe browser automation, cookie handling, and shell execution patterns that need review before installation.
Review carefully before installing. Run it only in an isolated, unprivileged environment, avoid using it while logged into Amazon, do not pass untrusted keywords or proxy values, and clear `cache/sessions`, `resultscache`, `results`, and image caches after use. Prefer a version that removes `curl | bash`, uses non-shell process spawning, keeps Chromium sandbox/security defaults, and avoids printing or persisting cookies.
SKILL.md:14Unverified Remote Installer Is Piped Directly into a Shell
scripts/amazon_search.ts:8Shell Command Injection Through the Search Keyword
scripts/amazon_search.ts:10Shell Command Injection Through the Proxy Environment Variable
scripts/playwright_search.ts:174Chromium Sandbox and Same-Origin Security Are Explicitly Disabled
scripts/playwright_search.ts:86Amazon Session Cookies Are Persisted in Plaintext Files
The documented purpose understates behaviors such as child-process execution, proxy configuration, image downloading, and cache deletion. This is dangerous because users and orchestrators may approve the skill based on an incomplete trust model, while the skill can perform broader filesystem and network actions than advertised.
The documented purpose understates behaviors such as child-process execution, proxy configuration, image downloading, and cache deletion. This is dangerous because users and orchestrators may approve the skill based on an incomplete trust model, while the skill can perform broader filesystem and network actions than advertised.
The documented purpose understates behaviors such as child-process execution, proxy configuration, image downloading, and cache deletion. This is dangerous because users and orchestrators may approve the skill based on an incomplete trust model, while the skill can perform broader filesystem and network actions than advertised.
The documented purpose understates behaviors such as child-process execution, proxy configuration, image downloading, and cache deletion. This is dangerous because users and orchestrators may approve the skill based on an incomplete trust model, while the skill can perform broader filesystem and network actions than advertised.
The documented purpose understates behaviors such as child-process execution, proxy configuration, image downloading, and cache deletion. This is dangerous because users and orchestrators may approve the skill based on an incomplete trust model, while the skill can perform broader filesystem and network actions than advertised.
The command 'curl -fsSL https://bun.sh/install | bash' downloads a remote script and executes it immediately with shell privileges. This is a classic supply-chain risk: if the server, transport, or content is compromised, users execute arbitrary code without inspection.
Piping network-fetched content directly into 'bash' chains retrieval and execution into one step, removing any review checkpoint and amplifying the impact of a malicious or tampered response. In a skill setup guide, users are likely to copy-paste this verbatim, making exploitation practical.
Referenced artifact was not completely inspected
Use the script at `scripts/amazon_search.ts`.
Referenced artifact was not completely inspected
Use the script at `scripts/amazon_search.ts`.
Referenced artifact was not completely inspected
Use the script at `scripts/amazon_search.ts`.
Referenced artifact was not completely inspected
Use the script at `scripts/amazon_search.ts`.
Referenced artifact was not completely inspected
Use the script at `scripts/amazon_search.ts`.
Referenced artifact was not completely inspected
Use the script at `scripts/amazon_search.ts`.
Referenced artifact was not completely inspected
Use the script at `scripts/amazon_search.ts`.
Referenced artifact was not completely inspected
Use the script at `scripts/amazon_search.ts`.
Referenced artifact was not completely inspected
Use the script at `scripts/amazon_search.ts`.
Referenced artifact was not completely inspected
Use the script at `scripts/amazon_search.ts`.
Referenced artifact was not completely inspected
Use the script at `scripts/amazon_search.ts`.
Referenced artifact was not completely inspected
Use the script at `scripts/amazon_search.ts`.
This file explicitly implements Amazon cookie harvesting through headless browser automation and pairs it with stealth features intended to avoid detection. That behavior materially exceeds a normal product-search skill and enables session-token collection that could be reused for unauthorized scraping or account/session abuse.
The code contains multiple stealth mechanisms: disabling automation indicators, spoofing navigator properties, modifying permissions behavior, and simulating human activity. In a search-only skill, these are not operationally necessary and strongly suggest evasion of bot-detection controls, which increases the likelihood of misuse against a third-party service.
Printing harvested cookies directly to stdout exposes live session material to terminal history, CI logs, shell telemetry, and any adjacent process capturing output. Because cookies can function as bearer tokens, this creates an immediate risk of session hijacking or unauthorized reuse.
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
# Environment variables
.env
.env.local
.env.*.local
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
# Environment variables
.env
.env.local
.env.*.local
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
# Environment variables
.env
.env.local
.env.*.local
# Node.js
Detected: suspicious.dangerous_exec, suspicious.env_credential_access