Sign inSign up

credkellar/monaddb-re

By credkellar

โ€ขUpdated 4 days ago

A synthetic MonadDB + paywall RE lab: proves plain DB tickets fail (95/100), signed proofs hold (5).

Image
Machine learning & AI
Developer tools
Databases & storage
1

79

credkellar/monaddb-re repository overview

โ ๐Ÿ—„๏ธ MonadDB-RE

CI Docker Publish Python Dependencies Tests Checks HOLD gates Gemini Carbon 4 Meta Muse License

๐Ÿงช A synthetic, defensive reverse-engineering lab: a pretend MonadDB (Merkle-Patricia trie, MDB1 dumps, root recompute) fused with six paywall mechanisms โ€” built to answer one question with proof: what happens when the paywall's entitlement ticket lives inside the database itself?

โ โš–๏ธ The verdict, proven with numbers

Entitlement designBypass scoreVerdict
๐Ÿ“„ Plain leaf in the DB (client-trusted)95 / 100โŒ Forgeable โ€” anyone holding the DB rewrites it
๐Ÿ”ข Rollbackable counter leaf90 / 100โŒ Client-trusted โ€” roll it back, replay it
๐Ÿ” Signed proof checked against the server root5 / 100โœ… Sound โ€” the stamp can't be forged

โ ๐Ÿงฉ What is inside

  • ๐Ÿ—„๏ธ Synthetic MonadDB โ€” MPT storage, MDB1 dump files, independent root recomputation
  • ๐Ÿšช Six paywall mechanisms โ€” the classic doors, rebuilt as synthetic samples
  • ๐Ÿง  Two brains โ€” Gemini Carbon 4 Extended Thinking (DECIDER) + Muse (advisor only, never overrides a HOLD)
  • ๐Ÿค– From-scratch AI โ€” a tiny LLM/SLM + ML (kNN 0.95, MLP 1.0) + neural layer, zero libraries
  • ๐Ÿ“ฆ App-Data-Compressor port โ€” CDC chunking + dedup for DB dumps
  • ๐Ÿ”’ sandbox-api chamber โ€” record-only; it classifies samples and never executes them

โ โ›” HOLD gates

12 named gates permanently refuse live actions โ€” attacking a real database, bypassing a real paywall, touching paid content or DRM, signing anything live. Neither brain can override them.

โ ๐Ÿš€ Run it

docker pull credkellar/monaddb-re
docker run --rm credkellar/monaddb-re

The container runs the lab's self-check: CHECKS 28/28, VERDICT: PROCEED (the --hold-demo proves the gates hold). ONE interface (main.py), zero dependencies.

Tag summary

Content type

Image

Digest

sha256:51b90d097โ€ฆ

Size

49.9 MB

Last updated

4 days ago

docker pull credkellar/monaddb-re