og-boost-br@1.0.0
Malicious code in og-boost-br (npm)
Analysis
og-boost-br@1.0.0 is a trojanized package that steals Discord OAuth2 credentials. When required, it executes a heavily obfuscated payload that performs the Discord OAuth2 authorization code flow: it constructs a Discord authorization URL with a hardcoded client_id and redirect_uri, captures the returned authorization code, exchanges it for an access token via Discord's token endpoint (discord[.]com/api/oauth2/token), and exfiltrates the stolen token by posting it to a Discord channel via the bot API (discord[.]com/api/v9/channels/{channel_id}/messages). The package uses javascript-obfuscator to hide its logic and a base64-decoded second-stage loader (eval(atob())) to bootstrap the HTTPS agent. It has no repository, no description, and no lifecycle hooks — the payload executes on require().
- analyzed by
- Leitwacht
- first seen
- Jul 17, 2026, 02:29 PM
- analyzed
- Jul 17, 2026, 02:34 PM
Related advisories
- crypto-javas@2.0.8
- n8n-nodes-net-utils@1.0.0
- n8n-nodes-utils-helper@1.0.0
- n8n-nodes-task-runner@1.0.0
- easyway2@1.0.0
- web3-terminal@2.1.6
- mcp-dev-toolkit@1.5.0
- time-format-kit@1.0.2
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.