Package Paranoia - Open Source Package Scanning
Supply-chain attacks on open-source packages aren’t hypothetical anymore. Every few weeks there’s another story about a malicious package sneaking onto PyPI or npm — sometimes hiding behind a name that looks just close enough to something popular, sometimes just brand new and hoping nobody looks too closely before enough people install it.
I got curious how hard it would be to keep an eye on that myself, so I put together a small automated pipeline that watches both registries for newly published or updated packages around the clock. Most of what shows up isn’t worth a second look, so before anything gets a deeper scan, it has to clear a quick filter: is this package unusually popular, does its name look like it’s impersonating something well-known, or is it brand new with basically no track record? Those are the shapes that most real incidents actually take.




![Featured image for SOC work. A walk through the trenches. [Part 1]](/posts/soc-work-a-walk-through-the-trenches-part-1/military.webp)