Shankh
RegistryGitHub

ETHGlobal Mumbai 2026

Stolen keys that switch themselves off.

When a software package you installed turns out to be hacked, Shankh proves it and raises an alarm the attacker can’t silence. Then the AWS keys it could reach switch themselves off, before anyone can use them.

Latest alarm · live from Arkiv

shankh-demo 1.0.0

flagged critical
  1. Installed
  2. Caught
  3. Alarm raised
  4. Keys off

“Keys off” happens on the machine that caught it, so this public alarm can’t show it.

Live right now20 alarms on ArkivENS unreachableNamespace locked

01 · What happened

October 2026: a popular AI package got hacked.

LiteLLM — used by AI apps everywhere — shipped a poisoned update. For about two hours, anyone who installed it had their cloud keys quietly copied. A stolen key was first used roughly 4.5 hours later, and nothing stopped it. (It had happened to the same package in March, too.)

  1. What actually happened — LiteLLM 1.107.0, October 2026
  2. 11:39 · poisoned update goes live
  3. 13:20 · PyPI pulls it
  4. ~14:20 · Docker image pulled
  5. ~4.5h · a stolen key is used
  6. With Shankh — how it is designed to go (not yet measured)
  7. caught by the rebuild, minutes in
  8. alarm raised, minutes in
  9. keys switched off, minutes in
  10. The gap between the keys going off and the attacker using one: hours to spare.

Historical timestamps: Datadog, Help Net Security, CSA write-ups; stolen-key timing is a single Wiz observation.

Keys that leak in public get shut off in seconds.Keys stolen by malware get nothing.

02 · What Shankh does

Check it. Raise the alarm. Shut the keys off.

Three steps, all running today. Below, Shankh is watching a machine when a poisoned test package gets installed: it catches it on its own seconds later, and the stolen AWS key is switched off 13 seconds after the install.

1Live

Check

Rebuild the package from its public source code and spot any file that shouldn't be there.

2Live

Raise the alarm

Post a signed alert to Arkiv, and let the real maintainer flag the bad build on ENS. Every other machine can read both.

3Live

Shut the keys off

Switch off the AWS keys registered with Shankh: quarantined, then deactivated — not deleted, so a false alarm can be undone.

All three steps, for real

shankhd — a recorded run, 7 Nov 2026 (real log; AWS account number hidden)
$ shankhd --site-packages ./victim --trust shankh-team.reporters.shankh.eth
03:02:14 shankhd watching ./victim: 1 package installed; trusting shankh-team.reporters.shankh.eth
03:02:17 sweep: 3 packages on ENS, 10 recent alarms from trusted reporters
attacker> aws sts get-caller-identity -> ACCEPTED (the stolen key works)
… someone runs pip install shankh-demo — no other command typed …
03:02:21 new install: shankh-demo==1.0.0 -- rebuilding it from its public source
03:02:24 COMPROMISED shankh-demo==1.0.0 (rebuild) [critical] sitecustomize.py
03:02:31 posted to Arkiv: 0x7b802aa24ddbd5dd76f4290773bcede07f36e22a8ad2b57dffd4f9dc1189b2a6
03:02:34 kill: key AKIA…OQV6 switched off (Inactive); quarantined user shankh-demo-victim (AWSCompromisedKeyQuarantineV3)
attacker> aws sts get-caller-identity -> REJECTED InvalidClientTokenId

Alarms on Arkiv · live

  • shankh-demo@1.0.0critical
    signed by 0xDcbe…Ea91
  • shankh-demo@1.0.0critical
    signed by 0xD729…bC5c
  • shankh-demo@1.0.0critical
    signed by 0xDcbe…Ea91
  • shankh-demo@1.0.0critical
    signed by 0xD729…bC5c
+16 more in the ledger →

Trusted reporters · on ENS, live

A machine only acts on alarms from reporters it chooses. Each one is an ENS name that publishes the wallet they sign with — and only they can change it.

Couldn’t read ENS just now.

sitecustomize.py runs automatically every time Python starts — and it isn’t in the package’s public source. That’s the same trick the real LiteLLM attack used.

03 · Built on three partners

Three partners, three jobs.

ENS holds the switch. Arkiv carries the evidence. And open Ethereum networks mean there's no one in the middle.

How the three fit together

Shankh runs on your own machine. On one side, ENS holds what maintainers and reporters say about themselves. On the other, Arkiv carries the alarms machines send each other. Dashed parts aren’t built yet.

The package's real maintainer

Flags a bad build from their own wallet, through the package’s KillSwitch.
ENS · Sepolia

Names nobody can seize

<pkg>.pypi.shankh.eth↳ shankh.revokedbad builds, writable only by that package’s KillSwitch<name>.reporters.shankh.eth↳ shankh.signerwhich wallet a reporter signs with, writable only by themCouldn't read ENS just now

PyPI · the public source code

What the package is supposed to contain.

bad-builds list for every package

which reporters you trust

public source, to rebuild against

Your machine · runs locally

Shankh

1 Check

Rebuild each package from its public source and compare, file by file.

shankh verify

2 Sweep

Compare everything installed against every flagged build on ENS, and every trusted alarm on Arkiv, re-checked here.

shankh scan --trust

3 Act

Switch off the AWS keys registered with Shankh: quarantined, then deactivated.

shankh.kill.respond()

signs what it found

alarms from reporters you trust

Arkiv

Signed alarms anyone can read

shankh.reportpackage, version, exact build, what was wrong — signed by whoever found it, recorded by Arkiv.20 signed alarms · read just now

Every other machine running Shankh

Picks up the alarm in seconds, checks it for itself, and only then acts.

Ethereum Foundation · CROPSEvery arrow is a direct call to a public network. There’s no Shankh server in the picture to hack or switch off.

Next private chain reads (Anon-RPC)

ENS · Best Use of ENSv2

The switch nobody can seize

Every package gets an ENS name. The real maintainer flags bad builds there, from a wallet the attacker never stole — and we locked the name space so even we can't interfere.

Without it, the alarm would sit on someone's server, and whoever controls that server controls the alarm.

Name space locked · read just nowSee it up close ↓

Arkiv · Build on Arkiv

The shared evidence

When one machine catches a bad package, it signs what it found onto Arkiv. Any other machine can read that alarm and check it for itself — no central feed to trust.

Without it, every machine would catch the attack alone, or rely on a single feed that could be faked or switched off.

20 signed alarms · read just nowSee the live alarms ↑

Ethereum Foundation · Best CROPS App

No one in the middle

Shankh runs on your own machine and talks straight to public networks — PyPI, Sepolia, Arkiv. There's no Shankh server to take down, pressure or hack. This page is only a window: switch it off and the check still runs.

Without it, Shankh would be one more service you'd have to trust.

Sepolia block #12194070How it scores on CROPS ↓

Ethereum Foundation · CROPS, letter by letter

CLive

Censorship-resistant

Nobody can delete the alarm — not the hacked publisher, and not us. It lives on ENS and Arkiv, not on a server.

OLive

Open source

Every line is public on GitHub under the MIT license — run it yourself, no account needed.

PPartly

Private

What's installed on your machine and which keys you hold stay on it. Only the verdict on a package is published. Private chain reads (Anon-RPC) come next.

SLive

Secure

Proven, not trusted: packages are rebuilt from source, only the maintainer's switch can flag a build on ENS, and a stolen AWS key switches itself off in seconds. Next: finding keys without registering them.

04 · Why the alarm can't be silenced

The alarm lives on ENS, where the attacker — and even we — can't touch it.

Someone who steals a maintainer's PyPI or GitHub login can publish bad code. They still can't change what's on ENS, because that's controlled by a separate wallet.

The name chainshankh.ethpypi.shankh.ethshankh-demo.pypi.shankh.eth

We locked the name space

We created pypi.shankh.eth, then gave up our own power to change it or take back names in it — permanently.

✓ Locked · checked just now

Two keys, two locks

The package's maintainer can only set where its code lives. Our kill-switch contract can only set the list of bad builds. Neither can touch the other's.

✓ Source set by maintainer

Flag fast, unflag slow

Only the maintainer can flag a bad build, and it works instantly. Unflagging waits 48 hours, so someone with a stolen wallet can't quietly undo it.

3 builds flagged

We tried to break it — using our own deploy key.

Every time this page loads, both attacks are re-tried against the live Sepolia network. This is what the chain says right now.

Take back control of the name space✓ Blocked by Sepolia
Show the raw errorEACCannotGrantRoles(0, 7237005577332262213973186563140405376786684291341514916453779499572452659456, 0xDcbe075a907960951Cd4df379BB21461097eEa91)
Write the bad-builds list without the kill switch✓ Blocked by Sepolia
Show the raw errorEACUnauthorizedAccountRoles(2844021095337237841129806607665185525430769143835556004274213054207323074410, 16, 0xDcbe075a907960951Cd4df379BB21461097eEa91)

Every package in the registry, checked live

20 alarms on Arkiv

Open the registry →

05 · Where it stands

One catches it. Everyone is saved.

What you just saw is real. Here’s what’s live, and what’s next.

Live today

  • Catches a real malicious package by rebuilding it from source
  • Switches the stolen AWS key off in seconds: quarantined, then deactivated
  • Watches installs on its own and checks each one as it lands
  • Signs the alarm onto Arkiv, and acts on trusted reporters' alarms after re-checking them
  • Reads every maintainer's ENS kill switch, and treats a flagged build as critical
  • ENS namespace we provably can't take back

Next

  • Finding every key a package could reach on its own (today you register them)
  • Docker images and other ecosystems beyond Python
  • Private chain reads (Anon-RPC)

More detail

For the technically curious.

01 · How it works, step by step+
  1. 01

    Noticenot yet

    Watch installs; map which credentials each package could reach.

  2. 02

    Verifybuilt

    Rebuild from the public sdist, diff file-by-file against what's installed.

  3. 03

    Provebuilt

    Fold in the maintainer's ENS revocation; a revoked artifact is critical regardless of the diff.

  4. 04

    Killnot yet

    Quarantine, then deactivate the reachable AWS key. Deactivate, never delete.

  5. 05

    Reportbuilt

    Sign the result to Arkiv so every other machine can check it.

02 · Every package, the full ENS setup and the on-chain ledger→ Registry