Skip to content

Add warning for safe 7702 upgrades#156

Merged
amiecorso merged 3 commits intocoinbase:mainfrom
amiecorso:amie/add-7702-upgrades-warning
Jan 14, 2026
Merged

Add warning for safe 7702 upgrades#156
amiecorso merged 3 commits intocoinbase:mainfrom
amiecorso:amie/add-7702-upgrades-warning

Conversation

@amiecorso
Copy link
Copy Markdown
Contributor

Proactive documentation to help devs avoid unsafe direct 7702-delegation to CoinbaseSmartWallet implementation.

@cb-heimdall
Copy link
Copy Markdown
Collaborator

cb-heimdall commented Jan 14, 2026

✅ Heimdall Review Status

Requirement Status More Info
Reviews 2/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

ilikesymmetry
ilikesymmetry previously approved these changes Jan 14, 2026
README.md Outdated
Comment on lines +81 to +87
## EIP-7702 delegation safety (important)
Do **not** directly delegate to a Coinbase Smart Wallet **implementation** contract via EIP-7702. Delegating directly to an implementation can create a security vulnerability.

Instead:
- Use the `EIP7702Proxy` pattern: [base/eip-7702-proxy](https://github.com/base/eip-7702-proxy)
- See Coinbase Developer Platform docs for further guidance and an examples of performing a safe EIP-7702 upgrade: [EIP-7702 FAQs – safe upgrade](https://docs.cdp.coinbase.com/paymaster/need-to-knows/eip-7702-faqs#how-do-i-upgrade-my-wallet-to-7702)

Copy link
Copy Markdown
Contributor

@stevieraykatz stevieraykatz Jan 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
## EIP-7702 delegation safety (important)
Do **not** directly delegate to a Coinbase Smart Wallet **implementation** contract via EIP-7702. Delegating directly to an implementation can create a security vulnerability.
Instead:
- Use the `EIP7702Proxy` pattern: [base/eip-7702-proxy](https://github.com/base/eip-7702-proxy)
- See Coinbase Developer Platform docs for further guidance and an examples of performing a safe EIP-7702 upgrade: [EIP-7702 FAQs – safe upgrade](https://docs.cdp.coinbase.com/paymaster/need-to-knows/eip-7702-faqs#how-do-i-upgrade-my-wallet-to-7702)
> [!WARNING]
> ## EIP-7702 delegation safety
> Do **not** directly delegate to a Coinbase Smart Wallet **implementation** contract via EIP-7702. Delegating directly to an implementation can create a security vulnerability.
>
> Instead:
> - Use the `EIP7702Proxy` pattern: [base/eip-7702-proxy](https://github.com/base/eip-7702-proxy)
> - See Coinbase Developer Platform docs for further guidance and an examples of performing a safe EIP-7702 upgrade: [EIP-7702 FAQs – safe upgrade](https://docs.cdp.coinbase.com/paymaster/need-to-knows/eip-7702-faqs#how-do-i-upgrade-my-wallet-to-7702)

@amiecorso amiecorso merged commit 503363d into coinbase:main Jan 14, 2026
6 of 10 checks passed
danitalexe added a commit to danitalexe/smart-wallet that referenced this pull request Jan 14, 2026
Dark-Brain07 pushed a commit to Dark-Brain07/smart-wallet that referenced this pull request Feb 14, 2026
* add warning not to 7702-delegate directly to CBSW impl

* update text for gh style warning

* match katzman's
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants