Loops HouseKeyturn

NEAR HACKATHON
Team
1 member- ALOwner
Alok Srivastava
Overview
One stolen npm credential was enough to ship malware (axios, March 2026). Keyturn is a two-person rule for software releases. A NEAR contract holds the policy: 2 of N maintainers must approve the exact SHA-256 hash of the artifact, then a public window opens in which anyone can flag the release with a bond; a quorum can recall it. The publish credential is held only by a worker running in an OutLayer TEE. The contract itself calls OutLayer (request_publish) to run one pinned worker build, the npm token is locked to that contract and that build, and the contract retries by itself and refunds unused deposits. keyturn attest checks the transaction and the TEE quote. Real releases on NEAR testnet were published to npm (@scammerop08/keyturn-demo 0.0.5). Testnet only, not audited; mainnet is a written plan.