
Windows에서 CVE-2025-54313 eslint-config-prettier 공급망 공격 IOCs 탐지
eslint-config-prettier 공급망 공격(CVE-2025-54313)과 관련된 침해 지표(IOC)를 탐지하는 크로스 플랫폼 스캐너입니다.
2025년 7월 18일, 여러 인기 npm 패키지가 피싱 공격을 통해 손상되었습니다.
공격자는 관리자의 npm 토큰에 접근하여 플랫폼별 악성코드를 포함한 악성 버전을 게시했습니다.
| 패키지 | 손상된 버전 |
|---|---|
| eslint-config-prettier | 8.10.1, 9.1.1, 10.1.6, 10.1.7 |
| eslint-plugin-prettier | 4.2.2, 4.2.3 |
| synckit | 0.11.9 |
| @pkgr/core | 0.2.8 |
| napi-postinstall | 0.3.1 |
| is | 3.3.1, 5.0.0 |
Invoke-WebRequest -Uri "https://raw.githubusercontent.com/scavenger_scanner/CVE-2025-54313-Scanner.ps1" -OutFile "CVE-2025-54313-Scanner.ps1"
Unblock-File -Path ".\CVE-2025-54313-Scanner.ps1"
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
curl -O https://raw.githubusercontent.com/scavenger_scanner/CVE-2025-54313-Scanner.sh
chmod +x CVE-2025-54313-Scanner.sh
# Debian/Ubuntu
sudo apt-get install jq
# RHEL/CentOS/Fedora
sudo yum install jq
# macOS
brew install jq
.\CVE-2025-54313-Scanner.ps1 -QuickScan
.\CVE-2025-54313-Scanner.ps1
.\CVE-2025-54313-Scanner.ps1 -ScanPath "D:\Projects"
.\CVE-2025-54313-Scanner.ps1 -DetailedOutput
.\CVE-2025-54313-Scanner.ps1 -ReportPath "C:\Security\CVE-Report.txt"
./CVE-2025-54313-Scanner.sh -q
sudo ./CVE-2025-54313-Scanner.sh
./CVE-2025-54313-Scanner.sh --path /home/user/projects
./CVE-2025-54313-Scanner.sh -q -d
./CVE-2025-54313-Scanner.sh --report /tmp/cve-report.txt
./CVE-2025-54313-Scanner.sh --help
악성코드 파일
node-gyp.dll, loader.dll, version.dll, umpdc.dll, profapi.dllnode-gyp.so, loader.so, version.so, libumpdc.so, libprofapi.soinstall.js 파일c68e42f416f482d43653f36cd14384270b54b68d6496a8e34ce887687de5b441 (node-gyp.dll/1단계)5bed39728e404838ecd679df65048abcb443f8c7a9484702a2ded60104b8c4a9 (2단계 Scavenger)%TEMP%%USERPROFILE%\.npmrc, %APPDATA%\npm\.npmrcC:\/tmp, /var/tmp, $TMPDIR~/.npmrc, ~/.config/npm/.npmrc, /usr/local/etc/npmrc, /etc/npmrc/새로운 IOC를 발견했거나 개선 제안이 있으신가요?
포함 사항:
# Quick scan current directory
.\CVE-2025-54313-Scanner.ps1 -QuickScan
# Full system scan with detailed output
.\CVE-2025-54313-Scanner.ps1 -DetailedOutput
# Scan specific path
.\CVE-2025-54313-Scanner.ps1 -ScanPath "C:\Users\John\Projects"
# Quick scan current directory
./CVE-2025-54313-Scanner.sh -q
# Full system scan with detailed output
sudo ./CVE-2025-54313-Scanner.sh -d
# Scan specific path
./CVE-2025-54313-Scanner.sh -p /home/john/projects
# Show all options
./CVE-2025-54313-Scanner.sh --help
32d0dbdfef0e5520ba96a2673244267e204b94a49716ea13bf635fa9af6f66bf (install.js)코드 패턴
logDiskSpace()네트워크 지표
firebase.su, dieorsuffer.com, smartscreen-api.com행동 기반 IOC