My Lemmy Oracle
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
qaz@lemmy.world to Selfhosted@lemmy.worldEnglish · 1 day ago

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

github.com

external-link
message-square
12
fedilink
  • cross-posted to:
  • [email protected]
215
external-link

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

github.com

qaz@lemmy.world to Selfhosted@lemmy.worldEnglish · 1 day ago
message-square
12
fedilink
  • cross-posted to:
  • [email protected]
[email protected] and [email protected] 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
    19
    ·
    1 day 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
      4
      ·
      1 day 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
        3
        ·
        19 hours ago

        On closer inspection, preventing post-install would have fixed it too: “The attack exploited a transitive dependency, [email protected], which executed a postinstall script to deploy the RAT.”

      • TechnoCat@piefed.social
        link
        fedilink
        English
        arrow-up
        3
        ·
        19 hours ago

        Minimum age would have prevented it in this case.

        • prettygorgeous@aussie.zone
          link
          fedilink
          English
          arrow-up
          1
          arrow-down
          1
          ·
          6 hours ago

          Just ask Australian how well minimum age verification works!

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: [email protected]

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.

  • 832 users / day
  • 2.98K users / week
  • 8.2K users / month
  • 16.5K users / 6 months
  • 1 local subscriber
  • 58K subscribers
  • 5.72K Posts
  • 133K 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.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org