NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Malicious package

capacitor-plugin-service-workernpm

Advisory published Updated

capacitor-plugin-service-worker is a confirmed malicious npm package (MAL-2026-3327) that executes malicious code on install (malicious versions 100.0.0, 100.2.0). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in capacitor-plugin-service-worker (npm)

MAL-2026-3327
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall capacitor-plugin-service-worker

What this malware does

The package capacitor-plugin-service-worker was found to contain malicious code.

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.

The OpenSSF Package Analysis project identified 'capacitor-plugin-service-worker' @ 100.0.0 (npm) as malicious.

It is considered malicious because:

  • The package communicates with a domain associated with malicious activity.

Malicious versions

2 flagged
100.0.0100.2.0

Indicators of compromise (SHA-256)

3f28ba8fd7638915ed1060990ac5bbe779c131ee7453a155248a2f5d9d8c8e53
aa55f7d30d38d7e0c527b9205044ad39277fc98c6d2ed056e55edbe539c2dcb3
36f1958d8bc44724a00d45b291983ad836dc2f28370c27f83c76f7bf1780bd4b
ebce156eb87175bfde98af0898d26b253871e081c45104c8e15e5c96c04ceba3

Detection & response playbook

Malicious package
  1. Find it

    Search your lockfiles and build artifacts for capacitor-plugin-service-worker (2 malicious versions).

  2. If you installed it — respond

    Remove capacitor-plugin-service-worker from your project and lockfile, then assume any secrets accessible to the build or runtime were exposed: rotate API keys, tokens, and credentials, and audit for unexpected outbound activity or persistence.

  3. Did it already run?

    If capacitor-plugin-service-worker was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.

Frequently asked questions

No. capacitor-plugin-service-worker on npm has been identified as a malicious package (versions 100.0.0, 100.2.0 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

GHSA-qg5c-9jmq-fpmf

References

Credits

  • Amazon Inspector · finder
  • OpenSSF: Package Analysis · finder

Detect & block this

O3 blocks capacitor-plugin-service-worker-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.

Explore

capacitor-plugin-service-worker (npm) malicious package — MAL-2026-3327 | O3 Security