A2SPA — Execution-Time Authorization
Threat Model & Superchain Interoperability Note
Independent technical working note • Optimism / Superchain context • September 2026
Purpose
This note responds to technical feedback on whether A2SPA can provide a distinct execution-integrity primitive for Superchain applications. It deliberately narrows the claim: A2SPA is not presented as a complete transaction-security, economic-correctness, or OP Stack protocol-security solution.
Core claim under test: when an application authorizes a specific executable action upstream of execution, can a verifier establish immediately before release that the exact action reaching the execution boundary is the action that was authorized, subject to explicit constraints, freshness, domain and policy conditions?
The recommended next step is validation through an application-layer prototype and adversarial testing before any consideration of an optional Superchain-compatible SDK or standard.
1. Scope and Non-Goals
A2SPA is an execution-time authorization model for structured execution requests. The current independent technical working draft describes deterministic cryptographic validation at the execution boundary. Its stated scope excludes natural-language prompt validation, model alignment, semantic correctness, business correctness, legality and desirability of an upstream decision.
In scope
- Binding a concrete executable payload to an authorization artifact.
- Authenticating the authorization source under the deployment’s defined trust model.
- Binding relevant target, parameters, constraints, domain, nonce and freshness data.
- Detecting unauthorized payload mutation, stale authorization and replay where the corresponding controls are implemented and enforced.
- Fail-closed verification at the designated release/execution boundary when required conditions are not met.
Not claimed
- A guarantee that an authorized transaction is economically beneficial or semantically correct.
- Protection against every compromised signer, malicious contract, oracle failure, chain reorganization or adverse market movement.
- A replacement for smart accounts, session keys, multisig, intent systems, simulation, fraud detection, wallet controls or application policy.
- Mandatory changes to the OP Stack or Superchain protocol.
2. Threat Model
The relevant adversary is assumed capable of influencing or modifying an execution request after an upstream authorization decision, or replaying a previously authorized request, without possessing the cryptographic authority required to create a valid new authorization. The exact trust boundary must be specified by each deployment.
| Threat / failure mode |
A2SPA control to test |
Residual limitation / responsibility |
| Payload mutation |
Canonical representation + signed payload binding; mismatch → reject |
Only protects fields actually included in the signed/bound representation. |
| Wrong target / function |
Bind destination, function and domain data |
Does not make the target contract trustworthy. |
| Wrong amount / parameters |
Bind relevant parameters and explicit limits |
Economic suitability still depends on policy/state conditions. |
| Replay |
Nonce, freshness/expiry and domain binding |
Nonce lifecycle and state management remain deployment responsibilities. |
| Stale authorization |
Expiry/freshness constraints |
Policy must define what “fresh enough” means. |
| Cross-domain replay |
Chain/domain/destination binding |
Cross-chain systems add ordering, delay and destination-state assumptions. |
| Revocation |
Explicit revocation/status mechanism where required |
Revocation authority and availability must be defined. |
| Upgradeable implementation |
Optional implementation/version/policy binding |
Does not independently establish that an upgrade is safe. |
| Partial execution |
Explicit atomicity/completion semantics |
A2SPA cannot infer business-level completion. |
| Dynamic state |
Explicit state-dependent constraints evaluated by the relevant layer |
A2SPA does not itself determine market/business correctness. |
| Verifier bypass |
Verifier must be on the enforced release path |
If execution bypasses the verifier, its guarantee does not apply. |
| Issuer compromise |
Signature proves authorization, not honesty of issuer |
Key management and policy authority remain external assumptions. |
3. Dynamic-State Boundary
The key distinction is between authorization integrity and state-dependent correctness. A transaction can reproduce the exact authorized calldata while external state has changed. A2SPA should therefore not equate an exact payload match with economic safety.
For state-sensitive actions such as swaps, an application can define explicit constraints where appropriate—for example minimum received amount, maximum spend, deadline, permitted venue, asset pair, oracle bound or another deterministic condition. The responsible policy/execution layer must evaluate those conditions against relevant state. A2SPA can bind the resulting authorization and enforce the execution-time match, but should not claim to independently judge economic correctness.
Example: if an authorized swap specifies “sell no more than X and receive at least Y before deadline T on the specified venue,” an execution request violating those explicit constraints should not satisfy the authorization. If no price/slippage condition was authorized, A2SPA cannot infer one.
4. Trust Assumptions
A credible implementation needs a defined authorization issuer, key-management model, canonicalization/signing profile, nonce/freshness source, verifier, enforcement point and executor. Cross-chain deployments additionally require explicit assumptions about source/destination domains, message authenticity, ordering/finality and replay domains.
The security property is conditional: if the verifier is bypassable, the authorization authority is compromised, or the signed representation omits security-relevant execution fields, the intended guarantee does not hold.
5. Verification Layer and Bypass Resistance
The prototype should test both (a) application/middleware verification immediately before release and (b) smart-account/module enforcement where the account itself rejects execution that fails authorization verification.
The critical requirement is not merely that a verifier exists; it must be on an enforcement path the executor cannot silently bypass. The prototype should enumerate every execution path and identify which are covered.
6. Revocation, Expiry, Nonces and Replay
Each authorization needs an explicit validity model: unique nonce or equivalent replay identifier, expiry/freshness condition, domain identifier, and lifecycle of consumed/invalidated authorizations. Revocation should specify its source and behavior when that source is unavailable.
Cross-chain deployments must prevent an authorization valid for one domain from being accepted unintentionally on another. Domain separation should cover the relevant chain/application/executor context according to actual protocol semantics.
7. Upgrades and Partial Execution
Upgradeable contracts create a separate trust problem. If an authorization assumes a particular implementation, the application may bind an implementation identifier, version, policy hash or other explicit condition. This does not establish that the implementation is safe; it prevents silent substitution from being treated as the same authorized execution when the deployment chooses to make implementation identity part of authorization.
For multi-step workflows, authorization must define whether it covers one atomic transaction, an ordered set of steps, or separately authorized actions. A2SPA should not infer business-level completion from a partial receipt.
8. Comparison with Existing Controls
The objective is complementarity, not replacement. This comparison identifies the boundary to test; it does not claim that existing mechanisms are insufficient in every deployment.
| Mechanism |
Primary capability |
Question A2SPA tests in addition |
| Smart-account modules |
Programmable account-level authorization/policy |
Can the concrete payload released after policy authorization be bound to and re-verified against the authorization artifact? |
| Session keys |
Delegated authority with scope/time/policy |
Can a specific delegated execution be bound to an exact payload and freshness/domain context? |
| Multisig |
Multiple-party approval |
Can the exact action approved by signers be distinguished from a later/transformed execution request? |
| Intent constraints |
Desired outcomes / execution conditions |
Can the concrete execution request be bound to the authorized conditions without conflating integrity with economic correctness? |
| Simulation / pre-flight |
Estimate or validate likely outcome before submission |
Does the final released action remain bound to what was authorized after intermediate processing? |
| Fraud / monitoring |
Detect suspicious behavior |
Can a deterministic cryptographic authorization check occur at the execution boundary? |
9. Proposed Application-Layer Prototype
Before proposing OP Stack-level integration, the recommended experiment is a narrow, reproducible application-layer prototype with an adversarial test suite.
Prototype flow
- Application/policy layer defines an executable action and explicit constraints.
- Canonicalizer produces a deterministic representation of security-relevant fields.
- Authorization artifact binds payload hash, target/domain, nonce/freshness and selected constraints; issuer signs it.
- Executor receives the executable action and authorization artifact.
- Verifier recomputes the representation and checks signature, domain, nonce/freshness and constraints.
- Only successful verification may release execution.
- Adversarial tests mutate payload fields, replay artifacts, alter domain/chain identifiers, change deadlines/limits, modify intermediary outputs and attempt verifier bypass.
- State-sensitive tests separately demonstrate the difference between exact-payload integrity and explicit dynamic-state constraints.
Initial test cases
- ERC-20 transfer: mutate recipient and amount after authorization.
- Contract call: mutate target/function/arguments.
- Swap-like action: preserve calldata while changing market state; demonstrate that payload matching alone does not assert economic correctness.
- Replay: submit the same authorization twice.
- Stale execution: execute after expiry.
- Cross-domain replay: submit valid authorization under a different chain/domain context.
- Delegated workflow: modify the action after an agent/intermediary produces the final request.
- Verifier bypass: attempt an alternate path that does not invoke the required verifier.
- Upgradeable target: change implementation identity where the application has chosen to bind it.
10. Validation Metrics
The prototype should measure technical properties rather than claim ecosystem-wide security impact.
- Verification correctness: authorized requests accepted; modified/invalid requests rejected.
- Replay resistance under the defined nonce/domain model.
- Bypass coverage across known execution paths.
- Constraint correctness for explicit limits.
- Additional gas and latency on representative flows.
- Deterministic failure behavior and fail-closed enforcement where required.
- Developer integration cost and interface complexity.
11. Potential Superchain Integration — Only If Validated
If the prototype demonstrates a distinct gap not adequately covered by existing account, session-key, multisig, intent or policy mechanisms, the least invasive Superchain path should be evaluated first.
- Optional SDK/reference implementation for Superchain applications.
- Standardized authorization-artifact format or interoperability profile.
- Smart-account/module adapters where applications choose execution enforcement.
- Application/middleware adapters for transaction or intent pipelines.
- Only later, if there is demonstrated ecosystem-wide value and a clearly defined protocol requirement, consider deeper OP Stack integration.
No mandatory OP Stack enforcement is proposed at this stage.
12. Open Technical Questions
- What exact execution boundary is authoritative for a Superchain application?
- Which existing smart-account, session-key, multisig or intent mechanisms already provide the proposed property, and where do they stop?
- Which fields must be canonicalized and bound for representative transaction types?
- Which dynamic-state conditions belong in the authorization artifact versus the application/policy layer?
- What is the appropriate revocation and freshness model for delayed and cross-chain execution?
- What cross-chain semantics must be bound to prevent unintended replay or message substitution?
- What verifier placement provides meaningful bypass resistance without protocol-level changes?
- What gas and latency overhead is acceptable?
- Which parts, if any, merit standardization rather than remaining application-specific?
13. Current Status
A2SPA currently exists as an independent technical working draft rather than an adopted standard, IETF document, certification or security audit. The public repository identifies specification v0.9.2 and explicitly requests external review of security assumptions, canonicalization, replay/nonce/timestamp handling, deployment/bypass risks, conformance and implementation edge cases.
This note is therefore a technical-validation document, not a claim that the protocol has already established these security properties in production.
14. Recommended Next Step
Build and test the application-layer prototype, publish the adversarial test results, and document the comparison against existing authorization mechanisms. Only after that evidence exists should a Superchain proposal be considered. If the gap is validated, an optional SDK, interoperability profile or application integration is the more proportionate first target than mandatory OP Stack enforcement.
The resulting proposal should define scope, deliverables, security review, maintenance responsibility, adoption targets and measurable success criteria.
Appendix — Positioning in One Sentence
A2SPA does not determine whether an action is safe or economically correct; it is intended to provide cryptographic evidence, at the execution boundary, that the concrete action being released is the action that was authorized under the defined authorization constraints.
This distinction is the central hypothesis to validate with the Optimism/Superchain community.
Sources consulted
- Optimism Collective: “Exploring execution-time authorization for Superchain applications” (September 24, 2026).
- Optimism Collective: “Grant Application: superchain-guard” and associated governance review (May 2026).
- Optimism Collective: “Superchain accounts: Mission updates” (2024–2025).
- AI Blockchain Ventures: A2SPA Core Protocol, independent technical working draft v0.9.2.
Claims are intentionally scoped; this document does not imply Optimism endorsement.