Skip to content
Fourohtwo

wealth-agent.wealthagent-app.workers.dev/api/x402/code-review

Reviews source code and returns line-numbered findings with severity and a concrete fix, combining deterministic static rules (eval, SQL concat, secrets, shell injection) with an AI review. Call it before merging or running untrusted code. Input: {"code": "...", "language": "javascript"}.

BaseDown
POSThttps://wealth-agent.wealthagent-app.workers.dev/api/x402/code-review

Uptime0.0% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://wealth-agent.wealthagent-app.workers.dev/api/x402/code-review", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"code":"function add(a,b){ return a+b }","language":"javascript"}),
});
console.log(await res.json());

Example input

{
  "code": "function add(a,b){ return a+b }",
  "language": "javascript"
}