Skip to content

Redeploy hardened SubscriptionManager (+ extensions) to Base Sepolia #8

Description

@KryptosAI

Context

The SubscriptionManager currently deployed to Base Sepolia predates the security hardening landed in 66147b5:

  • Period-bound renewal salts (InvalidSalt) — the deployed version allows one payer signature to be replayed for every remaining period
  • Per-subscription held-balance escrow accounting + sweepCancelledSubscription
  • OZ ECDSA.recover

AgentReputation / CrossChainSettlement extension deployments should be refreshed alongside if addresses are published.

Steps

  1. forge script script/DeployExtensions.s.sol --rpc-url base_sepolia --broadcast (deployer key + gas — maintainer action)
  2. Verify on Basescan
  3. Update README addresses + contracts/deployments/base-sepolia.json + service envs
  4. Add addresses to the weekly sepolia-smoke.yml checks

Acceptance criteria

  • New addresses verified + smoke-tested; README/docs consistent
  • Old address documented as deprecated/vulnerable

Severity: the replay hole is live on testnet (no real funds, but demos and docs point at it).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions