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

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

## Summary

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

## Findings

No findings.

## Files reviewed

- `dist/baseTransaction.js` (safe): No malicious patterns detected; this is a legitimate Ethereum transaction base class from @ethereumjs/tx with standard cryptographic and validation logic.
- `dist/constants.js` (safe): No malicious patterns detected; the file only exports numeric constants related to EIP-4844.
- `dist/eip1559Transaction.js` (safe): No malicious patterns detected; this is a standard EIP-1559 Ethereum transaction implementation from @ethereumjs/tx with only cryptographic and validation logic.
- `dist/eip2930Transaction.js` (safe): No malicious patterns detected; the file is a legitimate Ethereum EIP-2930 transaction implementation with no exfiltration, credential harvesting, obfuscation, or process execution.
- `dist/fromRpc.js` (safe): The code is a benign transaction parameter normalization utility with no malicious patterns detected.
- `dist/index.js` (safe): No malicious patterns detected; the code is a standard TypeScript-compiled index file for Ethereum transaction types with no data exfiltration, credential harvesting, or dynamic code execution.
- `dist/legacyTransaction.js` (safe): No malicious patterns detected; the code is a legitimate Ethereum legacy transaction implementation using standard cryptographic libraries.
- `dist/transactionFactory.js` (safe): No malicious patterns detected in the transaction factory code; it is a standard Ethereum transaction handling module with no signs of exfiltration, credential harvesting, or other suspicious behavior.
- `dist/types.js` (safe): No malicious patterns detected
- `dist/util.js` (safe): No malicious patterns detected; the code is a standard Ethereum access list utility with no network, filesystem, process, or dynamic execution activity.
- `src/baseTransaction.ts` (safe): This is a legitimate Ethereum transaction base class implementation with no malicious patterns detected.
- `src/constants.ts` (safe): Cleared by Jev triage; no further analysis needed
- `src/eip1559Transaction.ts` (safe): No malicious patterns detected
- `src/eip2930Transaction.ts` (safe): No malicious patterns detected; the file is a legitimate Ethereum EIP-2930 transaction implementation from the @ethereumjs/tx library with no exfiltration, credential harvesting, obfuscation, or other suspicious behavior.
- `src/fromRpc.ts` (safe): No malicious patterns detected
- `src/index.ts` (safe): This file only re-exports transaction classes and types from a well-known Ethereum library, with no malicious patterns, side effects, or suspicious behavior.
- `src/legacyTransaction.ts` (safe): No malicious patterns detected.
- `src/transactionFactory.ts` (safe): No malicious patterns detected
- `src/types.ts` (safe): No malicious patterns detected; the file contains only TypeScript type definitions, interfaces, enums, and pure type-guard functions with no runtime execution, network, filesystem, or process activity.
- `src/util.ts` (safe): No malicious patterns detected; the code is a legitimate Ethereum access-list utility with standard validation and conversion logic.

## 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
