permcserver
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-vjr2-cx8x-3q2x
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in permcserver (npm)
---
_-= 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.
Not rated by the source.
0 (semver)None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0