cast
Fail
Audited by Gen Agent Trust Hub on Jun 6, 2026
Risk Level: HIGHCOMMAND_EXECUTIONPROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/cast.jsis vulnerable to command injection. It builds shell commands forchild_process.execSyncusing string interpolation with theoutputPathvariable. Since this variable is derived directly from the--outputcommand-line argument without sanitization, an attacker or malicious content could provide a path containing shell metacharacters (e.g., double quotes and semicolons) to execute arbitrary commands in the environment. - [PROMPT_INJECTION]: The skill implements a pipeline that ingests untrusted data from URLs or pasted text and renders it into a browser environment via Playwright. This architecture presents an indirect prompt injection risk; malicious instructions embedded in a processed webpage or text could attempt to manipulate the rendering logic, influence the agent's generation of HTML and CSS, or exploit the headless browser context.
- [EXTERNAL_DOWNLOADS]: The project project uses the
playwrightlibrary as its primary rendering dependency. Playwright is a standard industry tool that fetches browser binaries (such as Chromium) from official Microsoft distribution servers during its initialization process.
Recommendations
- AI detected serious security threats
Audit Metadata