THREATPKG
SYNC STALE

Supply-chain threat intelligence

Incident detail

criticalnpm·dependency confusion·osv

Malicious code in @t-in-one/save_application_hid_to_storage (npm)

@t-in-one/save_application_hid_to_storage

Risk score

92

AI summary

Indexed incident for @t-in-one/save_application_hid_to_storage (npm).

Description

Wave 2 of a dependency confusion attack campaign (C2: oob.moika.tech) targeting internal npm scopes. The attacker (npm user t-in-one, email nath.dr4k3@gmail.com) published packages at inflated versions that resolve ahead of private registry versions via npm's default version resolution. The campaign shares the same C2 endpoint (https://oob.moika.tech/report), second-stage payload host (https://oob.moika.tech/payload), and hardcoded secret (l95HdDaz3kQx1Zsg3WxH6HvKANf51RY1) as Wave 1 (npm users mr.4nd3r50n and pik-libs, published 2026-05-27).

On installation, the postinstall hook executes a three-layer obfuscated scripts/postinstall.js (obfuscator.io + custom base64 alphabet + integer-shuffle string table). The script checks a run-once guard at ~/.cache/._t-in-one_init/ and respects a T_IN_ONE_NO_TELEMETRY kill switch before proceeding. It then downloads an OS-specific second-stage JavaScript payload from https://oob.moika.tech/payload/{mac|win|linux}.js, writes it to a temporary file, and spawns it as a detached Node.js process that continues running after npm exits. The payload exfiltrates the full process.env (environment variables including secrets, tokens, and credentials), along with hostname, username, platform, architecture, and working directory, to https://oob.moika.tech/report.


-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (089dfa75307d4ce13475988ce1c9ab73a9250a379ed986bdcf79589272715fc3)

The package @t-in-one/save_application_hid_to_storage was found to contain malicious code.

Source: ghsa-malware (36a91496cee26deadfc73db44762da7d04c5b1791427b6fc5cdd9ccc6be27c74)

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.

Source: ossf-package-analysis (e975d13838b79119209fb0823c23f1c32486e514dc9d505d5186d2713e822738)

The OpenSSF Package Analysis project identified '@t-in-one/save_application_hid_to_storage' @ 99.0.7 (npm) as malicious.

It is considered malicious because:

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

Technical details

Affected versions

<function fixed() { [native code] }

Indicators

  • aliasGHSA-99m3-vc85-ccc390%
  • affected_version<function fixed() { [native code] }75%

Timeline

  1. Advisory published
  2. Indexed by ThreatPkg

Related incidents