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

@samooth/explorer

Latest version: v0.3.15

Overview

Last scanned
27 Nov 2026
Published
27 Nov 2026
npm package Publisher: samooth
0 Stars
0 Forks
1 Versions
62 Downloads
JavaScript Repo language

Scan summary

@samooth/explorer was last scanned on 27 Nov 2026 at version 0.3.15. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: First and only release on 27 Nov 2026.
  • Findings: 1 rule fired in version 0.3.15 (1 medium). The score describes this version only.
  • Downloads: 62 downloads.

Versions

1 version published
Versions and the rules that fired in each
VersionPublishedStatus
0.3.15 LATEST 27 Nov 2026 1 rule fired

Rules fired in 0.3.15: 1

Findings

1 Medium

Findings for v0.3.15. 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.

Function reached through a chain of indirect calls

The code obtains a function through a computed property lookup whose key is not a plain literal, calls it, and then calls the value it returns. Obfuscated loaders use this double indirection to reach the Function constructor without its name appearing in the source. This is a code shape, not evidence of intent, and is shown to help review obfuscated code.

MEDIUM
Checking access…

🔒 Create a free account to see all 1 finding with descriptions and instance counts

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

README

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

@samooth/explorer

npm node license

Cliente REST único para consultar explorers de BSV, BTC y Fractal Bitcoin. Cambia de proveedor con una opción (api) sin cambiar el resto de tu código.

Contenidos

  • Instalación
  • Inicio rápido
  • Endpoints soportados
  • Opciones y límites
  • API
  • Desarrollo y tests
  • Recursos
  • Changelog
  • Licencia

Instalación

npm install @samooth/explorer

Requiere Node >= 20.19.0.

Inicio rápido

import Explorer from '@samooth/explorer'

const explorer = new Explorer('main', { api: 'bananablocks' })

const chain = await explorer.chainInfo()
console.log(chain.chain, chain.blocks)

const utxos = await explorer.utxos('1Q5YLp6AxLFjFszFhBb4jCn4MQjGJXJjD4')
console.log(utxos.length)

También funciona con CommonJS en Node 20.19+/22.12+:

const Explorer = require('@samooth/explorer')
const explorer = new Explorer('main', { api: 'woc' })

La red puede ser main (alias: mainnet, livenet) o test (alias: testnet).

Endpoints soportados

Coin api URL base Notas
BSV woc https://api.whatsonchain.com/v1/bsv/{main\|test}/ Default
BSV bitails https://api.bitails.io/ Con key usa subscription.bitails.io
BSV bsvdirect https://explora.bsv.direct/rest/ Cobertura parcial
BSV electrumx https://api.bsv.direct/e5/ Cobertura parcial
BSV bananablocks https://bananablocks.com/api/v1/bsv/main/ Mirror compatible con WoC
BTC mempoolSpace https://mempool.space/api/
BTC woc https://api.whatsonchain.com/v1/btc/{main\|test}/
FB mempoolSpace https://mempool.fractalbitcoin.io/ Fractal Bitcoin

BananaBlocks usa su API compatible con WhatsOnChain: los métodos woc funcionan igual. En testnet la base es https://test.bananablocks.com/api/v1/bsv/test/. Los recibos PDF usan la ruta nativa download/tx/{txid}/receipt.

Puedes registrar endpoints propios:

const explorer = new Explorer('main')

explorer._endpoints.myAPI = {
  main: 'https://my.api.tld/v1/',
  test: 'https://my.api.tld/v1/test/',
  headerKey: 'X-API-Key'
}

const custom = new Explorer('main', { api: 'myAPI' })

Opciones y límites

Opción Default Descripción
api woc Nombre del endpoint (ver tabla)
coin BSV BSV, BTC o FB (insensible a mayúsculas)
apiKey — Se envía en el header propio del endpoint
timeout 30000 Milisegundos
userAgent — Header User-Agent
cache true false desactiva cache y throttle
threshold 1000 / 200 ms entre peticiones (sin/con API key)
url — Sobrescribe la URL base
const explorer = new Explorer('main', {
  api: 'woc',
  apiKey: process.env.WOC_API_KEY,
  timeout: 15000,
  threshold: 1000,
  cache: true
})
Límites de velocidad
  • WhatsOnChain: 1 petición/s y 1 broadcast/s sin API key (cambios del 18 y 24/11/2026). Con key, de 5 a 20 peticiones/s según plan. El cliente aplica 1000 ms sin key y 200 ms con key; ajustable con threshold.
  • BananaBlocks: 240 req/min por IP y 10 broadcasts/min. La key (bb_live_… / bb_test_…) es opcional y viaja en X-API-Key.
  • Bitails: 3 req/s sin key.

Un método no soportado por el endpoint elegido rechaza con Not implemented (o devuelve undefined en algunos casos heredados). La matriz por método está en docs/API.md.

API

La clase expone métodos para chain, bloques, transacciones, mempool, direcciones y script hashes. Ejemplos rápidos:

await explorer.status()
await explorer.chainInfo()
await explorer.blockHash('00000000000000000be4e0ba7e7d96fa1901f59ec3898c6b352ec7cb1a45a981')
await explorer.txHash('4ad93a84ab3f461ce4e8da94ac10cf93693313ca7bc02df31d5d8ee8a6dd13d0', { format: 'hex' })
await explorer.broadcast(txHex)
await explorer.balance(address, { confirmed: true })
await explorer.history(address, { limit: 25 })
await explorer.utxos(address, { includeMempool: true })
await explorer.merkleProof(txid)
await explorer.search('texto')
  • Referencia detallada y matriz de soporte: docs/API.md
  • Cambios entre versiones: CHANGELOG.md

Desarrollo y tests

npm install
npm run build     # vite build -> dist/explorer.mjs, dist/explorer.umd.js
npm test          # build + 51 tests unitarios (node:test, sin red)
LIVE=1 npm test   # +3 smoke tests contra BananaBlocks y WhatsOnChain

Detalles de la suite, estructura y cómo activar los tests en vivo: docs/TESTING.md.

Recursos

Changelog

La versión actual de trabajo es 0.3.15. Los cambios más recientes:

  • BananaBlocks como endpoint compatible con WhatsOnChain (0.3.14).
  • Throttle de 1 req/s para WhatsOnChain sin API key (0.3.14).
  • Actualización de dependencias y suite de 54 tests (0.3.15).

Historial completo: CHANGELOG.md.

Licencia

MIT — Tomás Díaz (@samooth).

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 @samooth/explorer

References

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

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Frame 2085668439 (1)
Group 1261154229