news-extractor
Warn
Audited by Gen Agent Trust Hub on Jul 1, 2026
Risk Level: MEDIUMCREDENTIALS_UNSAFECOMMAND_EXECUTIONDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [CREDENTIALS_UNSAFE]: The crawler implementations for Toutiao and WeChat contain hardcoded session cookies. This practice exposes active authentication tokens within the skill's source code.
- Evidence:
scripts/crawlers/toutiao.py(Line 23) contains aFIXED_COOKIEstring with multiple session identifiers, includingpassport_auth_status_ss,ssid_ucp_sso_v1, andtoutiao_sso_user_ss. - Evidence:
scripts/crawlers/wechat.py(Line 22) contains aFIXED_COOKIEstring with session-related keys such asRKandptcz. - [PROMPT_INJECTION]: The skill presents an indirect prompt injection surface (Category 8) by processing untrusted article content from external websites into the agent's context.
- Ingestion points: Article HTML is fetched from remote URLs in
scripts/crawlers/base.pyand the platform-specific crawler implementations. - Boundary markers: Absent. The
scripts/formatter.pyutility generates Markdown output without utilizing delimiters or explicit instructions to the agent to disregard potentially malicious content within the article text. - Capability inventory: The skill has the capability to write files to the local file system via
scripts/extract_news.pyandscripts/crawlers/base.py. - Sanitization: No sanitization or filtering of the extracted text is performed before it is formatted for the agent.
- [COMMAND_EXECUTION]: The skill performs routine file system operations to store the extracted news data.
- Evidence:
scripts/extract_news.pyandscripts/crawlers/base.pyuse standard Python file-writing methods (json.dump,Path.write_text) to save extracted article content as JSON and Markdown files. - [DATA_EXFILTRATION]: The skill performs network operations to retrieve content from well-known news and social media platforms.
- Evidence: Crawler modules perform HTTP requests to domains including
mp.weixin.qq.com,www.toutiao.com,www.163.com,www.sohu.com, andnews.qq.com.
Audit Metadata