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
    S

    Sonatype Blog

    blog.sonatype.com · Company blog · on HN since 2014

    Sonatype's blog on software supply chain security, covering malicious packages in npm and PyPI, Log4Shell, and open source regulation.

    Visit blogHN submissions
    SecurityOpen Source & LinuxDevOps & Cloud
    What HN says

    HN commenters cite it for reports of malware in npm and Maven, and for Maven's namespacing, which they say prevents namesquatting and typosquatting.

    Stats for nerds
    44HN people shared it
    29linked in comments
    557story points
    Mar 2024last shared
    2014people per year2024

    Top posts on HN

    1. 1
      PyPI package 'secretslib' drops fileless Linux malware to mine Monero
      1 person · 170 points · first shared 2022 · 60 comments on HN
    2. 2
      PyPI: Python packets steal AWS keys from users
      1 person · 168 points · first shared 2022 · 100 comments on HN
    3. 3
      0-Day Vulnerability on Log4j
      1 person · 127 points · first shared 2021 · 4 comments on HN
    4. 4
      ZeroTrustOps: Securing at Scale
      1 person · 25 points · first shared 2020 · 2 comments on HN
    5. 5
      NPM flooded with 748 packages that store movies
      1 person · 19 points · first shared 2024 · 8 comments on HN
    6. 6
      SSL Connectivity for all Central Repository users Underway
      1 person · 6 points · first shared 2014 · Discussion on HN
    7. 7
      Why Namespacing Matters in Public Open Source Repositories
      4 people · 5 points · first shared 2021 · Discussion on HN
    8. 8
      Apache Servers Actively Exploited in the Wild and the Importance of Patching
      2 people · 5 points · first shared 2021 · Discussion on HN
    9. 9
      Imposter Twilio NPM malware backdoors Linux machines
      2 people · 4 points · first shared 2020 · Discussion on HN
    10. 10
      New PyPI Cryptomining Malware
      2 people · 4 points · first shared 2021 · Discussion on HN

    What HN people wrote when they linked it

    • EGregNov 2022

      1. End-users don’t need to personally verify smart contracts or any other open source software. The key is to have each version have a hash, and on EVM thatms easy — it’s the address of the contract. Then, more and more auditors go through the code and sign off on the contract. In fact, this should be done for lots of open source ecosystems, eg composer or npm, because then we might not have stuff like this: https://blog.sonatype.com/npm-project-used-by-millions-hijacked-in-supply-chain-attack

      or this in log4j: https://theconversation.com/amp/what-is-log4j-a-cybersecurity-expert-explains-the-latest-internet-vulnerability-how-bad-it-is-and-whats-at-stake-173896

      In fact it happens more and more:

      http://cyware.com/news/analyzing-the-deadly-rise-in-npm-package-hijacking-78b24364

      2) On EVM you can just audit a smart contract FACTORY, and then people can trust all the instances made from it. This is immensely powerful.

      And then there is also regular use by people who put huge amounts of value into a protocol and it is never hacked. It is why for example people trust UniSwap liquidity pools not to rugpull them, and the same with many other protocols.

      Now, to be fair, you don’t need a blockchain for that. You can use merkle trees and code signing. But the current Web sucks at it — you just have to trust the server not to suddenly send you bad code, or your “user agent” to execute JS that sends your password in the clear somewhere. And App Stores are black boxes where you just…

    • EdwardDiegoJun 2023

      Yeah, I ask because the JVM world has had that since... whenever Maven's central repository came about [0][1][2], I guess, and it ensures that there's no debate about namesquatting [3], nor typosquatting attack vectors [4].

      I am constantly baffled that NPM, PyPi, crates.io etc. didn't copy this idea for those last two reasons. In my mind, it's not quite best in class without it.

      [0]: https://central.sonatype.org/publish/requirements/coordinates/#choose-your-coordinates

      [1]: https://central.sonatype.org/faq/how-to-set-txt-record/

      [2]: https://central.sonatype.org/publish/requirements/coordinates/#supported-code-hosting-services-for-personal-groupid

      [3]: https://internals.rust-lang.org/t/pre-rfc-formal-squatting-policy-on-crates-io/11302

      [4]: https://blog.sonatype.com/this-week-in-malware-may-13th-edition

    • enkidFeb 2022

      Open source projects are not a good point of reference because by their very nature they invite external validation. If you are trying to steal $300M, you don't tell people before hand that you are going to do it. There also a difference between the money being right there, only one step away from being yours and infecting open source software with the possibility of maybe stealing something in some company that may or may not use your software in a way that would allow theft months or years after you submitted an update.

      Edit: After doing some research, it appears that claims that open source doesn't fall victim to this problem are factually incorrect. [0]

      [0] https://blog.sonatype.com/open-source-attacks-on-the-rise-top-8-malicious-packages-found-in-npm

    • mdrileyMar 2024

      Man Yue Mo worked at Semmle (https://blog.sonatype.com/steps-to-responsible-disclosure) before it was acquired by GitHub (https://github.blog/2019-09-18-github-welcomes-semmle/). That research function has carried on as the GitHub Security Lab.

      Semmle built CodeQL, now offered by GitHub (https://docs.github.com/en/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning-with-codeql), which GitHub and Microsoft (see https://www.microsoft.com/en-us/security/blog/2023/11/02/announcing-microsoft-secure-future-initiative-to-advance-security-engineering/) want to associate with "deep security insight".

      So they continue to fund this kind of novel security research, for which security practitioners across industry are grateful.

    • mattkopeckiOct 2022

      Here is a good writeup of some of the pros and cons of using a "reachability" approach.

      https://blog.sonatype.com/prioritizing-open-source-vulnerabilities-is-reachability-useful

      >Unfortunately, no technology currently exists that can tell you whether a method is definitively not called, and even if it is not called currently, it’s just one code change away from being called. This means that reachability should never be used as an excuse to completely ignore a vulnerability, but rather reachability of a vulnerability should be just one component of a more holistic approach to assessing risk that also takes into account the application context and severity of the vulnerability.

    • jermoMay 2019

      Seems like the Maven registry is susceptible to artifact hijacking.

      Say I wan't to install artifacts from two GitHub users. I would have to add these two Maven repositories:

      - https://maven.pkg.github.com/USER1
      - https://maven.pkg.github.com/USER2

      In that case USER1 can publish an artifact with the same groupId/artifactId as USER2 and my Maven will happily install it without suspecting anything.

      Another case - someone deletes their GH account and another user takes it:
      https://blog.sonatype.com/hijacking-of-a-known-github-id-go-bindata

      Docs: https://help.github.com/en/articles/configuring-maven-for-use-with-github-package-registry

    Related

    Checkmarx Security Blogcheckmarx.com21 people

    Over 170K Users Affected by Attack Using Fake Python Infrastructure

    Checkmarx Security Blog
    Company · last shared 2026
    Talos Intelligence Blogblog.talosintel.com16 people

    Apple Remote Code Execution with Image Files

    Talos Intelligence Blog
    Company · last shared 2016
    Avast Decodeddecoded.avast.io26 people

    The fresh smell of ransomed coffee

    Avast Decoded
    Company · last shared 2024
    Socket Blogsocket.dev148 people

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

    Socket Blog
    Company · last shared 2026
    GitHub Security Labsecuritylab.github.com47 people

    How to get root on Ubuntu 20.04 by pretending nobody’s /home

    GitHub Security Lab
    Company · last shared 2026
    F-Secure Labs Bloglabsblog.f-secure.com20 people

    Petya: “I Want to Believe”

    F-Secure Labs Blog
    Company · last shared 2019
    WeLiveSecuritywelivesecurity.com206 people

    LoJax: First UEFI rootkit found in the wild, courtesy of the Sednit group

    WeLiveSecurity
    Company · last shared 2026
    Andrew Nesbittnesbitt.io84 people

    GitHub Actions has a package manager, and it might be the worst

    Andrew Nesbitt
    Personal · last shared 2026