一个针对Base区块链的按次付费威胁情报API,使用USDC小额支付,无需API密钥。

Stars

4

7 天增长

暂无数据

Fork 数

0

开放 Issue

0

开源协议

暂无数据

最近更新

2026-07-29

AI 仓库情报摘要
FR-AI / ANALYSIS

为什么值得关注

它将机器对机器安全数据与新型x402兼容支付模式结合,通过简单的USDC转账即可即时、免订阅地获取链上风险分析。

适合谁使用

  • 在Base上开发智能合约的开发者
  • 需要自动化合约检查的DeFi协议
  • 监测区块链安全威胁的研究人员
  • 需要按次风险评分的合规团队

典型使用场景

  • 在存入资金前扫描合约地址
  • 设置7天看门狗以监控判决或风险变化
  • 拉取每日威胁源进行批量分析
  • 实时流式接收威胁信息

项目优势

  • 无需API密钥或注册,仅需在Base上进行一次USDC转账即可支付
  • 所有响应包含判决分数和风险标记,不仅是二元分类
  • 看门狗支持Webhook,无需轮询
  • 提供公开的机器可读目录(OpenAPI、x402、OpenAI工具模式)

使用前须知

  • 仅支持Base网络(EIP-155:8453)
  • 每次调用需要单独链上USDC支付,需支付燃料费
  • 无免费额度或批量折扣
  • 仅提供五个预定义产品端点

README 快速开始

BaseSentinel

M2M threat intelligence for Base (eip155:8453).
Pay per call with USDC — no API keys.

Live API: https://api.blackswanlabs.pl
Landing: https://blackswanlabs.pl


How payment works (2 steps)

  1. Send USDC on Base to the treasury wallet (exact product amount).
  2. Call the endpoint with header:
X-Payment-Proof: 0xYOUR_TX_HASH

The tx-hash is bound to the resource (e.g. contract address). Reuse on another address is rejected. Same hash cannot be replayed for a new paid call (KV anti-replay).

Treasury (Base)

0x21360A04853b85a8d2E918b73f97C8ccf5939946

Asset: native USDC on Base — 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913


Products & prices

ProductMethodPathPrice
Contract scanGET/scan/{address}0.005 USDC
Premium dossierGET/dossier/{address}0.25 USDC
Watchdog (7 days)POST/watch0.50 USDC
Daily threat feedGET/api/feed/daily/YYYY-MM-DD0.01 USDC
Live threat streamGET/stream/threats0.005 USDC / UTC day

Machine catalogs:

Errors: { "error_code": "...", "message": "...", "error": "..." } — branch on error_code.

Settlement: tx_hash_proof (USDC transfer + hash).


Example: scan a contract

1) Pay 0.005 USDC on Base to the treasury

Send exactly 0.005 USDC (or more) to:

0x21360A04853b85a8d2E918b73f97C8ccf5939946

Copy the transaction hash.

2) Call /scan with the proof

PowerShell:

curl.exe -s "https://api.blackswanlabs.pl/scan/0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913" `
  -H "X-Payment-Proof: 0xPASTE_YOUR_TX_HASH_HERE"

bash:

curl -s "https://api.blackswanlabs.pl/scan/0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913" \
  -H "X-Payment-Proof: 0xPASTE_YOUR_TX_HASH_HERE"

Without payment you get HTTP 402 with payment_info (amount, payTo, network).

Response includes status (SAFE / SUSPICIOUS / SCAM), agent verdict (CLEAR / CAUTION / AVOID), verdict_score, risk_flags, and enrichment dossier.


Example: premium dossier (0.25 USDC)

项目描述

Base threat intel API for agents: contract scans + CLEAR/CAUTION/AVOID verdicts, pay USDC via HTTP 402.

相关仓库与替代方案

根据分类、Topic 和编程语言匹配的相似项目。

deerwork-ai
精选
deerwork-ai GitHub avatar

deer-workflow

An open-source Dynamic Workflow runtime that combines deterministic TypeScript orchestration with replaceable Agent runtimes.

AI 与机器学习大语言模型
312
Jakubantalik
精选
Jakubantalik GitHub avatar

thinking-orbs

A React component library that renders six hand-tuned animated thought orb loading indicators on a plain 2D canvas, with two purpose-tuned sizes and automatic theme detection for AI and agent UIs.

AI 与机器学习AI 智能体
1,191
makecindy
精选
makecindy GitHub avatar

cindy

Cindy is an open-source AI agent that runs locally on your machine, integrates multiple AI harnesses and models, and provides memory, skills, and automation to perform real work in your projects and apps.

AI 与机器学习大语言模型
958