read-news
Warn
Audited by Gen Agent Trust Hub on Aug 20, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The
embedfunction inscripts/news_store.tsutilizesBun.spawnSyncto execute a shell command defined by theCRYPTO_NEWS_EMBED_CMDenvironment variable. This pattern allows for the execution of arbitrary system commands if the environment configuration is compromised or manipulated.- [REMOTE_CODE_EXECUTION]: Inscripts/feeds/googlefinance.ts, theparseAfCallbackfunction extracts JavaScript object literals from external HTML content and evaluates them using thenew Functionconstructor. Evaluating code derived from remote web responses is a dangerous practice that could lead to code execution if the source content is malicious.- [PROMPT_INJECTION]: The skill represents a significant surface for indirect prompt injection by ingesting and processing data from numerous external financial news outlets. - Ingestion points: Data is pulled from external sites such as the Financial Times, Wall Street Journal, and various crypto news feeds via
scripts/feeds/index.ts. - Boundary markers: There are no explicit delimiters or instructions provided to the agent to disregard potential commands embedded within the fetched news articles.
- Capability inventory: The skill has access to shell command execution (
Bun.spawnSync), local file system persistence via SQLite, and network access (fetch). - Sanitization: While the skill uses
stripHtmlto clean the content, this does not filter out natural language instructions that could influence the agent's behavior.
Audit Metadata