story-short-scan
Fail
Audited by Gen Agent Trust Hub on Aug 20, 2026
Risk Level: HIGHCREDENTIALS_UNSAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [CREDENTIALS_UNSAFE]: The script
scripts/heiyan-booklist-scraper.jsprogrammatically extracts session authentication tokens from browser cookies. - Evidence: The
getTokenfunction inscripts/heiyan-booklist-scraper.jsretrieves theAdmin-Tokenusingdocument.cookie.match(/Admin-Token=([^;]+)/). While the skill documentation states this is for calling the target platform's API, the ability to extract session tokens is a significant credential exposure risk. - [COMMAND_EXECUTION]: The skill executes external binary commands on the host operating system to facilitate web scraping.
- Evidence: The
abfunction inscripts/cdp-utils.jsuseschild_process.execFileSyncto invoke theagent-browserbinary with various arguments. The skill also performs file system write operations viafs.writeFileSyncto save reports. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted content from external web platforms, creating an indirect prompt injection surface where malicious instructions in story descriptions or titles could influence the agent's behavior.
- Ingestion points: Web content scraped from
ishugui.comandmanage.zhangwenpindu.cnvia the scraper scripts. - Boundary markers: Data is structured in Markdown format but lacks explicit delimiters or specific instructions to the agent to ignore embedded commands within the scraped text.
- Capability inventory: The agent performs market analysis and summary tasks based on the ingested data, which are then used to influence writing decisions.
- Sanitization: No sanitization or filtering is performed on text fields such as book titles or descriptions before they are presented to the agent.
- [DYNAMIC_EXECUTION]: The skill constructs and executes JavaScript code dynamically within a browser context.
- Evidence: The
evalJSONBase64function inscripts/cdp-utils.jssends Base64-encoded JavaScript strings to theagent-browserfor evaluation in the target web page context.
Recommendations
- AI detected serious security threats
Audit Metadata