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 Why this conclusion was reached
3/4 dimensions flagged2 undeclared or violating capabilities were inferred.
1 high-risk artifacts or egress signals were extracted.
The report includes 0 attack-chain steps and 2 severe findings.
2 dependency or supply-chain issues need attention.
What drove the risk score up
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
Most important evidence
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 Declared capability vs actual capability
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 Suspicious artifacts and egress
API_KEY = 'THp2c1V4bW5JQVJ1S09IY1BzN1NubDoxaXJpUQ' scripts/x-monitor.js:11
https://open.feishu.cn/open-apis scripts/x-monitor.js:8
Dependencies and supply chain
| Package | Version | Source | Known vuln | Notes |
|---|---|---|---|---|
| @the-convocation/twitter-scraper | ^0.22.1 | npm | No | Version not pinned — minor updates auto-installed |
| axios | ^1.6.0 | npm | No | Version not pinned — minor updates auto-installed |
File composition
scripts/x-monitor.js scripts/x-scraper-free.js SKILL.md package.json