Cult I Mean Group
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
qaz@lemmy.world to Selfhosted@lemmy.worldEnglish · 17 hours ago

Axios JavaScript library has been compromised with malware in supply chain attack

github.com

external-link
message-square
11
fedilink
184
external-link

Axios JavaScript library has been compromised with malware in supply chain attack

github.com

qaz@lemmy.world to Selfhosted@lemmy.worldEnglish · 17 hours ago
message-square
11
fedilink
axios@1.14.1 and axios@0.30.4 are compromised · Issue #10604 · axios/axios
github.com
external-link
more details: https://www.stepsecurity.io/blog/axios-compromised-on-npm-malicious-versions-drop-remote-access-trojan Most likely, a maintainer's GitHub and npm accounts are compromised as these iss...
  • TechnoCat@piefed.social
    link
    fedilink
    English
    arrow-up
    14
    ·
    7 hours ago

    I always advocate switching to pnpm where install scripts are disabled by default. It has plenty of security features to ward off most supply chain attacks.

    • https://pnpm.io/settings#onlybuiltdependencies
    • https://pnpm.io/settings#minimumreleaseage
    • https://pnpm.io/blog/2025/12/29/pnpm-in-2025#security-by-default
    • techpeakedin1991@lemmy.ml
      link
      fedilink
      English
      arrow-up
      2
      ·
      7 hours ago

      Does disabling install scripts actually do anything though? The attack would still work if put in the code itself, no? The only difference I can see is that it would run when the project is run instead of when the package is installed.

      • TechnoCat@piefed.social
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 hour ago

        Minimum age would have prevented it in this case.

      • TechnoCat@piefed.social
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 hour ago

        On closer inspection, preventing post-install would have fixed it too: “The attack exploited a transitive dependency, plain-crypto-js@4.2.1, which executed a postinstall script to deploy the RAT.”

Selfhosted@lemmy.world

selfhosted@lemmy.world

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !selfhosted@lemmy.world

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

  7. No low-effort posts. This is subjective and will largely be determined by the community member reports.

Resources:

  • selfh.st Newsletter and index of selfhosted software and apps
  • awesome-selfhosted software
  • awesome-sysadmin resources
  • Self-Hosted Podcast from Jupiter Broadcasting

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1.65K users / day
  • 3.04K users / week
  • 8.3K users / month
  • 16.4K users / 6 months
  • 1 local subscriber
  • 57K subscribers
  • 5.8K Posts
  • 131K Comments
  • Modlog
  • mods:
  • Ruud@lemmy.world
  • Loki@lemmy.world
  • CannaVet@lemmy.world
  • devve@lemmy.world
  • HybridSarcasm@lemmy.world
  • HybridSarcasm@lemmy.hybridsarcasm.xyz
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org