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

@solidcash/solidcash

Latest version: v0.53.0

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
npm package Publisher: mainnet_pat
3 Stars
10 Forks
9 Versions
1.5K Downloads
TypeScript Repo language

Scan summary

@solidcash/solidcash was last scanned on 28 Nov 2026 at version 0.53.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 9 versions; the latest 3 were published within 4 days (25–28 Nov 2026).
  • Findings: No rules fired in version 0.53.0.
  • Downloads: 1,502 downloads.

Versions

9 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.53.0 LATEST 28 Nov 2026 No rules fired
0.52.1 26 Nov 2026 No rules fired
0.52.0 25 Nov 2026 No rules fired
0.51.1 17 Nov 2026 Not shown
0.51.0 16 Nov 2026 Not shown

No rules fired in 0.53.0

Findings

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

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

README

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

SolidCash

Build Status Coverage Status NPM Version NPM Monthly Downloads NPM License

SolidCash is a high-level programming language for smart contracts on Bitcoin Cash. It offers a strong abstraction layer over Bitcoin Cash' native virtual machine, Bitcoin Script. Its syntax is based on Ethereum's smart contract language Solidity, but its functionality is very different since smart contracts on Bitcoin Cash differ greatly from smart contracts on Ethereum. For a detailed comparison of them, refer to the blog post Smart Contracts on Ethereum, Bitcoin and Bitcoin Cash.

See the GitHub repository and the SolidCash website for full documentation and usage examples.

The SolidCash Language

SolidCash is a high-level language that allows you to write Bitcoin Cash smart contracts in a straightforward and familiar way. Its syntax is inspired by Ethereum's Solidity language, but its functionality is different since the underlying systems have very different fundamentals. See the language documentation for a full reference of the language.

The SolidCash SDK

The main way to interact with SolidCash contracts and integrate them into applications is using the SolidCash SDK. This SDK allows you to import .json (or .ts) artifact files that were compiled using the solidc compiler and convert them to Contract objects. These objects are used to create new contract instances. These instances are used to interact with the contracts using the functions that were implemented in the .scash file. For more information on the SolidCash SDK, refer to the SDK documentation.

Installation
npm install @solidcash/solidcash
Usage
import { Contract, ... } from '@solidcash/solidcash';
import { ElectrumNetworkProvider } from '@solidcash/solidcash/network/electrum';
// in tests: import { MockNetworkProvider } from '@solidcash/solidcash/network/mock';

Using the SolidCash SDK, you can import contract artifact files, create new instances of these contracts, and interact with these instances:

...
  // Import the P2PKH artifact
  import P2PKH from './p2pkh-artifact.json' with { type: 'json' };

  // Instantiate a network provider for SolidCash's network operations
  const provider = new ElectrumNetworkProvider('mainnet');

  // Create a new P2PKH contract with constructor arguments: { pkh: pkh }
  const contract = new Contract(P2PKH, [pkh], { provider });

  // Get contract balance & output address + balance
  console.log('contract address:', contract.address);
  console.log('contract balance:', await contract.getBalance());

  const transactionBuilder = new TransactionBuilder({ provider });
  const contractUtxos = await contract.getUtxos();

  const sendAmount = 10_000n;
  const destinationAddress = '... some address ...';

  // Calculate the change amount, accounting for a miner fee of 1000 satoshis
  const changeAmount = contractUtxos[0].satoshis - sendAmount - 1000n;

  // Construct a transaction with the transaction builder
  const txDetails = await transactionBuilder
    // Add a contract input that spends from the contract using the 'spend' function
    .addInput(contractUtxos[0], contract.unlock.spend(pk, new SignatureTemplate(keypair)))
    // Add an output that sends 0. 000 100 00 BCH back to the destination address
    .addOutput({ to: destinationAddress, amount: sendAmount })
    // Add a change output that sends the change back to the contract's address
    .addOutput({ to: contract.address, amount: changeAmount })
    .send();

  console.log(txDetails);
...

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 @solidcash/solidcash

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

CVE

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

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Frame 2085668439 (1)
Group 1261154229