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

websight-p2pnpm

Advisory published Updated

websight-p2p is a confirmed malicious npm package (MAL-2026-10697) that steals credentials and exfiltrates sensitive data (malicious versions 1.0.0, 1.0.1, 1.0.2…). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in websight-p2p (npm)

MAL-2026-10697
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall websight-p2p

What this malware does

The package ships a single index.html whose body fetches https://loader.p2pgames.workers.dev/ (with header x-access: p2p) and passes the response to document.write(), executing whatever HTML/JavaScript the worker returns. There is no integrity check, no version pinning, and the worker can serve different content per request or per caller. There are no npm lifecycle hooks, so installing the package does not execute code on the developer's machine; the remote-execution behavior only fires when the HTML is opened in a browser by an end user of a consumer application that ships this file. Concerns: any site embedding this file fully delegates page-script control to the author-controlled worker (mutable, unpinned, no SRI), so today's benign content can become tomorrow's attacker payload without any package change. This does not fit the install-time-RCE or active-attack threshold (no install/import-time execution against the installer; no exfiltration of installer secrets), but the runtime fetch-and-execute pattern from a mutable author-controlled endpoint warrants human review before publishing a verdict.

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.

Malicious versions

7 flagged
1.0.01.0.11.0.21.0.31.0.41.0.51.0.6

Indicators of compromise (SHA-256)

dd3e8937aed84d88b684e09a1fc8e874142e8660793e873740d19ebe2870067c
9366852644237a1af32c3638d31bddffe3faef750e6a190c91f069340aa9ee6f
03450671636974704f56ce65b028fa86e160846c546da1438c95a620fe857a40
59767c5ab7f9a6fef6dc9e73b67ac6d3381e757a41200360c0999f8ddb728413
8ba526829a368a1bb99f51de17ec2b9246c86b55c946e52fb1c73371cdaa9ac5
a70a4fdffa4457cd6366270226f065017c57aeac78fdbb062237ebf39284af78
beecbdfaa96d8fa909bc089776f104f7f6b01839ef2cff10809e3ee5909ff42d
fa78703630e73abbfa7b161c5cf0f026e354bd257cf2d3543496a8a3bec5b9e0

Detection & response playbook

Credential / info stealer
  1. Find it

    Search your lockfiles and build artifacts for websight-p2p (7 malicious versions).

  2. If you installed it — respond

    websight-p2p is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.

  3. Did it already run?

    If websight-p2p 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. websight-p2p on npm has been identified as a malicious package (versions 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

GHSA-f4xq-pw58-878hIN-MAL-2026-011314IN-MAL-2026-012936IN-MAL-2026-013261IN-MAL-2026-013260IN-MAL-2026-012964IN-MAL-2026-012938IN-MAL-2026-013262

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks websight-p2p-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.

Explore

websight-p2p (npm) malicious package — MAL-2026-10697 | O3 Security