RAT is a generic term for remote access trojan malware that enables an attacker to control an infected system remotely. In the context of the 2026 npm supply-chain compromises affecting Axios and the Mastra npm scope, the malware was described as a cross-platform RAT embedded in malicious package releases published after maintainer-account compromise. Those incidents indicate use of the malware as a post-compromise payload within the JavaScript package ecosystem, with execution on developer and server environments that install and run the trojanized packages. Reporting around the Axios incident associated the operation with Sapphire Sleet, a North Korean state-sponsored threat actor. High-confidence details in the available material support remote-control functionality and cross-platform targeting, but do not establish a distinct family name, detailed internal tradecraft, persistence mechanisms, or specific data-theft behaviors for this RAT beyond its role as a remote access payload delivered through software supply-chain compromise.
1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Sapphire Sleet, a North Korean state sponsored threat actor, compromised the npm maintainer account and published malicious versions (axios@1.14.1 and axios@0.30.4) containing a RAT.
29 distinct techniques documented for this family, organized by ATT&CK tactic.
The most deceptive element of this campaign is how the packages trick developers into giving up their sudo password... The developer is then prompted to enter their root password to resolve the issue and allow the installation to finish.
"axios compromised on npm: maintainer account hijacked, RAT deployed"
Каждый SDK - потенциальный вектор supply chain атаки... Атакующий модифицирует SDK так, чтобы он выполнял легитимные функции, параллельно собирая данные или предоставляя удалённый доступ.
"Axios npm Backdoored" and "Deploys Cross-Platform RAT via Supply Chain Attack"
These repositories are seeded with clean code and left inactive for long periods to build user trust before malicious components are introduced.
Le code injecté: ... Permet l’exécution de commandes à distance et le contrôle complet du système ;
While on the call, the threat actor said something on Saayman’s system was out of date and prompted him to install an item to fix the issue – a ploy which Huntress researchers have seen in other social engineering attacks. Unbeknownst to Saayman, the install led to the RAT.
He was then invited to participate in a Microsoft Teams call and encountered a prompt saying something was out of date, leading him to install what he believed to be a Teams update, which was actually the RAT.
"axios compromised on npm: maintainer account hijacked, RAT deployed"
"axios compromised on npm: maintainer account hijacked, RAT deployed"
Multi-stage payloads ultimately delivered a cross-platform RAT hidden as image files.
Le code injecté: ... Supprime ses traces après exécution pour éviter la détection ;
After executing, the malware deleted its own files and restored package.json to a clean state to evade detection and forensic analysis.
"axios compromised on npm: maintainer account hijacked, RAT deployed"
The final RAT payload is then decrypted, written to disk, and executed using the stolen sudo password.
“<in memory> RAT”
키 입력 수집(Keylogging) - 사용자의 키 입력을 기록하여 민감 정보 수집
정보 탈취(Credential Theft) - 웹 브라우저 및 시스템에 저장된 인증 정보 수집
The packages trick developers into giving up their sudo password... As soon as the password is entered and confirmed, the malware’s downloader runs silently while fake log output keeps scrolling to mask the activity.
En cada uno de ellos, el troyano realizaba un reconocimiento completo del sistema (directorios, procesos activos, unidades de disco)...
The malicious payload in the attack was a RAT with cross-platform payload capabilities, which allowed for system reconnaissance, credential harvesting, and remote command execution.
En cada uno de ellos, el troyano realizaba un reconocimiento completo del sistema (directorios, procesos activos, unidades de disco)...
원격 제어(HVNC) - 숨겨진 가상 데스크톱 세션을 생성하여 원격 제어를 수행하는 HVNC 기능
The final stage of the attack drops a RAT designed to steal cryptocurrency wallets, harvest sensitive data...
키 입력 수집(Keylogging) - 사용자의 키 입력을 기록하여 민감 정보 수집
화면 캡처(Screenshot Capture) - 감염된 시스템의 화면을 캡처하여 전송
Это техника Browser Session Hijacking (T1185, Collection): атакующий не крадёт куку, а управляет браузером на месте.
The official Telnyx Python package was replaced with a version containing a three-stage RAT that communicated with an attacker-controlled server at 83[.]142[.]209[.]203.
실행된 악성 DLL 파일은 로더(Loader) 역할을 수행하며 보안 탐지를 피하기 위해 다단계 로더(Multi-stage Loader) 구조를 거치게 됩니다. 각 단계의 로더는 메모리 상에서 암호화된 다음 단계 데이터를 복호화하여 로드하며, 최종적으로 RAT(Remote Access Trojan) 페이로드를 실행합니다.
위협 행위자는 수집된 1차 정보를 기반으로 감염자를 선별해 추가 원격제어(RAT) 도구를 내려보내게 됩니다.
The official Telnyx Python package was replaced with a version containing a three-stage RAT that communicated with an attacker-controlled server at 83[.]142[.]209[.]203.
...realizaba un reconocimiento completo del sistema... y enviaba esa información al servidor remoto.
Vect will now have access to potentially millions of victims who can be infected with their ransomware through TeamPCP's RAT.
164 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.