qaz@lemmy.world to Selfhosted@lemmy.worldEnglish · 2 days agoAxios JavaScript library has been compromised with malware in supply chain attackgithub.comexternal-linkmessage-square12fedilinkarrow-up1221arrow-down11cross-posted to: opensource@lemmy.ml
arrow-up1220arrow-down1external-linkAxios JavaScript library has been compromised with malware in supply chain attackgithub.comqaz@lemmy.world to Selfhosted@lemmy.worldEnglish · 2 days agomessage-square12fedilinkcross-posted to: opensource@lemmy.ml
minus-squareEskuero@lemmy.fromshado.wslinkfedilinkEnglisharrow-up34·edit-22 days agoYou can mitigate similar attacks by editing your .npmrc min-release-age=7 # days ignore-scripts=true
minus-squarePetteriPano@lemmy.worldlinkfedilinkEnglisharrow-up38arrow-down2·2 days agoIt’s a good way to keep the exploit around for seven days, too, if you apply it right away.
minus-squaretaco_shale032@lemmy.mllinkfedilinkEnglisharrow-up8·2 days agoI 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.
minus-squareEskuero@lemmy.fromshado.wslinkfedilinkEnglisharrow-up11·2 days agoAs long as the bot is not allowed to automatically merge minor version bumps in libraries…
minus-squaremagikmw@piefed.sociallinkfedilinkEnglisharrow-up3·2 days agoWell yes, one can misuse any tool.
minus-squareEskuero@lemmy.fromshado.wslinkfedilinkEnglisharrow-up2·2 days agoHow? 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…
You can mitigate similar attacks by editing your .npmrc
min-release-age=7 # days ignore-scripts=trueIt’s a good way to keep the exploit around for seven days, too, if you apply it right away.
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.
As long as the bot is not allowed to automatically merge minor version bumps in libraries…
Well yes, one can misuse any tool.
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…