{"id":60837,"date":"2026-06-10T13:11:14","date_gmt":"2026-06-10T13:11:14","guid":{"rendered":"https:\/\/www.theregister.com\/a\/5253453"},"modified":"2026-06-10T13:11:14","modified_gmt":"2026-06-10T13:11:14","slug":"github-pulls-pin-on-npms-auto-run-scripts","status":"publish","type":"post","link":"https:\/\/www.threatshub.org\/blog\/github-pulls-pin-on-npms-auto-run-scripts\/","title":{"rendered":"GitHub pulls pin on npm&#8217;s auto-run scripts"},"content":{"rendered":"<div><img decoding=\"async\" src=\"https:\/\/image.theregister.com\/5251931.jpg?imageId=5251931&amp;x=0&amp;y=0&amp;cropw=100&amp;croph=100&amp;panox=0&amp;panoy=0&amp;panow=100&amp;panoh=100&amp;width=1200&amp;height=683\" class=\"ff-og-image-inserted\"><\/div>\n<div data-element-guid=\"d11159dd-82a3-4c53-901c-d41dec75505c\" readability=\"33.082191780822\">\n<p class=\"kicker \">DevOPS<\/p>\n<p class=\"subtitle \">Shai-Hulud worm exploited exactly this. Better late than never, says everyone except the malware authors<\/p>\n<\/p><\/div>\n<div data-element-guid=\"4c9dc5d9-c886-4348-bf4a-01d0dc71377d\" readability=\"102.21954557898\">\n<p>GitHub will change npm&#8217;s defaults so the install command no longer runs scripts automatically, disabling a feature commonly exploited by malicious packages such as the notorious Shai-Hulud worm.<\/p>\n<p>Maintainer Leo Balter <a href=\"https:\/\/github.com\/orgs\/community\/discussions\/198547\" aria-label=\"GitHub discussion of breaking changes in npm 12\" target=\"_blank\">said<\/a>:&nbsp;&#8220;Install-time lifecycle scripts are the single largest code-execution surface in the npm ecosystem. Every <span class=\"font-RobotoMono \" data-lab-fontface=\"RobotoMono\">npm install<\/span> runs scripts from every transitive dependency, so a single compromised package anywhere in your tree can execute arbitrary code on a developer machine or CI (continuous integration) runner.&#8221;&nbsp;<\/p>\n<p>In npm 12, due July,&nbsp;three security-focused defaults are changing. Scripts configured for <span class=\"font-RobotoMono \" data-lab-fontface=\"RobotoMono\">preinstall<\/span>, <span class=\"font-RobotoMono \" data-lab-fontface=\"RobotoMono\">install<\/span>, or <span class=\"font-RobotoMono \" data-lab-fontface=\"RobotoMono\">postinstall<\/span> will no longer run unless explicitly permitted via <span class=\"font-RobotoMono \" data-lab-fontface=\"RobotoMono\">allow-scripts<\/span>. The <span class=\"font-RobotoMono \" data-lab-fontface=\"RobotoMono\">&#8211;allow-git<\/span> flag, which pulls dependencies from remote URLs, will default to off, closing an attack path where a malicious&nbsp;<span class=\"font-RobotoMono \" data-lab-fontface=\"RobotoMono\">.npmrc<\/span> file could override the Git executable and achieve&nbsp;arbitrary code execution. Finally, <span class=\"font-RobotoMono \" data-lab-fontface=\"RobotoMono\">allow-remote<\/span> will default to <span class=\"font-RobotoMono \" data-lab-fontface=\"RobotoMono\">none<\/span>, blocking dependency downloads from remote URLs entirely.<\/p>\n<p>It will still be possible to allow scripts to run via an allowlist in the <span class=\"font-RobotoMono \" data-lab-fontface=\"RobotoMono\">package.json<\/span> configuration file. This will be pinned to the installed version of a package by default.<\/p>\n<p>These are breaking changes, and Balter recommended developers run the commands to allow scripts for every currently installed package in a project that requires them. &#8220;This gets you protected against new, unexpected scripts immediately,&#8221; he said. The next step is to review these packages and deny scripts for those where they are not needed.<\/p>\n<p>Some packages require script approval to function, including&nbsp;native modules that compile on install, testing tools like Playwright and Puppeteer (which fetch binaries via postinstall), and Electron, which wraps the Chromium browser engine for cross-platform desktop applications.<\/p>\n<p>These features have been available since npm version 11.10.0, released in February, but as opt-in flags rather than defaults. That version also introduced <span class=\"font-RobotoMono \" data-lab-fontface=\"RobotoMono\">min-release-age<\/span>, which blocks installation of package version newer than a specified number of days, designed as a safeguard against newly published malicious packages.&nbsp;<\/p>\n<div data-element-guid=\"afe083ca-6701-48e9-9bd8-f8827dd7fb42\" class=\"lab4 column articleList layout_vertical imageLayout_left small-12 large-4 small-abs-12 large-abs-4 abs_grid_4 desktop-floatLeft mobile-floatLeft grid-vas-start mobile-grid-vas-start\">\n<div class=\"content border_width_0 border_width_mobile_0 border-radius-48 border-radius-mobile_48\">\n<h2 class=\"article-list-title t19 font-RobotoCondensed\">MORE CONTEXT<\/h2>\n<\/p><\/div>\n<\/div>\n<p>Best security practice for developers using npm 11.16, the current version, is to set these flags on in <span class=\"font-RobotoMono \" data-lab-fontface=\"RobotoMono\">.npmrc<\/span> or via environment variables, which will also prepare a project for the changes in version 12. One annoyance is that the existing flag <span class=\"font-RobotoMono \" data-lab-fontface=\"RobotoMono\">ignore-scripts<\/span> does not support an allowlist, other than via an additional tool. The <span class=\"font-RobotoMono \" data-lab-fontface=\"RobotoMono\">ignore-scripts<\/span> setting will override <span class=\"font-RobotoMono \" data-lab-fontface=\"RobotoMono\">allow-scripts<\/span>, so developers will need to remove it, if set to true, to enable approved scripts to run. The <span class=\"font-RobotoMono \" data-lab-fontface=\"RobotoMono\">allowScripts<\/span> setting exists in npm 11 but is advisory only.<\/p>\n<p>Will this fix npm security issues? Unfortunately not. &#8220;Now all the malware can move from the install script to the module itself where it will inevitably still be run,&#8221; <a href=\"https:\/\/news.ycombinator.com\/item?id=48472386\" aria-label=\"Developer comment on npm changes\" target=\"_blank\">said<\/a>&nbsp;one developer. Another common view is that developers should use <a href=\"https:\/\/pnpm.io\" aria-label=\"pnpm alternative node package manager\" target=\"_blank\">pnpm<\/a>, which already has safer defaults than npm, including a minimum release age.<\/p>\n<p>There is consensus, though, that these changes do improve npm security and are long overdue. The <a href=\"https:\/\/github.com\/npm\/rfcs\/pull\/868\" aria-label=\"npm security defaults pull request\" target=\"_blank\">pull request<\/a>&nbsp;for this change includes the remark that &#8220;npm is the only remaining major package manager that runs dependency install scripts by default. pnpm v10+, Yarn Berry, Bun, and Deno all block them.&#8221; \u00ae<\/p>\n<\/p><\/div>\n<p><img decoding=\"async\" src=\"https:\/\/image.theregister.com\/?imageId=5251931&#038;width=800\">READ MORE <a href=\"https:\/\/www.theregister.com\/devops\/2026\/06\/10\/github-pulls-pin-on-npms-auto-run-scripts\/5253453\">HERE<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p> Shai-Hulud worm exploited exactly this. Better late than never, says everyone except the malware authors READ MORE HERE&#8230;<\/p>\n","protected":false},"author":2,"featured_media":60838,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"colormag_page_layout":"default_layout","footnotes":""},"categories":[63],"tags":[1254],"class_list":["post-60837","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-the-register","tag-devops"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>GitHub pulls pin on npm&#039;s auto-run scripts 2026 | ThreatsHub Cybersecurity News<\/title>\n<meta name=\"description\" content=\"ThreatsHub Cybersecurity News | ThreatsHub.org | Cloud Security &amp; Cyber Threats Analysis Hub. 100% Free OSINT Threat Intelligent and Cybersecurity News.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.threatshub.org\/blog\/github-pulls-pin-on-npms-auto-run-scripts\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"GitHub pulls pin on npm&#039;s auto-run scripts 2026 | ThreatsHub Cybersecurity News\" \/>\n<meta property=\"og:description\" content=\"ThreatsHub Cybersecurity News | ThreatsHub.org | Cloud Security &amp; Cyber Threats Analysis Hub. 100% Free OSINT Threat Intelligent and Cybersecurity News.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.threatshub.org\/blog\/github-pulls-pin-on-npms-auto-run-scripts\/\" \/>\n<meta property=\"og:site_name\" content=\"ThreatsHub Cybersecurity News\" \/>\n<meta property=\"article:published_time\" content=\"2026-06-10T13:11:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/image.theregister.com\/5251931.jpg?imageId=5251931&amp;x=0&amp;y=0&amp;cropw=100&amp;croph=100&amp;panox=0&amp;panoy=0&amp;panow=100&amp;panoh=100&amp;width=1200&amp;height=683\" \/>\n<meta name=\"author\" content=\"TH Author\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@threatshub\" \/>\n<meta name=\"twitter:site\" content=\"@threatshub\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"TH Author\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/github-pulls-pin-on-npms-auto-run-scripts\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/github-pulls-pin-on-npms-auto-run-scripts\\\/\"},\"author\":{\"name\":\"TH Author\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#\\\/schema\\\/person\\\/12e0a8671ff89a863584f193e7062476\"},\"headline\":\"GitHub pulls pin on npm&#8217;s auto-run scripts\",\"datePublished\":\"2026-06-10T13:11:14+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/github-pulls-pin-on-npms-auto-run-scripts\\\/\"},\"wordCount\":541,\"publisher\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/github-pulls-pin-on-npms-auto-run-scripts\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/github-pulls-pin-on-npms-auto-run-scripts.jpg\",\"keywords\":[\"devops\"],\"articleSection\":[\"The Register\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/github-pulls-pin-on-npms-auto-run-scripts\\\/\",\"url\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/github-pulls-pin-on-npms-auto-run-scripts\\\/\",\"name\":\"GitHub pulls pin on npm's auto-run scripts 2026 | ThreatsHub Cybersecurity News\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/github-pulls-pin-on-npms-auto-run-scripts\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/github-pulls-pin-on-npms-auto-run-scripts\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/github-pulls-pin-on-npms-auto-run-scripts.jpg\",\"datePublished\":\"2026-06-10T13:11:14+00:00\",\"description\":\"ThreatsHub Cybersecurity News | ThreatsHub.org | Cloud Security & Cyber Threats Analysis Hub. 100% Free OSINT Threat Intelligent and Cybersecurity News.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/github-pulls-pin-on-npms-auto-run-scripts\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/github-pulls-pin-on-npms-auto-run-scripts\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/github-pulls-pin-on-npms-auto-run-scripts\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/github-pulls-pin-on-npms-auto-run-scripts.jpg\",\"contentUrl\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/github-pulls-pin-on-npms-auto-run-scripts.jpg\",\"width\":100,\"height\":66},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/github-pulls-pin-on-npms-auto-run-scripts\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"devops\",\"item\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/tag\\\/devops\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"GitHub pulls pin on npm&#8217;s auto-run scripts\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/\",\"name\":\"ThreatsHub Cybersecurity News\",\"description\":\"%%focuskw%% Threat Intel \u2013 Threat Intel Services \u2013 CyberIntelligence \u2013 Cyber Threat Intelligence - Threat Intelligence Feeds - Threat Intelligence Reports - CyberSecurity Report \u2013 Cyber Security PDF \u2013 Cybersecurity Trends - Cloud Sandbox \u2013- Threat IntelligencePortal \u2013 Incident Response \u2013 Threat Hunting \u2013 IOC - Yara - Security Operations Center \u2013 SecurityOperation Center \u2013 Security SOC \u2013 SOC Services - Advanced Threat - Threat Detection - TargetedAttack \u2013 APT \u2013 Anti-APT \u2013 Advanced Protection \u2013 Cyber Security Services \u2013 Cybersecurity Services -Threat Intelligence Platform\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#organization\"},\"alternateName\":\"Threatshub.org\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#organization\",\"name\":\"ThreatsHub.org\",\"alternateName\":\"Threatshub.org\",\"url\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/Threatshub_Favicon1.jpg\",\"contentUrl\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/Threatshub_Favicon1.jpg\",\"width\":432,\"height\":435,\"caption\":\"ThreatsHub.org\"},\"image\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/threatshub\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#\\\/schema\\\/person\\\/12e0a8671ff89a863584f193e7062476\",\"name\":\"TH Author\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/066276f086d5155df79c850206a779ad368418a844da0182ce43f9cd5b506c3d?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/066276f086d5155df79c850206a779ad368418a844da0182ce43f9cd5b506c3d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/066276f086d5155df79c850206a779ad368418a844da0182ce43f9cd5b506c3d?s=96&d=mm&r=g\",\"caption\":\"TH Author\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"GitHub pulls pin on npm's auto-run scripts 2026 | ThreatsHub Cybersecurity News","description":"ThreatsHub Cybersecurity News | ThreatsHub.org | Cloud Security & Cyber Threats Analysis Hub. 100% Free OSINT Threat Intelligent and Cybersecurity News.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.threatshub.org\/blog\/github-pulls-pin-on-npms-auto-run-scripts\/","og_locale":"en_US","og_type":"article","og_title":"GitHub pulls pin on npm's auto-run scripts 2026 | ThreatsHub Cybersecurity News","og_description":"ThreatsHub Cybersecurity News | ThreatsHub.org | Cloud Security & Cyber Threats Analysis Hub. 100% Free OSINT Threat Intelligent and Cybersecurity News.","og_url":"https:\/\/www.threatshub.org\/blog\/github-pulls-pin-on-npms-auto-run-scripts\/","og_site_name":"ThreatsHub Cybersecurity News","article_published_time":"2026-06-10T13:11:14+00:00","og_image":[{"url":"https:\/\/image.theregister.com\/5251931.jpg?imageId=5251931&amp;x=0&amp;y=0&amp;cropw=100&amp;croph=100&amp;panox=0&amp;panoy=0&amp;panow=100&amp;panoh=100&amp;width=1200&amp;height=683","type":"","width":"","height":""}],"author":"TH Author","twitter_card":"summary_large_image","twitter_creator":"@threatshub","twitter_site":"@threatshub","twitter_misc":{"Written by":"TH Author","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.threatshub.org\/blog\/github-pulls-pin-on-npms-auto-run-scripts\/#article","isPartOf":{"@id":"https:\/\/www.threatshub.org\/blog\/github-pulls-pin-on-npms-auto-run-scripts\/"},"author":{"name":"TH Author","@id":"https:\/\/www.threatshub.org\/blog\/#\/schema\/person\/12e0a8671ff89a863584f193e7062476"},"headline":"GitHub pulls pin on npm&#8217;s auto-run scripts","datePublished":"2026-06-10T13:11:14+00:00","mainEntityOfPage":{"@id":"https:\/\/www.threatshub.org\/blog\/github-pulls-pin-on-npms-auto-run-scripts\/"},"wordCount":541,"publisher":{"@id":"https:\/\/www.threatshub.org\/blog\/#organization"},"image":{"@id":"https:\/\/www.threatshub.org\/blog\/github-pulls-pin-on-npms-auto-run-scripts\/#primaryimage"},"thumbnailUrl":"https:\/\/www.threatshub.org\/blog\/coredata\/uploads\/2026\/06\/github-pulls-pin-on-npms-auto-run-scripts.jpg","keywords":["devops"],"articleSection":["The Register"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.threatshub.org\/blog\/github-pulls-pin-on-npms-auto-run-scripts\/","url":"https:\/\/www.threatshub.org\/blog\/github-pulls-pin-on-npms-auto-run-scripts\/","name":"GitHub pulls pin on npm's auto-run scripts 2026 | ThreatsHub Cybersecurity News","isPartOf":{"@id":"https:\/\/www.threatshub.org\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.threatshub.org\/blog\/github-pulls-pin-on-npms-auto-run-scripts\/#primaryimage"},"image":{"@id":"https:\/\/www.threatshub.org\/blog\/github-pulls-pin-on-npms-auto-run-scripts\/#primaryimage"},"thumbnailUrl":"https:\/\/www.threatshub.org\/blog\/coredata\/uploads\/2026\/06\/github-pulls-pin-on-npms-auto-run-scripts.jpg","datePublished":"2026-06-10T13:11:14+00:00","description":"ThreatsHub Cybersecurity News | ThreatsHub.org | Cloud Security & Cyber Threats Analysis Hub. 100% Free OSINT Threat Intelligent and Cybersecurity News.","breadcrumb":{"@id":"https:\/\/www.threatshub.org\/blog\/github-pulls-pin-on-npms-auto-run-scripts\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.threatshub.org\/blog\/github-pulls-pin-on-npms-auto-run-scripts\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.threatshub.org\/blog\/github-pulls-pin-on-npms-auto-run-scripts\/#primaryimage","url":"https:\/\/www.threatshub.org\/blog\/coredata\/uploads\/2026\/06\/github-pulls-pin-on-npms-auto-run-scripts.jpg","contentUrl":"https:\/\/www.threatshub.org\/blog\/coredata\/uploads\/2026\/06\/github-pulls-pin-on-npms-auto-run-scripts.jpg","width":100,"height":66},{"@type":"BreadcrumbList","@id":"https:\/\/www.threatshub.org\/blog\/github-pulls-pin-on-npms-auto-run-scripts\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.threatshub.org\/blog\/"},{"@type":"ListItem","position":2,"name":"devops","item":"https:\/\/www.threatshub.org\/blog\/tag\/devops\/"},{"@type":"ListItem","position":3,"name":"GitHub pulls pin on npm&#8217;s auto-run scripts"}]},{"@type":"WebSite","@id":"https:\/\/www.threatshub.org\/blog\/#website","url":"https:\/\/www.threatshub.org\/blog\/","name":"ThreatsHub Cybersecurity News","description":"%%focuskw%% Threat Intel \u2013 Threat Intel Services \u2013 CyberIntelligence \u2013 Cyber Threat Intelligence - Threat Intelligence Feeds - Threat Intelligence Reports - CyberSecurity Report \u2013 Cyber Security PDF \u2013 Cybersecurity Trends - Cloud Sandbox \u2013- Threat IntelligencePortal \u2013 Incident Response \u2013 Threat Hunting \u2013 IOC - Yara - Security Operations Center \u2013 SecurityOperation Center \u2013 Security SOC \u2013 SOC Services - Advanced Threat - Threat Detection - TargetedAttack \u2013 APT \u2013 Anti-APT \u2013 Advanced Protection \u2013 Cyber Security Services \u2013 Cybersecurity Services -Threat Intelligence Platform","publisher":{"@id":"https:\/\/www.threatshub.org\/blog\/#organization"},"alternateName":"Threatshub.org","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.threatshub.org\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.threatshub.org\/blog\/#organization","name":"ThreatsHub.org","alternateName":"Threatshub.org","url":"https:\/\/www.threatshub.org\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.threatshub.org\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.threatshub.org\/blog\/coredata\/uploads\/2025\/05\/Threatshub_Favicon1.jpg","contentUrl":"https:\/\/www.threatshub.org\/blog\/coredata\/uploads\/2025\/05\/Threatshub_Favicon1.jpg","width":432,"height":435,"caption":"ThreatsHub.org"},"image":{"@id":"https:\/\/www.threatshub.org\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/threatshub"]},{"@type":"Person","@id":"https:\/\/www.threatshub.org\/blog\/#\/schema\/person\/12e0a8671ff89a863584f193e7062476","name":"TH Author","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/066276f086d5155df79c850206a779ad368418a844da0182ce43f9cd5b506c3d?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/066276f086d5155df79c850206a779ad368418a844da0182ce43f9cd5b506c3d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/066276f086d5155df79c850206a779ad368418a844da0182ce43f9cd5b506c3d?s=96&d=mm&r=g","caption":"TH Author"}}]}},"_links":{"self":[{"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/posts\/60837","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/comments?post=60837"}],"version-history":[{"count":0,"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/posts\/60837\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/media\/60838"}],"wp:attachment":[{"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/media?parent=60837"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/categories?post=60837"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/tags?post=60837"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}