fable-csp-poc@1.0.0
Malicious code in fable-csp-poc (npm)
Analysis
fable-csp-poc@1.0.0 is a browser script (index.js, the package main entry) that reads the Firebase authentication state of whatever site loads it and sends it to a third-party webhook. It opens the IndexedDB database firebaseLocalStorageDb, enumerates every record in the firebaseLocalStorage object store and extracts the key, uid, email, accessToken, refreshToken and expirationTime fields of each Firebase auth entry; it also enumerates localStorage and collects every key matching /firebase|token|auth/i. It then sends the page URL and origin, the collected localStorage values and the full IndexedDB record dump (values included, up to 3500 characters per request) as three tracking-pixel GET requests to hxxps://webhook[.]site/0ef44895-6b7a-431e-9930-79022251686a, tagged by the fable= query parameter (href, localStorage, indexeddb). A code comment frames the file as an "authorized" CSP-bypass proof-of-concept; the data collection and beaconing to the webhook is what it actually does.
- analyzed by
- Leitwacht
- first seen
- Nov 22, 2026, 11:06 PM
- analyzed
- Nov 22, 2026, 11:07 PM
Related advisories
- tester-lm@0.0.1
- @csc-protocol/token-saver@1.1.0
- @retailrocketgroup/retailrocket-edit.abandoned-view-vue-email-template-render@11.0.433449
- agent-bypass@2.30.2
- amlekzo@1.0.0
- orderly-plugin-liquidity-heatmap@1.0.0
- orderly-plugin-liquidity-heatmap@1.0.6
- env-config-f281@1.0.0
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.