casper
Audited by Socket on Jul 2, 2026
8 alerts found:
Securityx5Anomalyx2MalwareNo direct indicators of classic malware (no reverse shell, persistence, credential theft, or third-party exfiltration) are present in the provided code. However, the framework is highly dual-use: it sends privileged/exploit-like payloads (admin/replay/probability override/negative balances/fixed seeds/extreme quantities) to state-changing endpoints for currency and loot boxes. Additionally, it auto-installs external PowerShell modules without version pinning, creating a supply-chain risk. Overall, this should be treated as an offensive testing tool and carefully restricted (only run against authorized targets) and its module installation process should be hardened.
This fragment is highly likely malicious/abusive content: an attack-ready instruction set with executable bash/curl scripts that automate injection vulnerability probing and include RCE/XXE/DNS out-of-band style payloads. It does not resemble legitimate dependency code or protective testing tooling; instead, it directly facilitates exploitation workflows against remote systems. Even without observing install-time execution behavior, its presence in a software supply chain would be a serious security issue due to the ready-to-use weaponization material.
The provided fragment is not an npm/library implementation; it is an offensive authorization-bypass playbook containing ready-to-use example scripts (curl/JWT tampering/endpoint probing). There is no evidence in this fragment of supply-chain malware behavior (persistence, exfiltration, or hidden execution), but the content is highly actionable for unauthorized access testing and would be a strong red flag if shipped as part of a dependency package. Manual review of the surrounding repository/package contents (e.g., actual source files and install scripts) would be required to assess real supply-chain execution risk.