kuaidi-query
This skill contains critical security issues including exposed real API credentials in config.json, undeclared filesystem and network access, and a vulnerable dependency with unpinned axios version.
Real Track123 API credentials are hardcoded in config.json with app_key and api_secret values. These credentials are committed to the repository and publicly visible.
config.json:2 为什么得出这个结论
2/4 个维度触发发现 3 项声明之外的能力或越权行为。
提取到 28 个一般风险产物,需要结合上下文判断。
报告包含 0 步攻击链,另有 3 项高危或严重发现。
发现 1 项需要关注的依赖或供应链线索。
风险分是怎么被拉高的
Real Track123 API keys hardcoded and committed to repository
Makes HTTPS requests to api.track123.com without declaring network:READ
Reads config.json and writes .cache.json without filesystem capability declaration
axios uses ^1.13.6 allowing updates to potentially vulnerable versions
最关键的证据
Hardcoded API Credentials Exposed
Real Track123 API credentials are hardcoded in config.json with app_key and api_secret values. These credentials are committed to the repository and publicly visible.
config.json:2 Undeclared Network Access
The skill makes HTTPS requests to api.track123.com but SKILL.md does not declare network:READ capability in allowed-tools mapping
scripts/query.js:56 Undeclared Filesystem Access
The skill reads config.json and writes .cache.json without declaring filesystem:READ/WRITE capabilities
scripts/query.js:37 Unpinned Dependency Version
axios dependency uses ^1.13.6 which allows automatic updates to higher minor/patch versions that could contain security vulnerabilities
package.json:9 API Endpoint Mismatch
Reference docs show v2.1 API endpoints but code uses v2. Authentication method also differs (app_key in body vs Track123-Api-Secret header)
references/track123-api.md vs scripts/query.js 声明能力 vs 实际能力
scripts/query.js:56 - axios.post to api.track123.com scripts/query.js:37 - fs.readFileSync(CONFIG_PATH) scripts/query.js:79 - fs.writeFileSync(CACHE_PATH) 可疑产物与外联
https://www.track123.com/ SKILL.md:155
https://registry.npmmirror.com/asynckit/-/asynckit-0.4.0.tgz package-lock.json:17
https://registry.npmmirror.com/axios/-/axios-1.13.6.tgz package-lock.json:23
https://registry.npmmirror.com/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz package-lock.json:34
https://registry.npmmirror.com/combined-stream/-/combined-stream-1.0.8.tgz package-lock.json:47
https://registry.npmmirror.com/delayed-stream/-/delayed-stream-1.0.0.tgz package-lock.json:59
https://registry.npmmirror.com/dunder-proto/-/dunder-proto-1.0.1.tgz package-lock.json:68
https://registry.npmmirror.com/es-define-property/-/es-define-property-1.0.1.tgz package-lock.json:82
https://registry.npmmirror.com/es-errors/-/es-errors-1.3.0.tgz package-lock.json:91
https://registry.npmmirror.com/es-object-atoms/-/es-object-atoms-1.1.1.tgz package-lock.json:100
https://registry.npmmirror.com/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz package-lock.json:112
https://registry.npmmirror.com/follow-redirects/-/follow-redirects-1.15.11.tgz package-lock.json:127
依赖与供应链
| 包名 | 版本 | 来源 | 漏洞 | 备注 |
|---|---|---|---|---|
| axios | ^1.13.6 | npm | 否 | Version not pinned, uses caret range allowing updates |
文件构成
config.json scripts/query.js package-lock.json references/track123-api.md SKILL.md package.json