▲ 215 ▼ Axios JavaScript library has been compromised with malware in supply chain attack (github.com) submitted 7 months ago by qaz@lemmy.world to c/selfhosted@lemmy.world 12 comments fedilink hide all child comments
[–] eskuero@lemmy.fromshado.ws 33 points 7 months ago* (5 children) You can mitigate similar attacks by editing your .npmrc min-release-age=7 # days ignore-scripts=true permalink fedilink source hideshow 5 child comments replies: [–] PetteriPano@lemmy.world 38 points 7 months ago (4 children) It's a good way to keep the exploit around for seven days, too, if you apply it right away. permalink fedilink source parent hideshow 4 child comments replies: [–] taco_shale032@lemmy.ml 8 points 7 months ago (2 children) I agree, I think it would be better to use something like dependabot or renovatebot so you can know of and apply security updates right away. permalink fedilink source parent hideshow 2 child comments replies: [–] eskuero@lemmy.fromshado.ws 11 points 7 months ago (1 child) As long as the bot is not allowed to automatically merge minor version bumps in libraries... permalink fedilink source parent hideshow 1 child comment replies: [–] magikmw@piefed.social 3 points 7 months ago Well yes, one can misuse any tool. permalink fedilink source parent [–] eskuero@lemmy.fromshado.ws 2 points 7 months ago How? If you got hit by this you are looking at restoring the system from a safe previous version. And the compromised versions get pulled, not superseeded by a new release, so once you rebuild you would go back to a safe version... permalink fedilink source parent
[–] PetteriPano@lemmy.world 38 points 7 months ago (4 children) It's a good way to keep the exploit around for seven days, too, if you apply it right away. permalink fedilink source parent hideshow 4 child comments replies: [–] taco_shale032@lemmy.ml 8 points 7 months ago (2 children) I agree, I think it would be better to use something like dependabot or renovatebot so you can know of and apply security updates right away. permalink fedilink source parent hideshow 2 child comments replies: [–] eskuero@lemmy.fromshado.ws 11 points 7 months ago (1 child) As long as the bot is not allowed to automatically merge minor version bumps in libraries... permalink fedilink source parent hideshow 1 child comment replies: [–] magikmw@piefed.social 3 points 7 months ago Well yes, one can misuse any tool. permalink fedilink source parent [–] eskuero@lemmy.fromshado.ws 2 points 7 months ago How? If you got hit by this you are looking at restoring the system from a safe previous version. And the compromised versions get pulled, not superseeded by a new release, so once you rebuild you would go back to a safe version... permalink fedilink source parent
[–] taco_shale032@lemmy.ml 8 points 7 months ago (2 children) I agree, I think it would be better to use something like dependabot or renovatebot so you can know of and apply security updates right away. permalink fedilink source parent hideshow 2 child comments replies: [–] eskuero@lemmy.fromshado.ws 11 points 7 months ago (1 child) As long as the bot is not allowed to automatically merge minor version bumps in libraries... permalink fedilink source parent hideshow 1 child comment replies: [–] magikmw@piefed.social 3 points 7 months ago Well yes, one can misuse any tool. permalink fedilink source parent
[–] eskuero@lemmy.fromshado.ws 11 points 7 months ago (1 child) As long as the bot is not allowed to automatically merge minor version bumps in libraries... permalink fedilink source parent hideshow 1 child comment replies: [–] magikmw@piefed.social 3 points 7 months ago Well yes, one can misuse any tool. permalink fedilink source parent
[–] magikmw@piefed.social 3 points 7 months ago Well yes, one can misuse any tool. permalink fedilink source parent
[–] eskuero@lemmy.fromshado.ws 2 points 7 months ago How? If you got hit by this you are looking at restoring the system from a safe previous version. And the compromised versions get pulled, not superseeded by a new release, so once you rebuild you would go back to a safe version... permalink fedilink source parent