r/ethdev • • 9d ago

Information [Notice] agent-security-gate-x402: 7-Day Transition to Cloud-Native Thin Client (v3.0.0) & Legacy PyPI Yank (Nov 20 – Nov 27)

Hi r/ethdev,

We’re announcing a **7-day transition window (Nov 20 – Nov 27, 2026)** to move our Python SDK/MCP package `agent-security-gate-x402` (`v2.2.1`) from a heavy local bundle to **`v3.0.0` (Cloud-Native Thin Client & Remote Gateway)**.

### Why this matters for EVM / Agent Wallet builders

  1. **Live Threat & Drain Rules > Stale Local Packages:** ERC-20 `approve` / `increaseAllowance` / `permit` drain bypasses, prompt injections, and dangerous AST payloads evolve constantly. Centralizing inspection on our Cloud Gateway guarantees `<5ms` up-to-date defenses and EIP-712 attestation generation without waiting for manual package upgrades.
  2. **Zero-Bloat Client:** Moving away from bundling `fastapi`, `uvicorn`, `web3`, and `eth-account` locally—`v3.0.0` only needs lightweight HTTP/MCP deps (`httpx`, `mcp`) while keeping full **Polygon OMS (`SecurityGateOMSPolicy.sol`), Base AgentKit, and Arbitrum Safe/Stylus** guardrails active on the gateway.

### 7-Day Schedule (Nov 20 – Nov 27, 2026)

* **Nov 20 (Day 1):** Official 7-day transition notice published.

* **Nov 21–23 (Days 2–4):** Remote Gateway & `v3.0.0` Thin Client compatibility verification.

* **Nov 24–25 (Days 5–6):** `v3.0.0` Thin Client published to PyPI; final migration window.

* **Nov 27 (Day 7):** Legacy PyPI releases (`<= v2.2.1`) will be **yanked on PyPI**.

Existing integrations keep working smoothly during the 7-day window.

🌐 Gateway: `https://agent-security-gate-x402-212942243360.asia-northeast3.run.app` (`/docs`, `/llms.txt`, `/.well-known/agent-card.json`)

1 Upvotes

3 comments sorted by

0

u/[deleted] 9d ago

[removed] — view removed comment

1

u/EstablishmentTough18 9d ago

Great question — this is the exact trade-off every Ethereum security team should scrutinize before trusting a gateway in a signing path.

  1. **No local EIP-712 fallback (by design):** A local fallback *cannot* and *should not* mint a valid EIP-712 attestation. The whole point of the on-chain verifier trusting the attestation is that the gatekeeper signing key is isolated server-side — shipping signing capability in a public PyPI package would immediately break the trust model.
  2. **Fail-closed on `approve` / `permit` when unreachable:** If the gateway is unreachable, the thin client fails closed rather than silently letting an unverified `approve` or `permit` go through. However, it doesn't leave the agent with "nothing to show": it returns a structured `FAIL_CLOSED` / `GATEWAY_UNREACHABLE` (`retryable: true`) envelope carrying the `X-Request-ID` / `X-Idempotency-Key` so the orchestrator can cleanly retry with backoff, log the exact halt reason, or escalate to a human multisig/cosigner.
  3. **No torn reads during rule updates:** Rule updates aren't hot-mutated mid-request. They roll out as immutable Cloud Run revisions with health-checked traffic shifting, so any in-flight `approve`/`permit` check evaluates atomically against a single consistent policy snapshot (and the attestation binds the evaluated payload hash).
  4. **Why this is safer than a stale local package:** A stale local ruleset fails *open* silently against newly discovered permit/drainer vectors (producing false-negative ALLOWs), whereas a fail-closed thin client either attests against live rules or halts explicitly. (And per PEP 592, yanking on PyPI doesn't break existing pinned `==` lockfiles — it only stops new unpinned installs from pulling stale local rules.)