{"id":13536,"date":"2026-06-11T07:03:41","date_gmt":"2026-06-11T07:03:41","guid":{"rendered":"https:\/\/serisec.com\/index.php\/2026\/06\/11\/github-to-disable-npm-install-scripts-html\/"},"modified":"2026-06-11T07:03:41","modified_gmt":"2026-06-11T07:03:41","slug":"github-to-disable-npm-install-scripts-html","status":"publish","type":"post","link":"https:\/\/serisec.com\/index.php\/2026\/06\/11\/github-to-disable-npm-install-scripts-html\/","title":{"rendered":"GitHub to Disable npm Install Scripts by Default to Stop Supply Chain Attacks"},"content":{"rendered":"<p>    GitHub to Disable npm Install Scripts by Default to Stop Supply Chain Attacks<br \/>\n \t<BR><br \/>\n<BR><\/BR><br \/>\n    <!-- no image --><br \/>\n \t<BR><br \/>\n<BR><\/BR><\/p>\n<div>GitHub has announced what it said are &#8220;breaking changes&#8221; coming to npm version 12, one of which turns off install scripts by default to combat software supply chain threats.<\/p>\n<p>The changes aim to combat attack techniques that abuse the &#8220;npm install&#8221; command to trigger the execution of malicious code using npm lifecycle hooks. &#8220;Npm install&#8221; is used to download and install all the necessary<\/p><\/div>\n<p> \t<BR><br \/>\n <BR><\/BR><\/p>\n<p> \t<BR><br \/>\n<BR><\/BR><br \/>\n<a href=\"https:\/\/thehackernews.com\/2026\/06\/github-to-disable-npm-install-scripts.html\">Go to TheHackersNews<\/a><br \/>\n \t<BR><br \/>\n <BR><\/BR><\/p>\n","protected":false},"excerpt":{"rendered":"<p>GitHub to Disable npm Install Scripts by Default to Stop Supply Chain Attacks GitHub has announced what it said are &#8220;breaking changes&#8221; coming to npm version 12, one of which turns off install scripts by default to combat software supply chain threats. The changes aim to combat attack techniques that abuse the &#8220;npm install&#8221; command [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[60],"tags":[76],"class_list":["post-13536","post","type-post","status-publish","format-standard","hentry","category-thehackersnews","tag-thehackersnews"],"_links":{"self":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts\/13536"}],"collection":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/comments?post=13536"}],"version-history":[{"count":0,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts\/13536\/revisions"}],"wp:attachment":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/media?parent=13536"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/categories?post=13536"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/tags?post=13536"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}