Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

gas-monitor

Latest version: v1.1.0

Overview

Last scanned
29 Aug 2026
Published
29 Aug 2026
AI: Malicious npm package Publisher: dontakebansen
1 Versions

Scan summary

gas-monitor was last scanned on 29 Aug 2026 at version 1.1.0. Risk score 90 of 100 (critical). High-severity rules fired and the AI review flagged it as malicious.

  • Releases: First and only release on 29 Aug 2026.
  • Findings: 2 rules fired in version 1.1.0 (4 instances: 2 critical, 2 high). The score describes this version only.

Versions

1 version published
Versions and the rules that fired in each
VersionPublishedStatus
1.1.0 LATEST 29 Aug 2026 2 rules fired

Rules fired in 1.1.0: 2

Findings

2 Critical 2 High

Findings for v1.1.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

AI review assessed the package as likely malicious

An automated AI review assessed the package's behavior as likely malicious, based on code excerpts, package metadata and the other findings for this package. It is an automated assessment, not a confirmed result on its own, and should be reviewed.

CRITICAL

Runtime-built function run with Node internals, fed by a network fetch

HIGH
Checking access…

🔒 Create a free account to see all 4 findings with descriptions and instance counts

The score describes 1.1.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

@chainsight/gas-monitor Real-time multi-chain gas analytics with predictive alerts and cost optimization insights

https://badge.fury.io/js/%2540chainsight%252Fgas-monitor.svg https://img.shields.io/github/actions/workflow/status/chainsight-labs/gas-monitor/ci.yml?branch=main https://img.shields.io/badge/License-MIT-yellow.svg https://img.shields.io/badge/PRs-welcome-brightgreen.svg https://codecov.io/gh/chainsight-labs/gas-monitor/branch/main/graph/badge.svg

Overview GasSight is a next-generation CLI and daemon tool that moves beyond static test reporting. It continuously monitors live gas markets across 10+ EVM-compatible networks, providing actionable intelligence for infrastructure optimization, cost forecasting, and automated alerting.

Whether you are a DeFi protocol engineer, a DevOps manager for a dApp backend, or a blockchain infrastructure provider, GasSight helps you save up to 30% on transaction overhead by intelligently timing your batched operations.

Key Features Live Multi-Chain Aggregation – Real-time gas prices (Low, Average, High, Priority) for Ethereum, BSC, Polygon, Arbitrum, Optimism, Avalanche, Fantom, and more.

Predictive Analytics – Machine-learning-driven forecasts to predict gas spikes 60 minutes in advance.

WebSocket & Webhook Alerts – Instant notifications to Slack, Discord, Telegram, or custom webhooks when gas crosses user-defined thresholds.

Historical Cost Dashboards – Interactive terminal-based charts showing gas trends over the last 24h / 7d.

CI/CD Cost Gates – Enforce gas budgets in your pull requests (similar to coverage checks) to prevent expensive contract deployments.

Minimal Overhead – Built with Node.js + native fetch, consumes < 50MB RAM in daemon mode.

Proxy-Aware Metrics – Automatically resolves proxy contract calls (EIP-1967 / ERC-2535) for accurate usage data.

Installation Global CLI (Recommended for DevOps) bash npm install -g @chainsight/gas-monitor Local Project Dependency bash npm install --save-dev @chainsight/gas-monitor

or

yarn add -D @chainsight/gas-monitor Quick Start

  1. Run a one-shot gas report for your active network bash gsight check --network ethereum Output:

text ┌─────────────┬──────────┬──────────┬──────────┬──────────────┐ │ Network │ Low (Gwei)│ Avg (Gwei)│ High (Gwei)│ Est. $ / tx │ ├─────────────┼──────────┼──────────┼──────────┼──────────────┤ │ Ethereum │ 12 │ 23 │ 45 │ $2.10 │ │ Polygon │ 35 │ 65 │ 120 │ $0.02 │ │ Arbitrum │ 0.2 │ 0.4 │ 0.8 │ $0.30 │ └─────────────┴──────────┴──────────┴──────────┴──────────────┘ 2. Start the daemon with alerts bash gsight daemon --config ./gas-config.yml Configuration Create a gas-config.yml or gas-config.json file in your project root.

Example gas-config.yml yaml networks:

  • ethereum
  • polygon
  • arbitrum

alerting: webhooks: - url: "https://hooks.slack.com/services/XXX/YYY/ZZZ" events: [ "high_gas", "spike_detected" ] discord: webhook_id: "your_discord_webhook"

thresholds: ethereum: max_priority_fee: 30 # in Gwei, alerts if > 30 max_base_fee: 80 polygon: max_gas_price: 200

forecasting: enabled: true window_minutes: 60

reporting: output_format: "table" # 'table', 'json', 'csv' save_historical: true storage_path: "./.gas-data" CLI Commands Command Description gsight check [--network] Fetch and display live gas prices for a specific network or all networks. gsight daemon [--config] Run the persistent monitoring daemon with alerts and forecasting. gsight history [--days] Display historical gas charts (requires saved data). gsight ci Gas-aware CI mode: fail if deployment costs exceed the configured budget. gsight proxy resolve Analyze a proxy contract and show the resolved implementation gas usage. CI/CD Integration (The "Cost Gate") Integrate GasSight into your GitHub Actions or GitLab pipelines to block PRs that introduce expensive smart contract code.

Example GitHub Action:

yaml

  • name: Run Gas Cost Gate run: npx @chainsight/gas-monitor ci --budget 0.5 --network goerli env: INFURA_KEY: ${{ secrets.INFURA_KEY }} If any contract deployment in your test suite exceeds the 0.5 ETH budget (in fiat equivalent), the pipeline will fail, ensuring your team stays lean on gas costs.

API Reference GasMonitor Class (for programmatic usage) javascript import { GasMonitor } from '@chainsight/gas-monitor';

const monitor = new GasMonitor({ networks: ['ethereum', 'polygon'], apiKeys: { etherscan: process.env.ETHERSCAN_KEY } });

// Get live prices const prices = await monitor.getPrices(); console.log(prices.ethereum.average); // 23 Gwei

// Subscribe to events monitor.on('thresholdExceeded', (data) => { console.log(ALERT: ${data.network} gas is at ${data.price} Gwei!); });

monitor.startDaemon({ interval: 10000 }); // Check every 10 seconds Supported Networks Network Chain ID Native Token Gas API Endpoint Ethereum 1 ETH Etherscan BNB Smart Chain 56 BNB BSCScan Polygon 137 MATIC PolygonScan Arbitrum One 42161 ETH Arbiscan Optimism 10 ETH Optimistic Etherscan Avalanche C-Chain 43114 AVAX SnowTrace Fantom 250 FTM FTMScan Base 8453 ETH Basescan Linea 59144 ETH LineaScan Need another chain? Open an issue or submit a PR – adding a new provider takes just 10 lines of configuration.

Advanced Use Cases Cost Optimization Bots: Use the daemon's event emitter to trigger your own batched transactions when gas drops below a dynamic threshold.

Multi-Sig Monitoring: Set up alerts for high-priority fees to ensure treasury operations aren't delayed.

Post-Mortem Analysis: Use the history command with --format json to export data for custom dashboards (Grafana, Datadog).

Troubleshooting Issue Solution Error: Rate limit exceeded Most free APIs allow ~5 req/s. Use the --delay flag or upgrade to a paid plan. No data for network X Ensure you have set the correct API key in the config or environment variables. Daemon stops unexpectedly Check system logs. Use pm2 or systemd to run as a persistent service. Contributing We welcome contributions from the community!

Fork the repository

Create a feature branch (git checkout -b feat/amazing-feature)

Commit your changes (git commit -m 'Add amazing feature')

Push to the branch (git push origin feat/amazing-feature)

Open a Pull Request

Please ensure your code passes the linting and test suite (npm run test).

Credits & Inspiration GasSight was inspired by the foundational work of the eth-gas-reporter community, reimagined for the modern multi-chain landscape. Special thanks to:

The Truffle & Hardhat ecosystems for popularizing gas metrics.

The Etherscan team for their reliable public APIs.

All the chain explorers making cross-chain data accessible.

Core Team @your-username – Lead Maintainer

@contributor-1 – Forecasting Engine

@contributor-2 – Webhook Integrations

License Distributed under the MIT License. See LICENSE for more information.

Star us on GitHub ⭐️ – https://github.com/chainsight-labs/gas-monitor

Report a Bug 🐛 – Open an Issue

Join the Discussion 💬 – Discord Server

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm gas-monitor

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Frame 2085668439 (1)
Group 1261154229