kuaishou-genius-actual
内部企业预算门户 API 探测工具,代码本身无恶意行为,但 --insecure 模式禁用 TLS 验证存在 MITM 风险,且工具设计用于提取内部业务敏感数据,意图不明。
Why this conclusion was reached
0/4 dimensions flaggedDeclared resources and inferred behavior are broadly aligned.
2 lower-risk artifacts were extracted and still need context.
There is no explicit malicious chain in the report.
Dependency information is incomplete, so supply-chain confidence stays limited.
What drove the risk score up
genius_client.py L94-97: --insecure 选项禁用 SSL 证书校验,存在 MITM 风险
探测 /budget-portal/api/actual-ledger/detail 等敏感业务数据接口
用户需传入真实 accessproxy_session cookie,无隔离或脱敏机制
Most important evidence
--insecure 模式禁用 TLS 证书校验
genius_client.py 支持 --insecure 参数,通过 ssl.create_default_context() 禁用主机名校验和证书校验。在处理认证 Cookie 的场景下,禁用 TLS 验证会使通信暴露于中间人攻击风险,攻击者可在路径上截获 Cookie 和响应数据。
scripts/genius_client.py:94-97 工具面向内部业务敏感 API 接口
SKILL.md 和脚本针对快手内部预算门户 genius.corp.kuaishou.com 的 management-yearly/actual 工作流,涉及 actual-ledger 账本数据、org tree 组织架构、annual-actual 版本数据等内部敏感业务信息。
SKILL.md:1-156 genius_api_probe.sh 无错误处理
genius_api_probe.sh 使用 set -euo pipefail 但对 curl 命令的错误码和响应内容处理简单,若 Cookie 无效或环境受限,不会给出明确诊断。
scripts/genius_api_probe.sh:1-53 Declared capability vs actual capability
SKILL.md; genius_api_probe.sh; genius_client.py SKILL.md 声明使用 bash; genius_api_probe.sh 使用 curl genius_client.py L105: open(path, r) 读取 JSON payload 文件 Suspicious artifacts and egress
https://genius.corp.kuaishou.com SKILL.md:24
https://genius.corp.kuaishou.com/management-yearly/actual SKILL.md:102
Dependencies and supply chain
There are no structured dependency warnings.
File composition
scripts/genius_client.py SKILL.md scripts/genius_api_probe.sh