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

@hardkas/cli

Latest version: v1.0.0

Overview

Last scanned
24 Nov 2026
Published
24 Nov 2026
npm package Publisher: kaslabdevs
2 Stars
0 Forks
20 Versions
1.1K Downloads
TypeScript Repo language

Scan summary

@hardkas/cli was last scanned on 24 Nov 2026 at version 1.0.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 20 versions; the latest was published on 24 Nov 2026.
  • Findings: No rules fired in version 1.0.0.
  • Downloads: 1,142 downloads.

Versions

20 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.0.0 LATEST 24 Nov 2026 No rules fired
0.13.0-rc.3 16 Nov 2026 No rules fired
0.13.0-rc.2 14 Nov 2026 No rules fired
0.13.0-rc.1 10 Nov 2026 Not shown
0.12.0-rc.29 25 Oct 2026 Not shown

No rules fired in 1.0.0

Findings

Findings for v1.0.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 1.0.0; other versions have their own rules, not their own score.

README

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

@hardkas/cli

Documentation: hardkas.dev/docs · Website: hardkas.dev

The HardKAS command line: create a Kaspa project, plan a transaction, sign it, send it, follow its state and verify the evidence of every step — on a local simulator or against a real rusty-kaspad node in Docker.

Release scope. This release supports the Golden Core shown on this page, on the simulator and on a local node you control. It is not qualified for testnet-10 or mainnet. Other commands listed by hardkas --help are experimental.

Install

Requirements: Node.js 24.22.1 exactly (engines pins it; hardkas doctor warns on another 24.x and fails on other major lines) and npm. Docker only for the local node.

mkdir my-kaspa-app && cd my-kaspa-app
npx @hardkas/cli@1.0.0 init .
npm install --save-dev @hardkas/cli@1.0.0

init writes a package.json (an ES module project, with @hardkas/sdk and @hardkas/testing pinned to this CLI's version), hardkas.config.ts, a first test in test/payment.test.ts and a local simulator whose accounts (alice, bob, …) start with 1000 KAS each. Installing @hardkas/cli in the project makes npx hardkas run this CLI.

init also installs the Kaspa WASM SDK this release pins, kaspa-wasm 2.1.0 from the official rusty-kaspa release, into ~/.hardkas/toolchains/ (or $HARDKAS_HOME), and checks it against its pinned SHA-256. Signing, planning and the generated test use it. If that step fails, init stops with an error. npx hardkas toolchain install kaspa-wasm installs it by hand (add --from-file <asset> without a network connection), and npx hardkas toolchain status shows what is installed.

Install an exact version, as above. Do not rely on the rc dist-tag: it is not moved by this release line and can point to an older release.

Quickstart

The simulator needs no node and no Docker.

npm test
npx hardkas accounts balance alice --network simulated
npx hardkas tx send --from alice --to bob --amount 25 --network simulated --yes
npx hardkas accounts balance bob --network simulated

First transaction

The same payment, one step at a time. Every step writes an artifact you can verify.

npx hardkas tx plan --from alice --to bob --amount 10 --network simulated --out plan.json
npx hardkas tx sign plan.json --account alice --out signed.json
npx hardkas tx send signed.json --network simulated --yes
npx hardkas verify signed.json
npx hardkas why <receipt artifact id printed by tx send>

In the simulator HardKAS executes the payment itself; nothing is broadcast to a network.

Every command that broadcasts a transaction (tx send, tx batch, wallet hd send, escrow fund, escrow release, kcc20 deploy, kcc20 transfer, zk toccata spend, the Silver on-chain commands and silver test --on-node) needs --yes on any network other than simulated and simnet: without it the command is refused before anything is read, signed or sent (exit 3, TX_SEND_CONFIRMATION_REQUIRED; zk toccata spend keeps its own ZK_SPEND_CONFIRMATION_REQUIRED). accounts consolidate --execute needs --yes on every network. Mainnet is refused whatever --yes says.

Against a local node

A real rusty-kaspad node in Docker, funded by mining. The keys below are development keys stored in plaintext in .hardkas/; use them only on this local node.

npx hardkas localnet start --toccata
npx hardkas accounts real generate --name miner --unsafe-plaintext --yes
npx hardkas accounts real generate --name ana --unsafe-plaintext --yes
npx hardkas localnet fund miner
npx hardkas tx plan --from miner --to ana --amount 10 --network simnet --out plan.json
npx hardkas tx sign plan.json --account miner --out signed.json
npx hardkas tx send signed.json --network simnet --yes --wait
npx hardkas tx status <txId printed by tx send>
npx hardkas accounts balance ana --network simnet
npx hardkas verify signed.json
npx hardkas localnet stop --toccata

localnet fund mines until the account has spendable coins. By default a miner keeps running (its rewards go to an address nobody can spend, not to the funded account) so new blocks keep arriving and transactions confirm; pass --keep-miner to keep mining directly to the funded account, or --stop-miner to stop the miner after funding. localnet stop stops the node, and the miner, which shares its network, stops with it.

tx status and tx wait report what the node has been observed to do with the transaction — SUBMITTED, MEMPOOL_ACCEPTED, ACCEPTED, then CONFIRMED once it has at least 100 blue-score confirmations. That threshold is a HardKAS default, not a Kaspa parameter. Once the state is reached, tx wait also waits, within the same --timeout, until the node's UTXO view lists the new outputs and no longer lists the spent inputs, so the balance you read next is current (an output that a later transaction has already spent, such as change used by the next payment of a batch, is not waited for); if the view does not catch up in time it fails with TX_WAIT_UTXO_VIEW_STALE.

Evidence

  • hardkas verify <artifact> recomputes the artifact's hash and checks its schema and the lineage it declares; it fails if the artifact was altered.
  • hardkas why <artifact id> walks an artifact's lineage back to its plan.
  • hardkas explain <artifact id> describes an artifact; for network submissions it reports the state derived from recorded observations.

Reference

The full command reference lives in the repository: docs/reference/cli.md.

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 @hardkas/cli

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

CVE

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

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

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