We propose restricting CosmWasm code uploads on Terra to governance-approved wallet addresses, replacing the current permissionless system.
This reduces the attack surface from malicious contract code while allowing approved developers to continue deploying contracts without unnecessary delays.
Our core development team has already tested the upload permission changes locally against the latest Terra mainnet version.
Initial Whitelist
We propose whitelisting the identified upload addresses of established Terra protocols, including Astroport, ERIS, Backbone Labs, WhiteWhale, Solid, Openfields and other active builders.
Existing contracts remain unaffected, and contract instantiation remains permissionless.
KYC for Authorized Uploaders
We would also like community feedback on whether Phoenix Foundation (PF) should coordinate a KYC process through an independent third-party service provider for authorized uploaders, including future developers requesting access.
Under this approach:
- KYC would be conducted exclusively by a third-party service provider, not PF.
- PF would only coordinate verification and confirm publicly in the relevant governance forum discussion whether KYC requirements have been fulfilled, without accessing or disclosing personal information.
- Neither PF nor the KYC provider would evaluate or approve developers or projects.
- Governance retains full authority over approving new uploaders and modifying or revoking whitelist permissions.
- KYC verification would never independently grant upload permissions.
Community Feedback
Should Terra require third-party KYC verification for all authorized code uploaders, with PF coordinating the process?
We welcome feedback on this additional security measure. The initial whitelist can proceed without delaying implementation while a formal KYC process is established.
Proposed Governance Implementation
The governance proposal would introduce an initial whitelist of authorized CosmWasm code uploaders, based on established Terra protocols and their existing deployment addresses.
Proposed Whitelisted Wallets
| Protocol / Project | Uploader | Wallet Address |
|---|---|---|
| Astroport | André | terra137d4mxc78fcsw70mfha0l63x030q6gr6gtxxyw |
| BackBone Labs | Thomas | terra136k9wsvxg5gqdljydzyluepk4h8ufnlu5p9sy6 |
| ERIS / Creda / Votion | Philipp | terra1kefa2zgjn45ctj32d3tje5jdwus7px6n2klgzl |
| Openfields / Atrium / Solidcapa | Daniel | terra1cqc26lnatzxvu0z5nd4yx8m4ecllkm7jlj6nna |
| Boost DAO | Boost Intern | terra18xcx0vq9szk4kczgk289g3l9t9yt70t4ygkg9z |
| AetherVerge / Voxxelkitties | REgeX | terra1m5e8x8m60s4545kfqfzfxfqq78dxmcdjeeq3zq |
| Lion DAO | Usaf | terra18gvnge5wvrmfynu6kep96hel9p8xmqzljerxqr |
We have confirmed these addresses with their respective owners. However protocols should still re-verify the following governance message.
Proposed Governance Message
{
"messages": [
{
"@type": "/cosmwasm.wasm.v1.MsgUpdateParams",
"authority": "terra10d07y265gmmuvt4z0w9aw880jnsr700juxf95n",
"params": {
"code_upload_access": {
"permission": "AnyOfAddresses",
"addresses": [
"terra137d4mxc78fcsw70mfha0l63x030q6gr6gtxxyw",
"terra136k9wsvxg5gqdljydzyluepk4h8ufnlu5p9sy6",
"terra1kefa2zgjn45ctj32d3tje5jdwus7px6n2klgzl",
"terra1cqc26lnatzxvu0z5nd4yx8m4ecllkm7jlj6nna",
"terra18xcx0vq9szk4kczgk289g3l9t9yt70t4ygkg9z",
"terra1m5e8x8m60s4545kfqfzfxfqq78dxmcdjeeq3zq",
"terra18gvnge5wvrmfynu6kep96hel9p8xmqzljerxqr"
]
},
"instantiate_default_permission": "Everybody"
}
}
],
"metadata": "",
"deposit": "5000000000uluna",
"title": "Restrict CosmWasm Code Uploads to Governance and Whitelisted Addresses",
"summary": "This proposal strengthens Terra network security by restricting CosmWasm code uploads to an initial whitelist of approved developer addresses. The change reduces the attack surface associated with unrestricted contract uploads while allowing established protocols to continue development. Existing smart contracts remain unaffected, and contract instantiation remains permissionless. Future additions or removals of authorized uploaders require governance approval. A potential third-party KYC process for uploaders is subject to separate community discussion and is not introduced by this proposal.",
"expedited": false
}