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/sdk

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.3K Downloads
TypeScript Repo language

Scan summary

@hardkas/sdk 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,288 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/sdk

The HardKas SDK is the programmatic API for local-first transaction workflows. It exposes the same core model as the CLI: plan, sign, simulate or send, then inspect artifacts and lineage.

1. Create A Local SDK

import { Hardkas } from "@hardkas/sdk";

const sdk = await Hardkas.create({
  cwd: process.cwd(),
  autoBootstrap: true,
  network: "simulated"
});

autoBootstrap: true is the easiest local path. It creates or loads the workspace data needed for simulated accounts, artifacts, and local execution.

2. Transaction Flow

const plan = await sdk.tx.plan({
  from: "alice",
  to: "bob",
  amount: "1",
  network: "simulated"
});

const signed = await sdk.tx.sign(plan, {
  account: "alice"
});

const receipt = await sdk.tx.simulate(signed);

For a real RPC-backed node, create the SDK with an explicit network/provider configuration and treat the send step as network-state dependent. Mainnet should remain outside the default local development flow.

3. Artifacts And Queries

The SDK can read artifacts, trace lineage, replay local records, and query the local projection:

const artifacts = await sdk.query.artifacts.list();
const trace = await sdk.lineage.trace(receipt.txId);

The SQLite query store is rebuildable. The durable source of truth is the workspace artifact and event data.

4. Contractual Guarantees & Concurrency

HardKAS relies on the authoritative Kaspa network for state validation and conflict resolution. The SDK enforces the following behavioral contracts:

  • Execution Authority: Network validation remains the ultimate authority.
  • plan() is Read-Only: Transaction planning is strictly read-only and non-reserving. Concurrent plan() calls observing the same state are allowed to select overlapping outpoints.
  • Mempool-Aware Spendability: The planner filters inputs that are already visible in the mempool as pending spends. This is conflict mitigation, not reservation.
  • Optimistic Concurrency: A successful plan does not imply that its inputs will remain spendable at submission time. Application-level serialization can coordinate cooperating intents, but it cannot prevent an external process holding the same keys from spending the same UTXO.
  • Exact Signed Submission: HardKAS submits exactly what was signed, without hidden mutations.
  • Receipt Semantics: A submitted receipt is persisted only after successful transaction submission acceptance by the RPC path. A rejected submission must not produce a submitted receipt. (Note: submitted ≠ confirmed ≠ final).
  • Artifact Authority: Local state queries rely on immutable file artifacts, but network evidence rules absolute truth.
  • Live Sync & Recovery: Live sync leverages explicit GetVirtualChainFromBlockV2 catch-up for deterministic gap recovery without relying on fragile heuristic polling.

5. Boundary

The SDK should be used from Node.js. Browser applications should talk to the dev server through @hardkas/client, not import @hardkas/sdk directly.

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/sdk

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

Microsoft's Official agent framework Hijacked
AI & VibeSec

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

PHP2Shell, Day 5 93.6% of Measurable Instances Still Unpatched (1)
Vulnerability Insights

PHP2Shell, Day 5: The Panic Hasn’t Turned Into Patching

Vulnerability Insights

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

Frame 2085668439 (1)
Group 1261154229