npm 12에서 기본적으로 설치 스크립트가 비활성화됩니다.
GitHub는 npm 버전 12의 출시를 공식 발표하며 기본적으로 설치 스크립트를 비활성화하기로 했습니다. 이는 공급망 위험을 줄이기 위한 조치입니다. 또한, 2단계 인증을 우회하기 위해 설계된 세분화된 액세스 토큰(GAT) 사용도 중단되었습니다. 이로 인해 이전에 자동으로 실행되던 npm install 동작들이 opt-in 방식으로 변경되었습니다.
npm 12 disables install scripts by default to enhance security.
GitHub has officially announced the release of npm version 12, which disables install scripts by default to reduce supply chain risks. This decision aims to improve security practices among users. Additionally, granular access tokens (GATs) designed to bypass two-factor authentication (2FA) have been deprecated, changing existing npm install behaviors to an opt-in model.