Malicious code in permcserver (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-10489
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (cf9fcdfd2e40ddb8c0aef4fa0fb93f2d0bcf3b0c00104057076f8013a70812d6) The package's `main` (index.js) is a 10-line FFI shim that spawns a worker, dlopens the bundled `lib-linux.so` via koffi, and immediately invokes the native entrypoint `vserver_start()`. The.so implements a VLESS-over-WebSocket proxy server: it performs the WebSocket handshake using the standard GUID `258EAFA5-E914-47DA-95CA-C5AB0DC85B11`, authenticates clients with a hardcoded UUID (`4916e0f58abc4ad4ba5d158582c60d85`), and services outbound `CONNECT %s HTTP/1.1` requests with SOCKS5/HTTP upstream proxy support — turning the installer's host into an attacker-authenticated TCP relay on the moment the package is required. The package exports no library API; starting the proxy listener is the sole effect of importing it. The binary also enumerates hosting-panel port environment variables (`PTERODACTYL_PORT`, `MC_PORT`, `MINECRAFT_PORT`, `GAME_PORT`) and embeds a decoy `:: SYSTEM ONLINE::` / `MINECRAFT SERVER` HTML page — cover-story content consistent with the package name's implied Pterodactyl/Minecraft server helper purpose, which does not match the actual proxy-backdoor payload. Symbol strings `vless_ws.c`, `relay_thread`, and `dial_tcp` are present in the stripped.so. Requiring or loading this package gives whoever knows the hardcoded UUID persistent, authenticated tunneling access through the installer's machine and the ability to execute arbitrary native code in the Node process. ## Source: ghsa-malware (1894f90da699369d76bdc160b256685a80e12d5f690bcb5d929fea4f14e255ad) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
- Source published
- 13 Jul 2026 20:49:47 UTC
- Source modified
- 5 Aug 2026 07:21:20 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.