Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Malicious package

@7nohe/openapi-react-query-codegennpm

@7nohe/openapi-react-query-codegen is a confirmed malicious npm package (MAL-2026-15494) that executes malicious code on install (malicious versions 0.0.0-365d4eb738d3146583431948d3ba6e27a32556be, 0.0.0-ec7876d6c917dad516ba69bbfafc948b834bf0ab, 0.5.4…). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in @7nohe/openapi-react-query-codegen (npm)

MAL-2026-15494
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall @7nohe/openapi-react-query-codegen

What this malware does

The tarball ships a binding.gyp at the package root whose conditions field abuses GYP's Python expression evaluator to walk ().__class__.__base__.__subclasses__() to catch_warnings, retrieve __import__ via _module.__builtins__, load os, and call os.system('node 3FWCvzduYZg.js') (the command is Unicode-escape-obfuscated). Because a binding.gyp at the package root causes npm install to invoke node-gyp rebuild automatically — even with no lifecycle script declared — this executes shell on every installer during configure. The launched sibling file 3FWCvzduYZg.js is a 5.4 MB blob consisting of a single try{Function(function(a,k){...XOR...}([large int array], key))(...)} construct: an XOR-decoded string passed to Function() and invoked, a loader/dropper shape whose body cannot be inspected without evaluation. The referenced native source (dog.c) is absent from the tarball, so the binding.gyp has no legitimate build purpose. package.json declares "files": ["dist"], but binding.gyp and 3FWCvzduYZg.js sit at the tarball root and are honored regardless — an inclusion gap consistent with smuggled payload added outside the declared publish surface. The package's advertised purpose is a React Query code generator, which requires no native addon and no multi-megabyte obfuscated JS payload.

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

10 flagged
0.0.0-365d4eb738d3146583431948d3ba6e27a32556be0.0.0-ec7876d6c917dad516ba69bbfafc948b834bf0ab0.5.40.5.51.6.31.6.42.2.12.2.23.0.33.0.4

Indicators of compromise (SHA-256)

0e3110db9a7197ec471ce9bf6f382183edd5aba2cf6f18f2fd076d1816e89203
4cb98e3f867912e2bcff9c3e3206042b4aecc234aeb97ca4a590712a836f8ef5
56cfac5b16a98ba1835914a7a227e6545b18fb67bf1831c60bb8e7b86db8ec72
87bafa608c1ea9a66f69c8c529a38f9bb345734ac1a101202b8da109e3f9069d
8df4f510851dd6e063f52bd2ef767e9e12a32fed02c2fe7aff8f5a29e328748b
ab8f8efdad9084d2a7c5ae5058ffc18886d68bfe1c676239fd7e0d41342fc700
1a982250d21865ab78d09295c29f435c7a4989fc7ee7d25d1b8790ac0f8ef6d4
24dce0d2118d3ebbf67b829dee92f2f0b2be3e7e39c16007b9dc38c972406a35
4cb5796bf3e7e7370e84627781c082d359c34de6b1a32799f127df37c5418cf7

Detection & response playbook

Malicious package
  1. Find it

    Scan your lockfiles (package-lock.json, pnpm-lock.yaml, yarn.lock, requirements.txt, poetry.lock, etc.) and build artifacts for @7nohe/openapi-react-query-codegen (10 malicious versions). O3 Security's supply-chain scanner checks every dependency against known-malicious package intelligence at install time and in CI, flagging @7nohe/openapi-react-query-codegen across your stack and pipelines.

  2. If you installed it — respond

    Remove @7nohe/openapi-react-query-codegen 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 @7nohe/openapi-react-query-codegen was ever installed, its post-install/runtime payload may have already executed. O3's L7 egress monitoring and runtime eBPF sensors detect the credential exfiltration or command-and-control callback after install and block the malicious outbound channel, so you catch and contain the actual compromise — not just the presence of the package.

  4. How O3 protects you

    O3 blocks @7nohe/openapi-react-query-codegen before install through its supply-chain scanner, and if it has already run, detects and severs the exfiltration or C2 callback at runtime through L7 egress monitoring and eBPF.

Frequently asked questions

No. @7nohe/openapi-react-query-codegen on npm has been identified as a malicious package (versions 0.0.0-365d4eb738d3146583431948d3ba6e27a32556be, 0.0.0-ec7876d6c917dad516ba69bbfafc948b834bf0ab, 0.5.4, 0.5.5, 1.6.3, 1.6.4, 2.2.1, 2.2.2, and 2 more flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-019047IN-MAL-2026-019049IN-MAL-2026-019048IN-MAL-2026-019052IN-MAL-2026-019045IN-MAL-2026-019051IN-MAL-2026-019050IN-MAL-2026-019046GHSA-rg27-qr39-ch6w

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks @7nohe/openapi-react-query-codegen-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