OpenSSF/OSV advisory MAL-2026-11328 confirms this npm version as malicious. Package name 'logform-core' is one edit/suffix away from the widely-used 'logform' logging-format library, and the README advertises formatting utilities (formatCurrency, roundDecimal) consistent with that naming. However, the only actual export in index.js is computeBoundedFraction, a Kelly-criterion-style betting stake calculator unrelated to either the README or the package name...
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in logform-core (npm)
Details
Package name 'logform-core' is one edit/suffix away from the widely-used 'logform' logging-format library, and the README advertises formatting utilities (formatCurrency, roundDecimal) consistent with that naming. However, the only actual export in index.js is computeBoundedFraction, a Kelly-criterion-style betting stake calculator unrelated to either the README or the package name. There is no network I/O, no credential access, no lifecycle scripts, and no obfuscation in this version — installing the package does not run code that harms the installer. The name/API/README mismatch is a typosquat-shape signal worth human adjudication: it could be a confused/abandoned placeholder, an unrelated package with a coincidentally similar name, or a name-squat setup awaiting a future malicious version. Name-similarity alone, without an installer-harm payload, is not sufficient for an auto-block.
## Source: ghsa-malware (4e18f24df37ad0cd0ddd311e006738521585804f186b83c814cbbc3af20aecff) 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.
Decision reason
OpenSSF Malicious Packages via OSV confirms logform-core@3.3.0 as malicious (MAL-2026-11328): Malicious code in logform-core (npm)