Skip to content
JFrog Security Research·Indexed by this site · Originally published· Event →SelectedAttention44

Beyond testmetest: native extension disguise and 42 payload-implanted GitHub repositories reveal a hidden npm publisher

AI summary

JFrog Security Research found 42 third-party GitHub repositories implanted with payloads, belonging to 11 legitimate owners, linked to the testmetest npm campaign. These repositories carry execution hooks targeting AI coding assistants and IDEs, as well as polymorphic wrappers of 12.9 to 13.7 MB, which all decode to the same hidden CI publisher payload that can be triggered when a workspace is opened. Later attacks switched to compiled native addons that XOR-decrypt .napi_cache at runtime and detect CI, containers, debuggers and small-memory VMs in order to stay silent in automated scanners; on the npm side, they use binding.gyp command extensions to execute index.js at install time, steal credentials and propagate.

Why it was selected

The report lists 42 IOCs in the implanted repositories and the mechanism by which native extensions evade CI scanning, which development teams can use to check the execution hooks of AI assistants and IDEs.

Read originalresearch.jfrog.com