story-short-scan
Warn
Audited by Gen Agent Trust Hub on Jun 26, 2026
Risk Level: MEDIUMCREDENTIALS_UNSAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [CREDENTIALS_UNSAFE]: The script
scripts/heiyan-booklist-scraper.jscontains logic to programmatically extract session credentials. It usesdocument.cookie.match(/Admin-Token=([^;]+)/)to retrieve the 'Admin-Token' from the user's active browser session, which is then used to authenticate subsequent API requests to the platform. - [COMMAND_EXECUTION]: The utility script
scripts/cdp-utils.jsutilizeschild_process.execSyncto run theagent-browserCLI tool. This allows the skill to execute arbitrary shell commands on the host machine to manage the browser automation environment. - [DYNAMIC_EXECUTION]: The skill makes extensive use of
evalcapabilities through the CDP interface. Bothscripts/dz-browse-scraper.jsandscripts/heiyan-booklist-scraper.jsexecute dynamically constructed JavaScript strings within the context of the automated browser to scrape data and interact with page elements. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted content from external novel platforms, creating a potential surface for indirect prompt injection.
- Ingestion points: Data is scraped from
ishugui.comandmanage.zhangwenpindu.cnviascripts/dz-browse-scraper.jsandscripts/heiyan-booklist-scraper.js. - Boundary markers: None identified in the prompt instructions provided in
SKILL.mdto distinguish between scraped data and agent instructions. - Capability inventory: The skill has access to
execSyncinscripts/cdp-utils.jsand file system write access (fs.writeFileSync) in both scraping scripts. - Sanitization: There is no evidence of sanitization or escaping of the scraped novel titles, descriptions, or tags before they are presented to the agent for analysis.
Audit Metadata