Scan Report
This report was generated in Chinese. Some content may be in Chinese.
5 /100
x402-agent
Detect and pay x402 crypto paywalls automatically. When your agent gets a 402 Payment Required response with x402 JSON, this skill handles payment via Coinbase facilitator on Base network with USDC.
x402加密支付工具包,用于AI Agent自动支付HTTP 402加密货币付墙。代码质量高,文档完整,无恶意行为,声明能力与实际行为一致。
Safe to install
批准使用。该技能为合法的区块链支付工具,依赖官方@x402包和viem库,安全性符合预期。
Findings 2 items
| Severity | Finding | Location |
|---|---|---|
| Info | npm依赖使用宽松版本锁定 Supply Chain | packages/*/package.json |
| Info | 文档中的API密钥占位符 Doc Mismatch | clawmart/PUBLISHING.md:21 |
| Resource | Declared | Inferred | Status | Evidence |
|---|---|---|---|---|
| Network | READ | READ | ✓ Aligned | packages/agent/src/interceptor.ts - HTTP请求检测402状态并重试 |
| Environment | READ | READ | ✓ Aligned | packages/agent/src/interceptor.ts - 仅读取X402_WALLET_PRIVATE_KEY |
| Filesystem | WRITE | WRITE | ✓ Aligned | packages/shared/src/policy/index.ts - 仅写入spend和log文件 |
| Shell | NONE | NONE | — | N/A - 无shell执行 |
1 High 34 findings
High API Key 疑似硬编码凭证
API_KEY="your-api-key-here" clawmart/PUBLISHING.md:21 Medium Wallet Address 加密货币钱包地址
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 README.md:27 Medium External URL 外部 URL
https://api.example.com/premium/data README.md:33 Medium External URL 外部 URL
https://taraquinn.ai SKILL.md:8 Medium Wallet Address 加密货币钱包地址
0x036CbD53842c5426634e7929541eC2318f3dCF7e SKILL.md:110 Medium External URL 外部 URL
https://api.example.com/premium/weather SKILL.md:145 Medium External URL 外部 URL
https://api.example.com/premium announcements/community-post.md:64 Medium External URL 外部 URL
https://www.shopclawmart.com/listings/x402-paywall-kit announcements/community-post.md:88 Medium External URL 外部 URL
https://www.shopclawmart.com clawmart/PUBLISHING.md:5 Medium External URL 外部 URL
https://www.shopclawmart.com/api/v1/listings clawmart/PUBLISHING.md:23 Medium External URL 外部 URL
https://www.shopclawmart.com/api/v1/listings/$ clawmart/PUBLISHING.md:36 Medium External URL 外部 URL
https://faucet.circle.com demo/README.md:23 Medium External URL 外部 URL
https://portal.cdp.coinbase.com/products/faucet demo/README.md:24 Medium External URL 外部 URL
https://www.alchemy.com/faucets/base-sepolia demo/README.md:27 Medium External URL 外部 URL
https://facilitator.cdp.coinbase.com docs/PRD.md:199 Medium Wallet Address 加密货币钱包地址
0x5b99070C84aB6297F2c1a25490c53eE483C8B499 docs/PRD.md:234 Medium External URL 外部 URL
https://x402.org docs/PRD.md:746 Medium External URL 外部 URL
https://docs.cdp.coinbase.com/x402 docs/PRD.md:747 Medium External URL 外部 URL
https://www.quicknode.com/guides/x402 docs/PRD.md:748 Medium External URL 外部 URL
https://docs.openclaw.ai/tools/clawhub docs/PRD.md:751 Medium External URL 外部 URL
https://snyk.io/blog/openclaw-skills-credential-leaks-research/ docs/PRD.md:752 Medium External URL 外部 URL
https://portal.cdp.coinbase.com integration/README.md:32 Medium External URL 外部 URL
https://api.example.com/premium-data packages/agent/README.md:32 Medium Wallet Address 加密货币钱包地址
0x70997970C51812dc3A010C7d01b50e0d17dc79C8 packages/agent/src/__tests__/interceptor.test.ts:19 Medium External URL 外部 URL
https://custom-facilitator.example.com packages/express/src/__tests__/middleware.test.ts:141 Medium External URL 外部 URL
https://x402.org/facilitator packages/express/src/middleware.ts:35 Medium External URL 外部 URL
https://api.example.com/data packages/shared/README.md:60 Medium External URL 外部 URL
https://taraquinn.ai/schemas/x402-policy.json references/policy.example.json:2 Medium External URL 外部 URL
https://dashboard.stripe.com/products taraquinn-integration/INTEGRATION.md:23 Medium External URL 外部 URL
https://www.npmjs.com/org/x402-kit taraquinn-integration/product-card.tsx:118 Medium External URL 外部 URL
https://clawhub.ai/skills/x402-agent taraquinn-integration/product.json:35 Medium External URL 外部 URL
https://taraquinn.ai/api/products/x402-paywall-kit/download taraquinn-integration/use-x402-payment.ts:15 Medium External URL 外部 URL
https://clawhub.ai x402-agent/PUBLISHING.md:47 Info Email 邮箱地址
[email protected] clawmart/listing.json:21 File Tree
66 files · 198.8 KB · 6078 lines Markdown 19f · 2853L
TypeScript 32f · 2808L
JSON 13f · 353L
Shell 1f · 54L
JavaScript 1f · 10L
├─
▾
announcements
│ ├─
community-post.md
Markdown
│ ├─
LAUNCH-CHECKLIST.md
Markdown
│ └─
tweets.md
Markdown
├─
▾
clawmart
│ ├─
bundle.sh
Shell
│ ├─
listing.json
JSON
│ └─
PUBLISHING.md
Markdown
├─
▾
demo
│ ├─
agent.ts
TypeScript
│ ├─
README.md
Markdown
│ └─
server.ts
TypeScript
├─
▾
docs
│ ├─
PRD.md
Markdown
│ └─
PROGRESS.md
Markdown
├─
▾
integration
│ ├─
base-sepolia.test.ts
TypeScript
│ └─
README.md
Markdown
├─
▾
packages
│ ├─
▾
agent
│ │ ├─
▾
src
│ │ │ ├─
▾
__tests__
│ │ │ │ └─
interceptor.test.ts
TypeScript
│ │ │ ├─
index.ts
TypeScript
│ │ │ └─
interceptor.ts
TypeScript
│ │ ├─
package.json
JSON
│ │ ├─
README.md
Markdown
│ │ ├─
tsconfig.json
JSON
│ │ ├─
tsup.config.ts
TypeScript
│ │ └─
vitest.config.ts
TypeScript
│ ├─
▾
express
│ │ ├─
▾
src
│ │ │ ├─
▾
__tests__
│ │ │ │ └─
middleware.test.ts
TypeScript
│ │ │ ├─
index.ts
TypeScript
│ │ │ └─
middleware.ts
TypeScript
│ │ ├─
package.json
JSON
│ │ ├─
README.md
Markdown
│ │ ├─
tsconfig.json
JSON
│ │ ├─
tsup.config.ts
TypeScript
│ │ └─
vitest.config.ts
TypeScript
│ └─
▾
shared
│ ├─
▾
src
│ │ ├─
▾
__tests__
│ │ │ ├─
logger.test.ts
TypeScript
│ │ │ └─
policy.test.ts
TypeScript
│ │ ├─
▾
logger
│ │ │ └─
index.ts
TypeScript
│ │ ├─
▾
policy
│ │ │ └─
index.ts
TypeScript
│ │ ├─
▾
types
│ │ │ └─
index.ts
TypeScript
│ │ └─
index.ts
TypeScript
│ ├─
package.json
JSON
│ ├─
README.md
Markdown
│ ├─
tsconfig.json
JSON
│ ├─
tsup.config.ts
TypeScript
│ └─
vitest.config.ts
TypeScript
├─
▾
references
│ ├─
agent-setup.example.ts
TypeScript
│ └─
policy.example.json
JSON
├─
▾
taraquinn-integration
│ ├─
INTEGRATION.md
Markdown
│ ├─
pay-with-usdc-button.tsx
TypeScript
│ ├─
product-card.tsx
TypeScript
│ ├─
product.json
JSON
│ ├─
SELF-INTEGRATION.md
Markdown
│ ├─
stripe-checkout.ts
TypeScript
│ ├─
usdc-paywall.ts
TypeScript
│ ├─
use-x402-payment.ts
TypeScript
│ └─
wagmi-config.ts
TypeScript
├─
▾
x402-agent
│ ├─
▾
references
│ │ ├─
agent-setup.example.ts
TypeScript
│ │ └─
policy.example.json
JSON
│ ├─
PUBLISHING.md
Markdown
│ └─
SKILL.md
Markdown
├─
▾
x402-agent-free
│ ├─
▾
references
│ │ └─
basic-setup.example.ts
TypeScript
│ ├─
PUBLISHING.md
Markdown
│ └─
SKILL.md
Markdown
├─
eslint.config.mjs
JavaScript
├─
package.json
JSON
├─
README.md
Markdown
├─
SKILL.md
Markdown
├─
tsconfig.base.json
JSON
├─
tsconfig.json
JSON
├─
vitest.config.ts
TypeScript
└─
vitest.integration.config.ts
TypeScript
Dependencies 6 items
| Package | Version | Source | Known Vulns | Notes |
|---|---|---|---|---|
@x402/core | ^2.5.0 | npm | No | 官方x402协议核心库 |
@x402/evm | ^2.5.0 | npm | No | 官方EVM签名库 |
@x402/fetch | ^2.5.0 | npm | No | 官方fetch包装器 |
@x402/express | ^2.5.0 | npm | No | 官方Express中间件 |
viem | ^2.0.0 | npm | No | 主流以太坊开发库,版本范围宽松 |
tsup | ^8.0.0 | npm | No | 构建工具,仅在开发环境使用 |
Security Positives
✓ 无shell执行、subprocess调用或命令注入
✓ 无凭证收割、环境变量遍历或敏感数据读取
✓ 无base64编码、eval()执行或代码混淆
✓ 无数据外泄、外部C2通信或可疑网络请求
✓ 文档完整,声明能力与实际行为完全一致
✓ 正确使用viem官方库处理区块链交易
✓ 环境变量处理规范,从不硬编码私钥
✓ 包含完整的策略引擎和审计日志功能
✓ 单元测试覆盖充分(294行测试代码)