x-daily-report
Skill implements X/Twitter monitoring with undeclared browser cookie access, a hardcoded API key, and undocumented Feishu API communication—all not mentioned in SKILL.md.
A plaintext X API key is embedded in scripts/x-monitor.js at line 11. While the value appears to be a placeholder/test string, hardcoding credentials in source code is a serious anti-pattern that risks exposure through version control.
scripts/x-monitor.js:11 为什么得出这个结论
3/4 个维度触发发现 2 项声明之外的能力或越权行为。
提取到 1 个高危 IOC 或外联信号。
报告包含 0 步攻击链,另有 2 项高危或严重发现。
发现 2 项需要关注的依赖或供应链线索。
风险分是怎么被拉高的
x-scraper-free.js uses useCookiesFromBrowser('chrome') to extract authenticated X sessions — not declared in SKILL.md
x-monitor.js:11 contains X_API_KEY hardcoded as plaintext; also constitutes doc deception since SKILL.md says free mode requires no keys
x-monitor.js calls open.feishu.cn API with BITABLE_APP_TOKEN — not mentioned in SKILL.md
@the-convocation/twitter-scraper and axios have version ranges (^0.22.1, ^1.6.0) without pinning
SKILL.md claims zero-cost free mode but includes x-monitor.js which requires API credentials
最关键的证据
Hardcoded API Key in Source Code
A plaintext X API key is embedded in scripts/x-monitor.js at line 11. While the value appears to be a placeholder/test string, hardcoding credentials in source code is a serious anti-pattern that risks exposure through version control.
scripts/x-monitor.js:11 Undeclared Browser Cookie Access
x-scraper-free.js calls scraper.useCookiesFromBrowser('chrome') to extract live Chrome browser cookies for X authentication. This is a significant capability not declared anywhere in SKILL.md. An agent with this skill could harvest authenticated sessions for any site stored in Chrome.
scripts/x-scraper-free.js:90 Undeclared Feishu/Bitable API Communication
x-monitor.js communicates with open.feishu.cn to fetch account lists from a Feishu Bitable. This external data source integration is not documented in SKILL.md, which only describes free and API modes without mentioning Feishu.
scripts/x-monitor.js:8 Unpinned Dependency Versions
@the-convocation/twitter-scraper (^0.22.1) and axios (^1.6.0) are listed with caret ranges, allowing automatic minor/patch updates. This creates supply chain risk where a compromised upstream release could be silently installed.
package.json:10 SKILL.md Misleading Zero-Cost Claim
SKILL.md prominently advertises '零成本运行' and '无需X开发者账号' but includes x-monitor.js which explicitly requires X_API_KEY. While x-scraper-free.js is the recommended path, the presence of x-monitor.js with a hardcoded key contradicts the zero-cost messaging.
SKILL.md:1 声明能力 vs 实际能力
x-scraper-free.js:9 — writeFile() used for local report output, documented in SKILL.md x-scraper-free.js:7 — Scraper fetches X/Twitter; x-monitor.js:8 — Feishu API calls, both undeclared x-scraper-free.js:90 — scraper.useCookiesFromBrowser('chrome') extracts live X session cookies, completely undeclared No subprocess, exec, or shell command execution found No env iteration for secrets; FEISHU_ACCESS_TOKEN read only when used 可疑产物与外联
API_KEY = 'THp2c1V4bW5JQVJ1S09IY1BzN1NubDoxaXJpUQ' scripts/x-monitor.js:11
https://open.feishu.cn/open-apis scripts/x-monitor.js:8
依赖与供应链
| 包名 | 版本 | 来源 | 漏洞 | 备注 |
|---|---|---|---|---|
| @the-convocation/twitter-scraper | ^0.22.1 | npm | 否 | Version not pinned — minor updates auto-installed |
| axios | ^1.6.0 | npm | 否 | Version not pinned — minor updates auto-installed |
文件构成
scripts/x-monitor.js scripts/x-scraper-free.js SKILL.md package.json