# @ethereumjs/tx@5.4.0 security report (npm)

- Verdict: **No issues** (risk level: safe)
- Scanned: 2026-10-04T21:27:26.000Z
- Files reviewed: 51
- Findings: no findings
- Report: https://security.togoder.click/npm/@ethereumjs/tx
- Source: Togoder Security (https://security.togoder.click), AI source-code review

## Summary

Togoder Security scanned the npm package @ethereumjs/tx@5.4.0 on Oct 4, 2026. An AI review of 51 source files produced no findings. No malicious behavior, install-time payloads, credential theft or exfiltration were identified.

## Findings

No findings.

## Files reviewed

- `dist/cjs/baseTransaction.js` (safe): No malicious patterns detected; this is a standard Ethereum transaction base class from the @ethereumjs/tx library with no data exfiltration, credential harvesting, obfuscation, or process execution.
- `dist/cjs/capabilities/eip1559.js` (safe): No malicious patterns detected
- `dist/cjs/capabilities/eip2718.js` (safe): No malicious patterns detected; the code implements standard Ethereum EIP-2718 transaction serialization and validation without any suspicious behavior.
- `dist/cjs/capabilities/eip2930.js` (safe): No malicious patterns detected
- `dist/cjs/capabilities/eip7702.js` (safe): No malicious patterns detected; the file contains straightforward gas fee calculation logic for EIP-7702 transactions without any exfiltration, obfuscation, or suspicious behavior.
- `dist/cjs/capabilities/legacy.js` (safe): The code implements standard Ethereum legacy transaction utilities for signature validation, hashing, and fee calculation without any malicious patterns such as data exfiltration, credential harvesting, obfuscation, cryptocurrency mining, backdoors, or suspicious network/file/process operations.
- `dist/cjs/constants.js` (safe): No malicious patterns detected; the file only exports EIP-4844 protocol constants with no executable logic, network, filesystem, or process activity.
- `dist/cjs/eip1559Transaction.js` (safe): No malicious patterns detected; this is a standard Ethereum EIP-1559 transaction implementation with proper validation and no exfiltration, dynamic execution, or network activity.
- `dist/cjs/eip2930Transaction.js` (safe): No malicious patterns detected; the code implements standard EIP-2930 Ethereum transaction handling without any suspicious behavior.
- `dist/cjs/eip4844Transaction.js` (safe): This is a legitimate Ethereum EIP-4844 blob transaction implementation from the @ethereumjs/tx package with no malicious patterns detected.
- `dist/cjs/eip7702Transaction.js` (safe): This is a legitimate Ethereum EIP-7702 transaction implementation from @ethereumjs/tx with no malicious patterns detected.
- `dist/cjs/fromRpc.js` (safe): No malicious patterns detected; the code is a straightforward Ethereum transaction parameter normalizer with no network, filesystem, or execution risks.
- `dist/cjs/index.js` (safe): This is a standard TypeScript-compiled CommonJS barrel file re-exporting Ethereum transaction classes with no malicious patterns.
- `dist/cjs/legacyTransaction.js` (safe): This is a legitimate Ethereum legacy transaction implementation from the @ethereumjs/tx package with no malicious patterns detected.
- `dist/cjs/transactionFactory.js` (safe): No malicious patterns detected; the code is a standard Ethereum transaction factory with no exfiltration, credential harvesting, obfuscation, or suspicious network/process operations.
- `dist/cjs/types.js` (safe): No malicious patterns detected; the file contains only standard Ethereum transaction type definitions and type guard functions from a legitimate package.
- `dist/cjs/util.js` (safe): No malicious patterns detected
- `dist/esm/baseTransaction.js` (safe): No malicious patterns detected; the code is a legitimate Ethereum transaction base class with standard cryptographic operations and no suspicious behavior.
- `dist/esm/capabilities/eip1559.js` (safe): No malicious patterns detected; the code only implements EIP-1559 fee calculation functions with no network, filesystem, process, or obfuscated behavior.
- `dist/esm/capabilities/eip2718.js` (safe): No malicious patterns detected
- `dist/esm/capabilities/eip2930.js` (safe): No malicious patterns detected
- `dist/esm/capabilities/eip7702.js` (safe): The code is a simple EIP-7702 gas fee calculation utility with no suspicious network, filesystem, process, or obfuscation patterns.
- `dist/esm/capabilities/legacy.js` (safe): The code implements standard Ethereum transaction signature validation and hashing logic with no malicious patterns, external calls, or suspicious behavior.
- `dist/esm/constants.js` (safe): Cleared by Jev triage; no further analysis needed
- `dist/esm/eip1559Transaction.js` (safe): No malicious patterns detected; this is a legitimate Ethereum EIP-1559 transaction implementation from the @ethereumjs/tx library with no data exfiltration, code execution, or suspicious behavior.
- `dist/esm/eip2930Transaction.js` (safe): No malicious patterns detected in the EIP-2930 transaction implementation file.
- `dist/esm/eip4844Transaction.js` (safe): No malicious patterns detected
- `dist/esm/eip7702Transaction.js` (safe): No malicious patterns detected
- `dist/esm/fromRpc.js` (safe): No malicious patterns detected; the file contains only standard transaction parameter normalization logic with no network, filesystem, process, or credential access.
- `dist/esm/index.js` (safe): No malicious patterns detected; this is a standard ESM re-export module for Ethereum transaction types.
- `dist/esm/legacyTransaction.js` (safe): This is a legitimate Ethereum legacy transaction implementation from @ethereumjs/tx with no malicious patterns detected.
- `dist/esm/transactionFactory.js` (safe): The file is a standard Ethereum transaction factory from the ethereumjs ecosystem with no malicious patterns, obfuscation, or suspicious network, filesystem, or process activity.
- `dist/esm/types.js` (safe): No malicious patterns detected
- `dist/esm/util.js` (safe): No malicious patterns detected; the code contains only legitimate Ethereum transaction utility functions with no network, filesystem, process, or dynamic execution activity.
- `src/baseTransaction.ts` (safe): No malicious patterns detected
- `src/capabilities/eip1559.ts` (safe): No malicious patterns detected
- `src/capabilities/eip2718.ts` (safe): No malicious patterns detected; the code is a legitimate Ethereum transaction serialization helper.
- `src/capabilities/eip2930.ts` (safe): No malicious patterns detected
- `src/capabilities/eip7702.ts` (safe): No malicious patterns detected
- `src/capabilities/legacy.ts` (safe): No malicious patterns detected; this is legitimate Ethereum legacy transaction handling code with no data exfiltration, credential harvesting, or dynamic execution.
- `src/constants.ts` (safe): Cleared by Jev triage; no further analysis needed
- `src/eip1559Transaction.ts` (safe): The code is a legitimate EIP-1559 transaction implementation from the Ethereum JS ecosystem, with no malicious patterns, exfiltration, or suspicious behavior.
- `src/eip2930Transaction.ts` (safe): No malicious patterns detected; the file implements standard EIP-2930 Ethereum transaction logic without any exfiltration, obfuscation, or process execution.
- `src/eip4844Transaction.ts` (safe): No malicious patterns detected; the code is a legitimate EIP-4844 transaction implementation with standard cryptographic validation and no suspicious behavior.
- `src/eip7702Transaction.ts` (safe): No malicious patterns detected
- `src/fromRpc.ts` (safe): No malicious patterns detected; the code only normalizes Ethereum transaction parameters using standard library utilities.
- `src/index.ts` (safe): No malicious patterns detected; the file only re-exports transaction classes and types from local modules.
- `src/legacyTransaction.ts` (safe): No malicious patterns detected
- `src/transactionFactory.ts` (safe): No malicious patterns detected
- `src/types.ts` (safe): No malicious patterns detected in this TypeScript type definition file; it contains only Ethereum transaction type declarations, interfaces, and type guards.
- `src/util.ts` (safe): No malicious patterns detected; the code performs standard Ethereum transaction utility operations using trusted @ethereumjs libraries without network, filesystem, process execution, or dynamic code loading.

## Version ranges

None of the 2 scanned versions of @ethereumjs/tx are flagged high or critical. The latest scanned version, 5.4.0, is clean. Only versions we have scanned are listed; unscanned versions between them are not covered.

- 4.2.0 – 5.4.0 (`>=4.2.0 <=5.4.0`): clean

## Scanned versions

- [5.4.0](https://security.togoder.click/npm/@ethereumjs/tx@5.4.0): safe, 2026-10-04T21:27:26.000Z
- [4.2.0](https://security.togoder.click/npm/@ethereumjs/tx@4.2.0): safe, 2026-10-04T16:06:18.000Z

AI analysis is guidance, not a guarantee. Methodology: https://security.togoder.click/methodology
