T09 · Insecure Skill Coding Practices
- Location
scripts/download_via_sss.mjs:27- Finding
Chromium Sandbox Disabled for Untrusted Third-Party Content
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill does what it says, but it runs an unsandboxed browser on a third-party downloader site and accepts broad third-party download links, which makes installation worth review.
Install only if you are comfortable sending Reel URLs to sssinstagram.com and running browser automation in a contained environment. Prefer an isolated container or unprivileged account with no secrets, a dedicated output directory, restricted networking, and cleanup reviewed before use.
scripts/download_via_sss.mjs:27Chromium Sandbox Disabled for Untrusted Third-Party Content
scripts/download_via_sss.mjs:85Insufficient Validation and Resource Limits for Attacker-Influenced Downloads
scripts/download_via_sss.mjs:8Plaintext HTTP Instagram URLs Accepted Contrary to the Documented Input Policy
The skill description says it downloads and returns an Instagram reel, but the documented behavior also includes local cleanup of files via a shell script, which is outside the core user-visible purpose. This mismatch is dangerous because hidden or under-disclosed destructive filesystem actions reduce operator awareness and can enable accidental deletion of files if paths or retention logic are misconfigured.
Referenced artifact was not completely inspected
- `node scripts/download_via_sss.mjs "<instagram-url>"`
The skill declares executable behavior that uses environment variables and network access but does not define any explicit tool scope or permissions boundaries. In an agent environment, this can lead to over-broad execution authority, making it easier for the skill to access unintended resources or perform network actions beyond the expected Instagram download flow.
The script deletes matching media files via find ... -delete, which is a destructive operation. While there is an internal comment describing intent, there is no user-facing prompt, warning, or visible disclosure in this file that files will be permanently removed after the age threshold.
The script sends a user-supplied Instagram reel URL to sssinstagram.com, a third-party service, without any explicit disclosure or consent mechanism in the code path. This exposes user data and browsing intent to an external party and is more sensitive here because the skill's core behavior relies on automated interaction with a non-Instagram site rather than direct first-party retrieval.
The code performs outbound network requests to direct media links using fetch and may also trigger browser-managed downloads, but it does not visibly disclose these external transfers to the user. For code files, network operations that transmit or retrieve user-related content should include some user-facing disclosure when not otherwise documented.
This code saves downloaded content into a local output directory using fs.writeFileSync and download.saveAs, but the script provides no user-facing disclosure beyond emitting the final file path. For a code file, file writes that affect user storage should have some visible warning, confirmation, or documented notice unless clearly disclosed elsewhere.
Detected: suspicious.env_credential_access