NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Part of a larger attack: @apple-pay-trust published 9 malicious packages. See the full campaign →
Malicious package

@apple-pay-trust/cancellednpm

Advisory published Updated

@apple-pay-trust/cancelled is a confirmed malicious npm package (MAL-2026-3112) that executes malicious code on install (malicious versions 99.0.1, 99.0.2, 99.0.3…). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in @apple-pay-trust/cancelled (npm)

MAL-2026-3112
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall @apple-pay-trust/cancelled

What this malware does

The package @apple-pay-trust/cancelled 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 '@apple-pay-trust/cancelled' @ 99.0.3 (npm) as malicious.

It is considered malicious because:

  • The package executes one or more commands associated with malicious behavior.

Malicious versions

4 flagged
99.0.199.0.299.0.399.0.4

Indicators of compromise (SHA-256)

e4d705616f4970307de6b924553b1875fb387fa5906a1e241502e8865617df84
f0c6d2bdfddde00dc6bb5663ffb7fd381c2e392a8c65d6a8890b400c219c160d
9bd59d02a4666639b0d1f6aeb47e6802f36e556aed0468285923e3f5bce8a59e

Detection & response playbook

Malicious package
  1. Find it

    Search your lockfiles and build artifacts for @apple-pay-trust/cancelled (4 malicious versions).

  2. If you installed it — respond

    Remove @apple-pay-trust/cancelled 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 @apple-pay-trust/cancelled 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. @apple-pay-trust/cancelled on npm has been identified as a malicious package (versions 99.0.1, 99.0.2, 99.0.3, 99.0.4 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

GHSA-2v65-5xfv-p42q

References

Credits

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

Detect & block this

O3 blocks @apple-pay-trust/cancelled-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

@apple-pay-trust/cancelled (npm) malicious package — MAL-2026-3112 | O3 Security