扫描报告
5 /100
dao-governance
Web3 DAO governance research skill using Degov Agent API with x402 payments
Legitimate DAO governance research skill with proper wallet management and x402 payment integration. No malicious behavior detected.
可以安装
No action needed. The skill is safe to use for its documented purpose.
安全发现 2 项
| 严重性 | 安全发现 | 位置 |
|---|---|---|
| 提示 | Pre-scan base64 flags are false positives | scripts/wallet-store.ts:208 |
| 低危 | Internal passphrase stored in filesystem | scripts/wallet-store.ts:11 |
| 资源类型 | 声明权限 | 推断权限 | 状态 | 证据 |
|---|---|---|---|---|
| 文件系统 | READ | WRITE | ✓ 一致 | SKILL.md declares wallet storage in ~/.agents/state/dao-governance/ |
| 网络访问 | READ | READ | ✓ 一致 | SKILL.md declares API calls to degov-agent-api |
| 命令执行 | WRITE | WRITE | ✓ 一致 | SKILL.md documents pnpm exec tsx commands |
| 环境变量 | READ | READ | ✓ 一致 | Uses env vars like DEGOV_AGENT_WALLET_PASSPHRASE, DEGOV_AGENT_API_BASE_URL |
4 严重 8 项发现
严重 编码执行 Base64 编码执行(代码混淆)
Buffer.from(cryptoPayload.salt, 'base64' scripts/wallet-store.ts:208 严重 编码执行 Base64 编码执行(代码混淆)
Buffer.from(cryptoPayload.iv, 'base64' scripts/wallet-store.ts:212 严重 编码执行 Base64 编码执行(代码混淆)
Buffer.from(cryptoPayload.authTag, 'base64' scripts/wallet-store.ts:214 严重 编码执行 Base64 编码执行(代码混淆)
Buffer.from(cryptoPayload.ciphertext, 'base64' scripts/wallet-store.ts:216 中危 外部 URL 外部 URL
https://agent-api.degov.ai scripts/README.md:32 中危 外部 URL 外部 URL
https://mainnet.base.org scripts/degov-client.ts:87 中危 外部 URL 外部 URL
https://basescan.org/tx/$ scripts/degov-client.ts:160 中危 钱包地址 加密货币钱包地址
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 scripts/wallet-store.ts:18 目录结构
7 文件 · 63.4 KB · 2005 行 TypeScript 2f · 883L
YAML 1f · 737L
Markdown 2f · 344L
JSON 2f · 41L
├─
▾
scripts
│ ├─
degov-client.ts
TypeScript
│ ├─
package.json
JSON
│ ├─
pnpm-lock.yaml
YAML
│ ├─
README.md
Markdown
│ ├─
tsconfig.json
JSON
│ └─
wallet-store.ts
TypeScript
└─
SKILL.md
Markdown
依赖分析 3 项
| 包名 | 版本 | 来源 | 已知漏洞 | 备注 |
|---|---|---|---|---|
viem | ^2.37.5 | npm | 否 | Standard Ethereum library, widely used |
@x402/evm | ^2.6.0 | npm | 否 | Official x402 payment library for EVM chains |
@x402/fetch | ^2.6.0 | npm | 否 | Official x402 payment library for HTTP requests |
安全亮点
✓ Uses standard AES-256-GCM encryption for wallet private keys
✓ Sets restrictive 0o600 file permissions on wallet and passphrase files
✓ All network calls are to the declared API endpoint only
✓ No credential exfiltration - credentials stay local
✓ Uses legitimate x402 payment protocol (@x402/evm, @x402/fetch)
✓ Clear user consent flow for paid API calls
✓ Guardrails in SKILL.md explicitly prohibit asking for private keys
✓ Wallet migration removes old wallet files after transfer
✓ No base64 piping to shell or eval() usage
✓ Proper error handling throughout cryptographic operations