Python Bytes

#498 A Tiny Episode

11 snips
Sep 29, 2026
A chilling PyPI supply-chain attack turns compromised packages into credential-stealing, self-propagating malware. TinyMongo offers an in-process MongoDB-compatible option, while Jev explores typed model outputs and open alternatives. Plus, a seemingly harmless __dict__ read can permanently slow Python attribute access, and a dungeon crawler makes Python 3.15 features feel like a game.
Ask episode
AI Snips
Chapters
Books
Transcript
Episode notes
ADVICE

Responding To The MemoryOS Supply Chain Attack

  • Downgrade compromised MemoryOS and OpenClaw versions, then rotate every credential reachable from your home directory.
  • Kill running sckit processes and inspect repositories for runtime-update.yml workflows or .sckit directories because the malware spreads through stolen tokens.
INSIGHT

Import-Time Malware Turns Package Theft Into A Worm

  • The attack launches a Go implant on import, so avoiding package installation scripts does not prevent compromise.
  • Sckit steals PyPI, GitHub, SSH, cloud, and environment credentials, then uses them to infect additional repositories and packages.
ADVICE

Harden CI Pipelines Against Package Hijacking

  • Harden CI release pipelines because attackers modified GitHub Actions and abused publishing credentials before legitimate releases ran.
  • Review token access, isolation, and sandboxing rather than assuming the CI platform itself caused the vulnerability.
Get the Snipd Podcast app to discover more snips from this episode
Get the app