Skip to content
OpenAdvisories
Critical · 9.8 GHSA-gfm8-g3vm-53jh

Malicious Package in leetlog

Published Sep 3, 2020 · Updated Sep 30, 2021 · Assigned by GHSA

Description

Versions 0.1.2 and 0.1.3 of `leetlog` contain malicious code. The package adds an arbitrary hardcoded SSH key identified as `hacker@evilmachine` to the system's `authorized_keys`

## Recommendation

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.

Affected packages

EcosystemPackageAffectedFixedRecord
npm leetlog >= 0.1.2 — GHSA-gfm8-g3vm-53jh

References