story-short-scan

Warn

Audited by Gen Agent Trust Hub on Oct 20, 2026

Risk Level: MEDIUMCREDENTIALS_UNSAFEDYNAMIC_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [CREDENTIALS_UNSAFE]: The script scripts/heiyan-booklist-scraper.js programmatically extracts the Admin-Token from browser cookies using document.cookie. This token is used as a Bearer credential to authenticate API requests to the platform's backend (ms.zhangwenpindu.cn).
  • [DYNAMIC_EXECUTION]: Multiple components, including scripts/cdp-utils.js, scripts/dz-browse-scraper.js, and scripts/heiyan-booklist-scraper.js, utilize an evalJSONBase64 function. This function constructs JavaScript code strings at runtime, encodes them in Base64, and executes them within the browser context via the Chrome DevTools Protocol.
  • [COMMAND_EXECUTION]: The skill invokes the agent-browser CLI tool using child_process.execFileSync. In scripts/cdp-utils.js, the skill includes logic to search the system PATH for agent-browser.cmd, read and parse its contents to resolve the target executable, and launch it with arguments.
  • [INDIRECT_PROMPT_INJECTION]: The skill exhibits a significant surface for indirect prompt injection via external data processing.
  • Ingestion points: Untrusted data is ingested from the web (Dianzhong, Heiyan platforms) and local Markdown files by scripts/dz-browse-scraper.js, scripts/heiyan-booklist-scraper.js, and scripts/aggregate-rank.js.
  • Boundary markers: No delimiters or instructions are used to prevent the agent from obeying instructions embedded in the scraped book titles or descriptions.
  • Capability inventory: The skill has access to shell execution (execFileSync in cdp-utils.js) and file system writes (fs.writeFileSync in several scripts).
  • Sanitization: The skill lacks sanitization, escaping, or validation logic for external content before it is processed or included in the final generated reports.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Oct 20, 2026, 06:46 AM