Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    P

    Phylum Blog

    blog.phylum.io · Company blog · on HN since 2020

    Phylum, a software supply chain security company, reports on malicious packages found in PyPI, npm, crates.io, and other ecosystems.

    Visit blogHN submissions
    SecurityOpen Source & Linux
    What HN says

    HN commenters cite its malware research on package registries, and a co-founder says the company monitors and reports on supply chain attacks across ecosystems.

    Stats for nerds
    30HN people shared it
    45linked in comments
    1.3Kstory points
    Jun 2025last shared
    2023people per year2025

    Top posts on HN

    1. 1
      Dozens of malicious PyPI packages discovered targeting developers
      1 person · 754 points · first shared 2022 · 321 comments on HN
    2. 2
      70% of new NPM packages in last 6 months were spam
      1 person · 225 points · first shared 2024 · 111 comments on HN
    3. 3
      Malicious Python packages replace crypto addresses in developer clipboards
      2 people · 92 points · first shared 2022 · 46 comments on HN
    4. 4
      Aggressive Attack on PyPI Attempting to Deliver Rust Executable
      1 person · 69 points · first shared 2023 · 24 comments on HN
    5. 5
      PyPI Suspends New User and Project Creation in Wake of Malware Campaign
      2 people · 17 points · first shared 2024 · 7 comments on HN
    6. 6
      Using Entropy to Identify Obfuscated Malicious Code
      2 people · 17 points · first shared 2021 · 5 comments on HN
    7. 7
      Python Crypto Library Updated to Steal Private Keys
      1 person · 9 points · first shared 2024 · 1 comments on HN
    8. 8
      Malicious Go Binary Delivered via Steganography in PyPI
      2 people · 7 points · first shared 2024 · Discussion on HN
    9. 9
      Spark and Rust – How to Build Fast, Distributed and Flexible Analytics Pipelines
      2 people · 6 points · first shared 2021 · Discussion on HN
    10. 10
      Malicious Python Code Gains Execution
      1 person · 6 points · first shared 2024 · Discussion on HN

    What HN people wrote when they linked it

    • louislangSep 2023

      Happy to see this on HN! I'm one of the co-founders @ Phylum.

      We actively monitor and report on malware and software supply chain attacks across multiple ecosystems. Most notably, we were the first to identify and report on attacks carried out by North Korean state actors in NPM [1], prevented an early typosquat campaign against Rust developers on crates.io [2] and recently a faux email validation utility with a fairly complicated attack chain [3].

      We've been monitoring npm the longest, and while I wouldn't classify this particular attack as complex or sophisticated, it's interesting in that it continues the trend of targeting build systems (and more generally, developers).

      Our goal is to help clean up as many of these registries as possible, and to provide developers with the tooling to better protect themselves from attack. In doing so, we're open sourcing as many things as we can. We recently open sourced our sandbox [4] that helps lock down disk/networking/env during process execution and have baked this into our open source cli so you can do things like:

      phylum npm install <pkg>

      To be clear, this particular package did not execute code during install, so the sandbox wouldn't have come into play, but it would have been blocked by the pre-check against Phylum's API.

      Would greatly appreciate any feedback on our extensions and suggestions for improving our sandbox! We recently had a few individuals submit some great issues and suggestions, which we absolutely…

    • lolinderAug 2024

      So we're specifically talking about the tea.yaml spam. More than any other topic that seems like one that is worth digging into details on rather than just shrugging and saying isolating causality is hard.

      If we look at the chart in the original article [0] that this one is a follow up to, the NPM spam suddenly picked up around the end of February, with new packages per day first doubling and then tripling. So this 70% figure is specific to the last 6 months, not something that has been the case with the ecosystem for a long time.

      That makes tracing causality much simpler: the Tea protocol seems to be pretty clearly the source of the problem. The big open question is why NPM, but the way that people jump to the conclusion that NPM being the target of this attack must have something to do with the flaws in the ecosystem smacks of victim blaming. Isn't it just as possible that NPM was targeted because it's huge? If you're going to run a massive spam campaign you do it where the people are.

      Could NPM learn from this and start controlling spam better? Yes! But That's not the same thing as attributing this tea.yaml nonsense to systemic flaws in the ecosystem—spam prevention has to be balanced with usability, and the balance was pretty decent until 6 months ago.

      [0] https://blog.phylum.io/digital-detritus-unintended-consequences-of-open-source-sustainability-platforms/

    • fwlrFeb 2023

      Another thing that Austral gets right is capability-based permissions for packages, in recognition of the growing danger of supply chain attacks. See for example https://blog.phylum.io/pypi-malware-replaces-crypto-addresses-in-developers-clipboard - a bunch of typo-squatting Python packages that use setup.py to write a JavaScript file into the developer’s filesystem (specifically the Windows Start Menu) and register it as a background process inspecting and altering the clipboard to replace crypto wallet addresses with the attacker’s own wallet address. Why can a setup.py in /home/user/.local/lib/python3.6/site-packages or wherever access the Windows Start Menu folder and write files there? Well, because code is almost universally permission-less. Austral’s solution is to give granular permissions: “capabilities can be arbitrarily granular. Beneath the capability to access the entire filesystem, we can have a capability to access a specific directory and its contents, or just a specific file, further divided into read, write, and read-write permissions. For network access, we can have capabilities to access a specific host, or capabilities to read, write, and read-write to a socket.”

    • un_essJun 2025

      a)"Thanks to backwards compatibility, a package offered only as a source distribution and with the legacy setup.py file for configuration and metadata specification will run the code in setup.py as part of the installation." https://blog.phylum.io/python-package-installation-attacks/

      b) pip now has an option _not_ to run arbitrary code by disallowing source distributions, by passing --only-binary :all:

      "By default, pip does not perform any checks to protect against remote tampering and involves running arbitrary code from distributions. It is, however, possible to use pip in a manner that changes these behaviours, to provide a more secure installation mechanism." https://pip.pypa.io/en/stable/topics/secure-installs/

    Related

    Sonatype Blogblog.sonatype.com44 people

    PyPI package 'secretslib' drops fileless Linux malware to mine Monero

    Sonatype Blog
    Company · last shared 2024
    Checkmarx Security Blogcheckmarx.com21 people

    Over 170K Users Affected by Attack Using Fake Python Infrastructure

    Checkmarx Security Blog
    Company · last shared 2026
    Datadog Security Labssecuritylabs.datadoghq.com29 people

    Investigating a backdoored PyPI package targeting FastAPI applications

    Datadog Security Labs
    Company · last shared 2026
    Socket Blogsocket.dev148 people

    Shai-Hulud malware attack: Tinycolor and over 40 NPM packages compromised

    Socket Blog
    Company · last shared 2026
    JFrog Blogjfrog.com93 people

    Malicious PyPI packages stealing credit cards and injecting code

    JFrog Blog
    Company · last shared 2026
    Aikido Blogaikido.dev47 people

    NPM debug and chalk packages compromised

    Aikido Blog
    Company · last shared 2026
    PyPI Blogblog.pypi.org39 people

    PyPI now supports digital attestations

    PyPI Blog
    Company · last shared 2026
    StepSecurity Blogstepsecurity.io32 people

    Tj-actions/changed-files GitHub Action Compromised – used by over 23K repos

    StepSecurity Blog
    Company · last shared 2026