Skip to content

[new-plugin] x402-guard v1.0.0#74

Open
mintttch2 wants to merge 1 commit intookx:mainfrom
mintttch2:submit/x402-guard
Open

[new-plugin] x402-guard v1.0.0#74
mintttch2 wants to merge 1 commit intookx:mainfrom
mintttch2:submit/x402-guard

Conversation

@mintttch2
Copy link
Copy Markdown

x402 Guard — AI Bot Spending Firewall

Enforce per-bot spending limits on OKX OnchainOS agents. Every payment must pass through the guard before execution.

What it does

  • guard_check — check payment before signing (approve/soft_alert/block)
  • guard_register — register bot with spending limits
  • guard_stats — get real-time spending stats
  • guard_kill — emergency kill switch

Integration

npx skills add okx/plugin-store --skill x402-guard

Built for OKX Build X Hackathon

AI Bot Spending Firewall for OKX OnchainOS on X Layer.
Enforces per-bot spending limits, logs decisions to GuardLog.sol,
and provides emergency kill switch for rogue AI agents.
@github-actions
Copy link
Copy Markdown
Contributor

✅ Phase 1: Structure Validation — PASSED

Linting skills/x402-guard...

  ⚠️  [W100] suspicious pattern: 'curl ' — contains curl command — external network request
  ⚠️  [W140] SKILL.md references 3 external URL(s) not listed in api_calls: 'http://localhost:3000', 'http://localhost:3000', 'https://www.moltbook.com/m/buildx'. Add them to api_calls in plugin.yaml so reviewers can verify them.

✓ Plugin 'x402-guard' passed with 2 warning(s)

→ Proceeding to Phase 2: Build Verification

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant