you are viewing a single comment's thread
view the rest of the comments
[–] 19 points 7 months ago (4 children)

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.

  • source
  • hideshow 4 child comments
  • [–] 5 points 7 months ago (3 children)

    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.

  • source
  • parent
  • hideshow 3 child comments