{"id":8427,"date":"2026-06-11T07:16:37","date_gmt":"2026-06-11T07:16:37","guid":{"rendered":"https:\/\/news.cybertechworld.co.in\/index.php\/2026\/06\/11\/github-to-disable-npm-install-scripts-by-default-to-stop-supply-chain-attacks\/"},"modified":"2026-06-11T07:16:37","modified_gmt":"2026-06-11T07:16:37","slug":"github-to-disable-npm-install-scripts-by-default-to-stop-supply-chain-attacks","status":"publish","type":"post","link":"https:\/\/news.cybertechworld.co.in\/index.php\/2026\/06\/11\/github-to-disable-npm-install-scripts-by-default-to-stop-supply-chain-attacks\/","title":{"rendered":"GitHub to Disable npm Install Scripts by Default to Stop Supply Chain Attacks"},"content":{"rendered":"<p>\u200bGitHub 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\u00a0GitHub 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\u00a0\u00a0The Hacker News<\/p>","protected":false},"excerpt":{"rendered":"<p>\u200bGitHub 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 to trigger the execution of malicious code using npm lifecycle hooks. &#8220;Npm install&#8221;&hellip;&nbsp;<a href=\"https:\/\/news.cybertechworld.co.in\/index.php\/2026\/06\/11\/github-to-disable-npm-install-scripts-by-default-to-stop-supply-chain-attacks\/\" class=\"\" rel=\"bookmark\">Read More &raquo;<span class=\"screen-reader-text\">GitHub to Disable npm Install Scripts by Default to Stop Supply Chain Attacks<\/span><\/a><\/p>\n","protected":false},"author":0,"featured_media":8428,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","_themeisle_gutenberg_block_has_review":false,"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/news.cybertechworld.co.in\/index.php\/wp-json\/wp\/v2\/posts\/8427"}],"collection":[{"href":"https:\/\/news.cybertechworld.co.in\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/news.cybertechworld.co.in\/index.php\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/news.cybertechworld.co.in\/index.php\/wp-json\/wp\/v2\/comments?post=8427"}],"version-history":[{"count":0,"href":"https:\/\/news.cybertechworld.co.in\/index.php\/wp-json\/wp\/v2\/posts\/8427\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/news.cybertechworld.co.in\/index.php\/wp-json\/wp\/v2\/media\/8428"}],"wp:attachment":[{"href":"https:\/\/news.cybertechworld.co.in\/index.php\/wp-json\/wp\/v2\/media?parent=8427"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/news.cybertechworld.co.in\/index.php\/wp-json\/wp\/v2\/categories?post=8427"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/news.cybertechworld.co.in\/index.php\/wp-json\/wp\/v2\/tags?post=8427"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}