Advisory

MAL-2026-2047

Also known as: GHSA-f9m8-w27f-mxr3

Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.

Summary

Malicious code in @emilgroup/docxtemplater-util (npm)

Details

---
_-= Per source details. Do not edit below this line.=-_

Source: amazon-inspector (1d196d74e7824e876dfcb2ce1d7a1930ef7009f348a1678012c7813f4786080d)
The package @emilgroup/docxtemplater-util was found to contain malicious code.

Source: ghsa-malware (97b77709b03a85bbe22cc4d8a6697312d9a4ab21aab62859dbe38f87d4350dce)
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.

Source: google-open-source-security (889e118088c03c39370b915cb1eff75e1a95ea99eab54b7ca2afe13e6993c086)
This package was compromised by the CanisterWorm campaign by the TeamPCP
threat actor. The malicious payload establishes persistence as user systemd
service and places a backdoor on the infected host. The malware will also
harvest npm credentials and can autonomously spread.

Severity

Not rated by the source.

Dates

Published
2026-03-22 18:21 UTC
Modified
2026-03-26 01:08 UTC

Affected packages and fixes

@emilgroup/docxtemplater-util

npm · All systems

Affected

  • Versions: 1.1.2, 1.1.3, 1.1.4

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: OpenSSF Malicious Packages · Apache-2.0

Sources & licences