Snyk has reported that there have been attempts or successful attacks targeting this vulnerability.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsAvoid using all malicious instances of the @jagreehal/workflow package.
@jagreehal/workflow is a Typed async workflows with automatic error inference. Build type-safe workflows with Result types, step caching, resume state, and human-in-the-loop support.
Affected versions of this package are vulnerable to Embedded Malicious Code containing a malicious binding.gyp file that drops and runs a self-propagating cloud secret stealer. The malicious code attempts to exfiltrate AWS, GCP, Azure, Vault, and Kubernetes credentials, as well as npm and RubyGems registry tokens, and GitHub Actions OIDC tokens.
The added package/index.js, containing the obfuscated payload, is called silently during npm install execution, without the use of postinstall scripts. This file is deliberately confused with the legitimate entry point dist/index.js, but is not itself an entrypoint.