MiniRAT macOS RAT via Malicious NPM Package
Score: 9/10

MiniRAT macOS RAT via Malicious NPM Package

MiniRAT is a Go-based macOS remote access trojan delivered via the compromised velora-dex-sdk npm package, utilizing LaunchAgent persistence and AES-encrypted C2 configurations.

Executive Summary

A newly discovered Go-based macOS remote access trojan (RAT), identified as MiniRAT, was distributed through a compromised npm package named 'velora-dex-sdk' targeting developer environments. The malware was first observed in April 2026, though build metadata suggests development began several weeks prior. MiniRAT is designed for long-term stealth, featuring robust anti-virtual machine (VM) checks and persistence mechanisms tailored for macOS systems.

Technically, the implant leverages Go's static linking to inflate its binary footprint and obscure malicious logic. Upon execution, it performs environment profiling using native macOS utilities and establishes persistence by modifying shell configuration files and creating a LaunchAgent. It maintains a heartbeat and tasking channel via JSON files exchanged over HTTPS with its command-and-control (C2) infrastructure.

The use of legitimate software registries like npm to deliver targeted macOS malware represents a significant risk to the software supply chain. Organizations, particularly those in the technology and software development sectors, should prioritize monitoring for anomalous npm package installations and unauthorized LaunchAgent creations on macOS endpoints.

Key Details

Threat Name

MiniRAT

Affects

—

Adversary

—

Malware/Tools

MiniRAT

Report Score

9out of 10
Quality Score
Excellent
IOC Quality9
TTP Details9
Detection Guidance7
Enterprise Relevance9
Clarity & Structure10
Technical Depth9

Sources