<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Axios on YuuuuuuYu</title><link>https://4d4cat.com/tags/axios/</link><description>Recent content in Axios on YuuuuuuYu</description><generator>Hugo -- 0.147.2</generator><language>ko-KR</language><lastBuildDate>Fri, 01 May 2026 13:40:58 +0900</lastBuildDate><atom:link href="https://4d4cat.com/tags/axios/index.xml" rel="self" type="application/rss+xml"/><item><title>Axios compromised on npm</title><link>https://4d4cat.com/posts/2026/axios-compromised-on-npm/</link><pubDate>Sat, 11 Apr 2026 16:18:00 +0900</pubDate><guid>https://4d4cat.com/posts/2026/axios-compromised-on-npm/</guid><description>&lt;h2 id="개요">개요&lt;/h2>
&lt;p>2026년 3월 30일(현지 시간), 주당 1억 회 이상의 다운로드를 기록하는 가장 인기 있는 HTTP 클라이언트 라이브러리인 Axios의 NPM 계정이 해킹되었다.
요약하면, Axios 관리자 계정을 탈취하고 &lt;code>plain-crypto-js&lt;/code>라는 가짜 의존성이 추가된 &lt;code>axios@1.14.1&lt;/code> 및 &lt;code>axios@0.30.4&lt;/code> 버전을 배포했다.&lt;/p>
&lt;p>자세한 건 아래 사이트에 정리되어 있기 때문에 나는 개발자로서 어떻게 대응해야 할지를 중점적으로 작성하려고 한다.&lt;/p>
&lt;h3 id="타임라인">타임라인&lt;/h3>
&lt;p>&lt;a href="https://www.stepsecurity.io/blog/axios-compromised-on-npm-malicious-versions-drop-remote-access-trojan">StepSecurity&lt;/a> &lt;br>
&lt;a href="https://www.skshieldus.com/security-insights/trends/axios-supply-chain-attack-insight-report">SK쉴더스&lt;/a>&lt;/p>
&lt;h2 id="대응-전략">대응 전략&lt;/h2>
&lt;h3 id="1-npm-install-시---ignore-scripts-옵션을-사용">1. npm install 시 &lt;code>--ignore-scripts&lt;/code> 옵션을 사용&lt;/h3>
&lt;p>이번 사태에 핵심 원인이기도 했던 자동 스크립트 실행을 막는 옵션이다. 프로젝트에 따라 사용할 때도 있겠지만, 무지성 업그레이드하는 것도 지양해야 한다.&lt;/p></description></item></channel></rss>