Survey, 11 October 2026
What 96 Midnight apps give away
Every public GitHub repository linked from a Midnight Buildathon submission on AKINDO, cloned at its default branch and scanned with Tell. Compiler chosen per contract from its pragma, preferring 0.31.1 (the compiler for Ledger 8, the ledger live when the survey ran).
- 96
- projects analyzed, from 111 repositories linked on AKINDO
- 248
- Compact contracts compiled and traced, circuit by circuit
- 46%
- publish a fixed tag that ties a user’s transactions together
- 15
- leak something private at medium severity or worse
Grades
Each project is graded by its worst contract. Most are clean or carry only low-risk notes.
- A 47 projects
- B 34 projects
- C 14 projects
- D 0 projects
- F 1 project
The pattern most apps share
46% of projects identify a user by a hash of their secret key, the way Midnight’s own examples do, and publish it on every call. The key stays safe, but every transaction carrying that tag can be tied to the same person: register, vote, reveal; bet, bet, claim.
// the common pattern const me = persistentHash([pad(32, "app:pk"), localSk()]); bets.insert(roundId, disclose(me)); // same value, every bet // one-time tags instead const tag = persistentHash([pad(32, "app:bet"), localSk(), roundId]);
Fine for a one-time registration or a nullifier. For repeated actions, Tell flags it, and the staff-board case in the zoo shows the fix with a Merkle membership proof.
Projects with each kind of finding
| Kind | critical | high | medium | low | info |
|---|---|---|---|---|---|
| Linkable tag | · | · | · | 19 | 29 |
| Published value | · | · | 2 | 39 | 86 |
| Published yes/no fact | · | · | · | · | 35 |
| Same tag on every action | · | · | 10 | 5 | · |
| Secret-dependent branch | · | · | 2 | 10 | 11 |
| Guessable hash | 1 | · | · | 4 | · |
Counts are projects, not findings. Info-level rows are values published on purpose, listed so nothing is hidden.
The serious ones
Every finding at medium or above was read by hand against the source before it was counted. No team is named here; findings are for the team concerned, and a team is named only with its agreement.
- criticalProject 04A private value sits behind a hash with too few possible inputs; brute force recovers it
- mediumProject 12Which ledger operations run depends on private data (a branch or a count shows on chain)
- mediumProject 17A private value is written to the ledger in readable form
- mediumProject 33Every repeated action stores the same tag derived from a key, so one user’s actions line up
- mediumProject 37Which ledger operations run depends on private data (a branch or a count shows on chain)
- mediumProject 45Every repeated action stores the same tag derived from a key, so one user’s actions line up
- mediumProject 53A private value is written to the ledger in readable form
- mediumProject 58Every repeated action stores the same tag derived from a key, so one user’s actions line up
- mediumProject 61Every repeated action stores the same tag derived from a key, so one user’s actions line up
- mediumProject 65Every repeated action stores the same tag derived from a key, so one user’s actions line up
- mediumProject 72Every repeated action stores the same tag derived from a key, so one user’s actions line up
- mediumProject 82Every repeated action stores the same tag derived from a key, so one user’s actions line up
- mediumProject 84Every repeated action stores the same tag derived from a key, so one user’s actions line up
- mediumProject 91Every repeated action stores the same tag derived from a key, so one user’s actions line up
- mediumProject 92Every repeated action stores the same tag derived from a key, so one user’s actions line up
What the survey could not see
117 of 365 contract files were not analyzed:
- 52 do not compile with any compiler its pragma allows
- 58 are experiments, test fixtures or include files that do not compile on their own
- 7 target a language version no released compiler supports
Tell only sees what a contract does on chain. It cannot see what a frontend or server does with the same data, and it cannot tell intent: a value published on purpose looks the same as a leak, which is why most published values are listed as info.
Reproduce it
git clone https://github.com/RohanGlitched/tell cd tell && npm install # clone the public repositories linked from AKINDO submissions into ~/survey npx tsx engine/scripts/survey.ts ~/survey survey/results.json npx tsx engine/scripts/summarize.ts survey/results.json web/data/survey.json
Each result is pinned to the commit that was scanned, so a fixed repository shows up as fixed on the next run.