other
- Location
scripts/fetch_news.py:383- Finding
Undocumented Outbound Network Access to Jin10
- Content
View full analysis
Vulnerability Details
File Location:
scripts/fetch_news.py:383,scripts/fetch_news.py:509
Vulnerability Type: Undocumented outbound network access
Risk Level: LowComplete Code Snippet
python def fetch_jin10_news(limit=20): """Fetch Jin10 flash news directly from API (newsnow-style)""" try: timestamp = int(time.time() * 1000) url = f"https://www.jin10.com/flash_newest.js?t={timestamp}" raw_data = http_request(url, timeout=30)python fetchers = { "weibo": fetch_weibo_hot, "zhihu": fetch_zhihu_hot, "baidu": fetch_baidu_hot, "douyin": fetch_douyin_hot, "wallstreetcn": fetch_wallstreetcn_hot, "toutiao": fetch_toutiao_hot, "jin10": fetch_jin10_news, "thepaper": fetch_thepaper_hot, }Technical Analysis
The dispatcher accepts
jin10as a source and invokesfetch_jin10_news, which sends an HTTPS request towww.jin10.com. However,SKILL.mddoes not identify Jin10 as a supported source and does not includewww.jin10.comorflash.jin10.comin its network-request disclosure table.This creates a mismatch between the documented and actual outbound network behavior. It also contradicts the documentation's assertion that the Skill has no unexpected outbound endpoints. The request retrieves news data rather than executable code, so this finding is not remote payload execution.
Attack Path
- A user or agent invokes
scripts/fetch_news.pywithjin10as the source. fetch_news()resolves the source through thefetchersdictionary.fetch_jin10_news()constructs a URL underhttps://www.jin10.com/.http_request()sends an outbound HTTPS request to the undocumented third party.- Jin10 receives network metadata including the source IP, request timestamp, and User-Agent.
- Returned data is parsed and emitted as news output.
Impact Assessment
The issue does not provide local code execution, elevated privileges, persistence, or ac ...[truncated 300 chars]
- A user or agent invokes
- Remediation
View remediation
Remediation Suggestions
- Add Jin10 to the documented supported-source table and usage examples in
SKILL.md. - Add
www.jin10.comandflash.jin10.comto the network-request disclosure table. - Revise the claim that there are no unexpected outbound endpoints so it accurately reflects all implemented behavior.
- Alternatively, remove
fetch_jin10_newsand its dispatcher entry if Jin10 is not intended to be supported. - Implement an explicit hostname allowlist in
http_request()and keep it synchronized with the documented endpoint inventory. - Add an automated test that extracts outbound hostnames from the implementation and compares them with the documented allowlist.
- Add Jin10 to the documented supported-source table and usage examples in
