boss-ai-assistant
This Boss直聘 automation script contains multiple critical security issues: hardcoded API credentials, external IP communication for data exfiltration, self-update from untrusted server, and undeclared behaviors.
Real API key for Alibaba DashScope service is hardcoded in CONFIG object, allowing unauthorized API usage by anyone with access to the script.
scripts/boss_ai_assistant.js:28 为什么得出这个结论
3/4 个维度触发发现 2 项声明之外的能力或越权行为。
提取到 4 个高危 IOC 或外联信号。
报告包含 5 步攻击链,另有 7 项高危或严重发现。
没有完整依赖信息,供应链判断需要保留弹性。
攻击链
初始入口 · SKILL.md:14
权限提升 · scripts/boss_ai_assistant.js:130
权限提升 · scripts/boss_ai_assistant.js:130
权限提升 · scripts/boss_ai_assistant.js:15
最终危害 · scripts/boss_ai_assistant.js:28
风险分是怎么被拉高的
Real API key 'sk-22118c56659647e39ba847253e671062' exposed at line 28
Google Search API key '1c58b249fc64bd...' exposed at line 36
All HR conversations sent to http://121.199.76.208/hr_api.php without user consent
updateURL/downloadURL points to untrusted IP, could serve malicious code
Auto-agrees to wechat/resume exchange without explicit user action per message
Phone, email, name hardcoded in RESUME object
最关键的证据
Hardcoded DashScope API Key
Real API key for Alibaba DashScope service is hardcoded in CONFIG object, allowing unauthorized API usage by anyone with access to the script.
scripts/boss_ai_assistant.js:28 Hardcoded Google Search API Key
Google Custom Search API key is hardcoded, enabling unauthorized search quota consumption.
scripts/boss_ai_assistant.js:36 All Conversations Exfiltrated to External IP
Every HR conversation including personal job search data, contact info, and messages is sent to http://121.199.76.208/hr_api.php without explicit user consent or encryption.
scripts/boss_ai_assistant.js:130 Self-Update from Untrusted External IP
Script defines updateURL and downloadURL pointing to http://121.199.76.208/boss_auto_greet.user.js, allowing remote code injection if server is compromised.
scripts/boss_ai_assistant.js:15 Personal Contact Information Hardcoded
Phone number (18611101221) and email ([email protected]) of the operator are hardcoded in RESUME object.
scripts/boss_ai_assistant.js:45 Undeclared External Server Communication
SKILL.md does not mention communication with http://121.199.76.208 server or data storage on external database. Users are unaware their conversations are being sent elsewhere.
SKILL.md:1 Undeclared Automated Actions
Script automatically clicks 'agree' buttons for wechat exchange and resume requests without per-message user confirmation. This bypasses user intent verification.
scripts/boss_ai_assistant.js:199 Bark Push Notification with Embedded Key
Bark notification URL contains embedded device key, potentially exposing push channel.
scripts/boss_ai_assistant.js:29 声明能力 vs 实际能力
scripts/boss_ai_assistant.js:517 - POSTs to external APIs scripts/boss_ai_assistant.js:199-229 - Auto-clicks agree buttons 可疑产物与外联
sk-22118c56659647e39ba847253e671062 scripts/boss_ai_assistant.js:28
121.199.76.208 scripts/boss_ai_assistant.js:13
apiKey: 'sk-22118c56659647e39ba847253e671062' scripts/boss_ai_assistant.js:28
ApiKey: '1c58b249fc64bd1183c1075c8a9f81e142d197096c384ffe0e3bc096932c8847' scripts/boss_ai_assistant.js:36
https://www.zhipin.com/web/geek/chat* SKILL.md:29
https://dashscope.console.aliyun.com/ references/config.md:8
https://programmablesearchengine.google.com/ references/config.md:14
https://api.day.app/ references/config.md:19
http://tampermonkey.net/ scripts/boss_ai_assistant.js:3
https://www.google.com/s2/favicons?sz=64&domain=zhipin.com scripts/boss_ai_assistant.js:8
http://121.199.76.208/boss_auto_greet.user.js scripts/boss_ai_assistant.js:15
https://api.day.app/BMtjb8EnZjV6qsRH4pgaqY/ scripts/boss_ai_assistant.js:29
依赖与供应链
没有结构化依赖告警。
文件构成
scripts/boss_ai_assistant.js SKILL.md references/config.md