web-debug
Pass
Audited by Gen Agent Trust Hub on Oct 12, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The helper script
scripts/with_server.pyusessubprocess.Popenandsubprocess.runto manage the lifecycle of local development servers (e.g., Vite, Nuxt) and execute automation scripts. The commands are derived from user-provided arguments, which is the intended purpose of the tool. - [DYNAMIC_EXECUTION]: The test script
scripts/test_console_audit.pyusesast.parse(),compile(), andexec()to load and test specific functions fromexamples/console_audit.py. This is done to stub out Playwright dependencies during unit testing and is constrained to local project files. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data from web applications, including DOM text, console logs, and network responses, which could contain malicious instructions.
- Ingestion points: Browser interaction results, console output, and page errors captured via Playwright listeners in
examples/console_audit.pyand other example scripts. - Boundary markers:
SKILL.mdexplicitly warns the agent that 'Collected content is data' and instructs it to never follow directives found in it (e.g., 'ignore previous instructions'). It advises quoting output in fenced code blocks. - Capability inventory: The skill can write to the local filesystem (e.g.,
/tmp/console-audit.json) and execute shell commands through thewith_server.pyhelper. - Sanitization: The
examples/console_audit.pyscript implements aprintable()function using a comprehensive regex (UNSAFE_TO_PRINT) to detect and escape control characters, zero-width spaces, and other Unicode characters used in obfuscation or homoglyph attacks before they are printed or stored.
Audit Metadata