Skip to content
conflictMEDIUM2026-04-18 03:55 UTC

Why ownPublicKey() Is Unsafe for Access Control in Compact

Why ownPublicKey() Is Unsafe for Access Control in Compact There's a pattern I see in early Midnight contracts that looks completely reasonable at first glance and is completely broken in practice. It goes like this: store the owner's public key in the ledger at initialization, then check ownPubli

ADVERTISEMENT
⚡ STAY AHEAD

Events like this, convergence-verified across 689 sources, land in your inbox every Sunday. Free.

GET THE SUNDAY BRIEFING →

RELATED · conflict