gnews
Pass
Audited by Gen Agent Trust Hub on Jul 17, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes local commands including
nodeandbrowser-harness-js. It securely manages user-supplied queries by usingJSON.stringifyin a Node.js wrapper to escape strings before they are injected into JavaScript templates for browser execution. This prevents command injection vulnerabilities. Additionally, thesetupscript modifies shell configuration files (.bashrc,.zshrc, etc.) to add the user's local bin directory to thePATH, which is a standard procedure for installing command-line tools. - [PROMPT_INJECTION]: The skill exposes an indirect prompt injection surface because it processes untrusted content from the internet.
- Ingestion points: Data enters the context from
google.com(via the search results tab) and is processed in thescripts/gnewsscript. - Boundary markers: The skill returns news results as formatted text or JSON without specific delimiters or warnings instructing the agent to ignore embedded commands within the snippets.
- Capability inventory: The skill allows for local command execution and browser automation through the
browser-harness-jsSDK. - Sanitization: Input queries are sanitized via
JSON.stringifyand the browser extraction usesinnerTextto remove HTML formatting, but the textual content of news snippets is not filtered for potential adversarial instructions.
Audit Metadata