{"id":8813,"date":"2026-07-09T17:11:26","date_gmt":"2026-07-09T17:11:26","guid":{"rendered":"https:\/\/news.cybertechworld.co.in\/index.php\/2026\/07\/09\/npm-12-disables-install-scripts-by-default-to-reduce-supply-chain-risk\/"},"modified":"2026-07-09T17:11:26","modified_gmt":"2026-07-09T17:11:26","slug":"npm-12-disables-install-scripts-by-default-to-reduce-supply-chain-risk","status":"publish","type":"post","link":"https:\/\/news.cybertechworld.co.in\/index.php\/2026\/07\/09\/npm-12-disables-install-scripts-by-default-to-reduce-supply-chain-risk\/","title":{"rendered":"npm 12 Disables Install Scripts by Default to Reduce Supply Chain Risk"},"content":{"rendered":"<p>\u200bGitHub has officially announced the release of npm version 12 with install scripts disabled by default, along with deprecating granular access tokens (GATs) designed to bypass two-factor authentication (2FA).<\/p>\n<p>The Microsoft-owned subsidiary noted that the following npm install behaviors that used to run automatically before have been made opt-in\u00a0&#8211;<\/p>\n<p>  allowScripts defaults to off, meaning\u00a0GitHub has officially announced the release of npm version 12 with install scripts disabled by default, along with deprecating granular access tokens (GATs) designed to bypass two-factor authentication (2FA).<\/p>\n<p>The Microsoft-owned subsidiary noted that the following npm install behaviors that used to run automatically before have been made opt-in\u00a0&#8211;<\/p>\n<p>  allowScripts defaults to off, meaning\u00a0\u00a0The Hacker News<\/p>","protected":false},"excerpt":{"rendered":"<p>\u200bGitHub has officially announced the release of npm version 12 with install scripts disabled by default, along with deprecating granular access tokens (GATs) designed to bypass two-factor authentication (2FA). The Microsoft-owned subsidiary noted that the following npm install behaviors that used to run automatically before have been made opt-in\u00a0&#8211; allowScripts defaults to off, meaning\u00a0GitHub has&hellip;&nbsp;<a href=\"https:\/\/news.cybertechworld.co.in\/index.php\/2026\/07\/09\/npm-12-disables-install-scripts-by-default-to-reduce-supply-chain-risk\/\" class=\"\" rel=\"bookmark\">Read More &raquo;<span class=\"screen-reader-text\">npm 12 Disables Install Scripts by Default to Reduce Supply Chain Risk<\/span><\/a><\/p>\n","protected":false},"author":0,"featured_media":8814,"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\/8813"}],"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=8813"}],"version-history":[{"count":0,"href":"https:\/\/news.cybertechworld.co.in\/index.php\/wp-json\/wp\/v2\/posts\/8813\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/news.cybertechworld.co.in\/index.php\/wp-json\/wp\/v2\/media\/8814"}],"wp:attachment":[{"href":"https:\/\/news.cybertechworld.co.in\/index.php\/wp-json\/wp\/v2\/media?parent=8813"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/news.cybertechworld.co.in\/index.php\/wp-json\/wp\/v2\/categories?post=8813"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/news.cybertechworld.co.in\/index.php\/wp-json\/wp\/v2\/tags?post=8813"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}