nautilus-polymarket-stops
技能本体wrapper代码干净,但核心逻辑完全封装在外部npm包@hypelens/hypelens-agent-guard中,构成高供应链风险,无法验证运行时行为
Why this conclusion was reached
2/4 dimensions flagged1 undeclared or violating capabilities were inferred.
1 lower-risk artifacts were extracted and still need context.
The report includes 4 attack-chain steps and 2 severe findings.
Dependencies are present but no obvious high-risk issue stands out.
Attack Chain
Entry · scripts/setup.mjs:1
Escalation · scripts/setup.mjs:18
Escalation · 外部包@hypelens/hypelens-agent-guard
Impact · 外部包@hypelens/hypelens-agent-guard
What drove the risk score up
@hypelens/hypelens-agent-guard是私有包,3个脚本完全委托执行,无本地代码可审计
EXIT_PK/钱包地址作为环境变量传入,外部包可任意访问
@hypelens/[email protected]版本已锁定(+5分),但无版本锁定风险(-10分)
Most important evidence
外部npm包供应链风险
@hypelens/hypelens-agent-guard是私有npm包,3个脚本完全委托执行,无法审计实际代码行为。该包可访问FUNDER钱包和EXIT_PK私钥,运行时行为未知。
scripts/setup.mjs:18 钱包私钥委托外部包处理
EXIT_PK(可执行SELL的私钥)和FUNDER钱包作为环境变量传入外部npm包,无隔离保护
NAUTILUS-SIDECAR.md:36 文档未声明外部依赖细节
SKILL.md强调'zero Nautilus PR'和'local setup',但实际所有逻辑在外部npm包中,用户无法验证
SKILL.md:1 Declared capability vs actual capability
setup.mjs:1 - 依赖外部包,文件系统能力由外部包决定 外部npm包黑箱,网络行为未知 所有脚本通过node执行外部包二进制,shell能力由外部包决定 NAUTILUS-SIDECAR.md:36 接收FUNDER/EXIT_PK环境变量,传给外部包 Suspicious artifacts and egress
https://nautilustrader.io/docs/latest/integrations/polymarket/ NAUTILUS-SIDECAR.md:36
Dependencies and supply chain
| Package | Version | Source | Known vuln | Notes |
|---|---|---|---|---|
| @hypelens/hypelens-agent-guard | 0.1.18 | npm | No | 私有npm包,无源码可见,高供应链风险 |
File composition
NAUTILUS-SIDECAR.md SKILL.md scripts/setup.mjs