<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/github-pulls-pin-on-npm-s-auto-run-scripts-z94cofunl" -->

---
title: GitHub pulls pin on npm's auto-run scripts | daily.dev
description: GitHub has disabled npm's auto-run scripts feature, a change prompted by the Shai-Hulud worm which exploited this functionality in a supply chain attack. The...
canonical: https://daily.dev/posts/github-pulls-pin-on-npm-s-auto-run-scripts-z94cofunl
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: GitHub pulls pin on npm's auto-run scripts | daily.dev
og:description: GitHub has disabled npm's auto-run scripts feature, a change prompted by the Shai-Hulud worm which exploited this functionality in a supply chain attack. The...
og:url: https://daily.dev/posts/github-pulls-pin-on-npm-s-auto-run-scripts-z94cofunl
og:image: https://api.daily.dev/og/posts/Z94coFuNL.png
og:image:alt: GitHub pulls pin on npm's auto-run scripts
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# GitHub pulls pin on npm's auto-run scripts

**[The Register](https://daily.dev/sources/theregister)** · 4 min read · 0 upvotes · 0 comments

## Summary

GitHub has disabled npm's auto-run scripts feature, a change prompted by the Shai-Hulud worm which exploited this functionality in a supply chain attack. The move is seen as a long-overdue security improvement to prevent malicious packages from automatically executing code during installation.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.theregister.com/devops/2026/06/10/github-pulls-pin-on-npms-auto-run-scripts/5253453>

## Similar posts on daily.dev

- [GitHub finally pulls the plug on automatic install script execution for npm](https://daily.dev/posts/github-finally-pulls-the-plug-on-automatic-install-script-execution-for-npm-lq84iidjt) · InfoWorld · 1 upvotes · 0 comments
- [GitHub announces npm security changes to tackle supply-chain attacks](https://daily.dev/posts/github-announces-npm-security-changes-to-tackle-supply-chain-attacks-utlkr6lo8) · BleepingComputer · 0 upvotes · 0 comments

---

Tags: [#security](https://daily.dev/tags/security), [#cyber](https://daily.dev/tags/cyber), [#github](https://daily.dev/tags/github), [#npm](https://daily.dev/tags/npm)

[View this post on daily.dev](https://daily.dev/posts/github-pulls-pin-on-npm-s-auto-run-scripts-z94cofunl)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"GitHub pulls pin on npm's auto-run scripts","url":"https://daily.dev/posts/github-pulls-pin-on-npm-s-auto-run-scripts-z94cofunl","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/github-pulls-pin-on-npm-s-auto-run-scripts-z94cofunl"},"datePublished":"2026-06-10T13:12:31.749Z","dateModified":"2026-06-10T13:12:54.776Z","description":"GitHub has disabled npm's auto-run scripts feature, a change prompted by the Shai-Hulud worm which exploited this functionality in a supply chain attack. The...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/edd1702cf3eac7127287b7b24b190520?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/edd1702cf3eac7127287b7b24b190520?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"The Register","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"The Register","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/66aa2113fdad463992ffcbf0e8963fda","url":"https://daily.dev/sources/theregister"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/github-pulls-pin-on-npm-s-auto-run-scripts-z94cofunl","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"security,cyber,github,npm","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"The Register","item":"https://daily.dev/sources/theregister"},{"@type":"ListItem","position":3,"name":"GitHub pulls pin on npm's auto-run scripts"}]}
```

