Skip to content

0.3.0 — the security layer (shadow) and the x402 Gate hook

Choose a tag to compare

@AgenticFinanceGraph AgenticFinanceGraph released this 16 Oct 13:25
· 20 commits to main since this release
d217ab0

Mirrors the seven security-layer tools the server gained on 16 Oct 2026, all in shadow / log-only mode: agent_pattern, payee_facts, gate_check, agent_pass, blast_radius, canary_register, canary_status. Every answer is a measurement with its time and definition id; nothing is a verdict and nothing is blocked by us.

  • CLI: afg pattern <id>, afg facts <payee> [agent] [usd], afg gate <agent> <payee> <usd> [policy], afg pass <id>, afg blast <id|0xwallet>.
  • bin/x402-gate-hook.mjs: an onBeforePaymentCreation hook for @x402/core 2.x that asks gate_check before signing and aborts on the decisions the operator chooses; fail mode is the operator's (warn by default, abort, allow).
  • Stranger-written fields (declared_name, endpoint, feedback uri/file_uri, tags, caller echoes) now arrive as {untrusted: true, source, text}; a client that read declared_name as a string reads .text.
  • Ten new tests against a stand-in server (26 in all), no dependencies.

How it works, with live figures: https://agenticfinancegraph.com/security