Malicious code in transaction-decoder (npm)

transaction-decoder Updated 02 Oct 2025

Summary

01/11/2023
CRITICAL
No i
Critical
Not published

MAL-2023-8417: Malicious code in transaction-decoder (npm). Affects transaction-decoder versions 1.0.0 – 1.0.8. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The package 'transaction-decoder' is an npm package that is used for decoding transactions. It provides functionality to parse and interpret transaction data. This package is widely used in various applications that deal with blockchain transactions. However, the package has been identified as malicious by the OpenSSF Package Analysis project.

Vulnerability Detail

The 'transaction-decoder' package has been flagged as malicious due to the following reasons:

  • The package communicates with a domain associated with malicious activity.
  • The package executes one or more commands associated with malicious behavior.

This indicates that the package may be involved in unauthorized activities and can potentially harm the system it is installed in. It is crucial to take immediate action to mitigate the risk.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall transaction-decoder

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no specific workaround for this vulnerability. The best course of action is to remove the package and replace it with a trusted alternative.

Conclusion

The 'transaction-decoder' package has been identified as malicious and poses a potential risk to the system. It is crucial to remove the package and replace it with a trusted alternative. Regularly reviewing and updating dependencies, as well as implementing vulnerability scanning tools, can help maintain the security of your project. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for transaction-decoder →

Share this vulnerability

FAQ

This vulnerability can lead to unauthorized activities and potential harm to the system. It is important to remove the package to prevent any malicious behavior.

You can use Vulert Playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Simply provide your package-lock.json file and it will alert you in real-time.

Specific exploits related to this vulnerability have not been disclosed. However, it is important to address the vulnerability promptly to prevent any potential harm.

No, the recommended approach is to remove the 'transaction-decoder' package and replace it with a trusted alternative. This is the most effective way to mitigate the risk.

To ensure the security of your project's dependencies, regularly review and update them. Use reputable sources for packages and consider implementing automated vulnerability scanning tools like Vulert to monitor for any potential vulnerabilities.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall transaction-decoder

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback