gas-log
This report shows the evidence for gas-log@1.1.0. 2 of 3 known versions are blocked or flagged. The newest version, 0.0.1-security, is allowed. See all versions.
OpenSSF/OSV Malicious Advisory
imported 4mo ago · by OpenSSF/OSVOpenSSF/OSV advisory MAL-2026-6962 confirms this npm version as malicious.
Independent LPM AI assessment
SuspiciousIndependent AI assessment: suspicious. LPM AI assessed this version as suspicious; the assessments disagree.
Source inspection shows a non-package-aligned staged RCE primitive, but no install hook and no usable remote endpoint in the shipped source. This warrants a warning rather than a publish block because the payload is inert by default.
Independent scan evidence
public snapshot- index.js exports log, not Gas, and log hardcodes opt=1 so normal reporter code is skipped.
- index.js runtime path calls utils.connectNet() when reporter is invoked.
- lib/utils.js connectNet spawns detached node process running lib/syncResolve.js.
- lib/syncResolve.js loops axios.get(src) then executes response data via new Function.constructor("require", result).
- lib/syncResolve.js defines x-secret-key header but DEV_URI is empty, leaving the payload fetch inert by default.
- package.json has no npm lifecycle hooks.
- No install-time execution found.
- No AI-agent control surface writes found.
- Normal reporter code uses package-aligned Ethereum RPC and gas price APIs.
- File writes are package-aligned report outputs: configured outputFile and ./gasReporterOutput.json under CI.
Source & flagged code
2 flagged · loading sourcePackage source references dynamic require/import behavior.
codechecks.jsView on unpkg · L1Package ships non-JavaScript build or shell helper files.
mock/scripts/integration_tests.shView on unpkgFindings
Affected versions and remediation
This report applies to gas-log@1.1.0.
The versions list below shows the verdict for each recorded version.
- Avoid installing gas-log@1.1.0. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Source advisory published: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.