T09 · Insecure Skill Coding Practices
- Location
scripts/screenshot.js:34- Finding
Chromium Sandbox Disabled While Rendering Untrusted Web Content
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is a real screenshot tool, but it needs review because it weakens browser isolation and allows broad login/config-driven actions.
Install only if you are comfortable running it against trusted sites in a contained environment. Use a dedicated output directory, avoid real credentials in committed configs, restrict who can edit the JSON config, and treat storeLogin as a powerful app-state mutation feature rather than a simple screenshot option.
scripts/screenshot.js:34Chromium Sandbox Disabled While Rendering Untrusted Web Content
scripts/screenshot.js:61Output Path Traversal Through Unsanitized Screenshot Names
The example configuration embeds plaintext credentials directly in documentation, which normalizes insecure secret handling and increases the chance users will copy real passwords into files, logs, shell history, or version control. In a skill designed to access authenticated web apps, this creates a realistic path to credential exposure and unauthorized access.
The documented storeLogin feature expands the skill from passive screenshot capture into active in-page code execution against the target application's client-side state. Even though it is framed as a login workaround, invoking arbitrary store methods via CDP can trigger privileged actions, mutate application state, and bypass the narrower trust boundary users would expect from a screenshot tool.
This code reads username and password values from the config and injects them into browser form fields, which is a sensitive-credential handling operation. Although there is a generic log message about logging in, there is no disclosure that the script consumes credentials from configuration or handles sensitive authentication data.
The Pinia store login path programmatically calls a login method with configured arguments, which may include credentials or tokens. The console message describes the method call but does not clearly warn users that authentication secrets may be passed into the page context and used for login automation.
The documented selectors and page descriptions are written specifically for Chinese-language UI text, such as 请输入用户名 and Chinese result descriptions. There is no explicit user opt-in or note that this is just a locale-specific example, which can violate language/locale policy for a general-purpose skill.
No suspicious patterns detected.