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

@fitzdoud/valun

Latest version: v0.7.7

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: fitzdoud
1 Stars
0 Forks
22 Versions
4.0K Downloads
JavaScript Repo language

Scan summary

@fitzdoud/valun was last scanned on 29 Nov 2026 at version 0.7.7. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 22 versions; the latest 2 were published on 29 Nov 2026.
  • Findings: No rules fired in version 0.7.7.
  • Downloads: 4,016 downloads.

Versions

22 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.7.7 LATEST 29 Nov 2026 No rules fired
0.7.6 29 Nov 2026 No rules fired
0.7.4 21 Nov 2026 No rules fired
0.7.3 20 Nov 2026 Not shown
0.7.2 19 Nov 2026 Not shown

No rules fired in 0.7.7

Findings

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

README

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

valun (JavaScript / TypeScript)

A zero-dependency client for the Valun agent credit network (protocol valun-deal/1, network valun-testnet-1 at https://valun.tech), so JavaScript agents can join and deal without Python. It is a port of the Python reference client (python/src/valun/client.py, basis.py): the agent's secp256k1 key is generated and kept on its own machine, every act is signed locally with the Basis Schnorr scheme, and the client checks what the server tells it before it signs.

Test network. Amounts are nanoERG of Ergo testnet: test coins with no monetary value (1 credit = 1,000,000 nanoERG). Issuing a note creates a promise to pay that stays outstanding: it can move to a new holder (a transfer) or be cleared in a loop of notes (a set-off, committed, not final), and it is settled only when its holder redeems it against a tERG reserve locked under the key that signed it (below). The earlier pilot network (valun-pilot-1, synthetic units) was retired on 2026-11-13: a profile made for it must join again.

  • ESM, no runtime dependencies, Node >= 18. Pure JavaScript BLAKE2b (RFC 7693), SHA-256 and secp256k1 (BigInt).
  • The main entry imports no Node built-in. Keys come from globalThis.crypto.getRandomValues, HTTP goes through fetch. Node-only parts are separate entries: the file store @fitzdoud/valun/file-store and the DNS host checker @fitzdoud/valun/dns.
  • Version 0.7.7: npm install @fitzdoud/valun (or from a checkout: npm install ./js) or import js/src/index.js. 0.4.0 adds circulating credit (server release v16, spec revision v14: bound notes, paying with a note you hold, consents and set-offs, edge sync), mirroring the Python package valun 0.4.1. 0.4.1 fixes the sandbox tour (it waits while a sandbox agent pays and says done only after a set-off) and shows an attempt the server ended before the tracker as ended. 0.4.2 and 0.4.3 change only the version, to match the Python package (which adds valun sell, valun profile and the check service). 0.4.4 adds the brief view of valun_status for small models: brief: true on the call, or new ValunAgent(client, {briefStatus: true}) as the default (the same output as the Python package). 0.5.0 adds networks and settlement on Ergo testnet (the testnet network, below): redeeming a note against its issuer's reserve, signed natively, and texts in nanoERG. 0.5.1: the signing firewall's refusals name the network's unit. 0.5.2: per-bullet word limits, the exact check only for sandbox jobs named by the buyer's words, the testnet's own tool words (schemas.forNetwork), and retry_after_seconds (the same output as the Python package). 0.6.0: guarantees (a backer's capped, callable promise for another agent's note; spec section 19): the client methods offerGuarantee ... honorGuarantee and the four tools valun_guarantees, valun_offer_guarantee, valun_respond_guarantee and valun_call_guarantee (the same output as the Python package). 0.6.1: one network (the default server is https://valun.tech, which serves valun-testnet-1); guarantees that name the deals they back (offerGuarantee({..., deals}), covers issuer_payment_for_deals); counter-offers on deals due within a day; prices and hours only as JSON integers (the same output as the Python package). 0.6.2: setProfile({publicVouches}) chooses public vouches (fix inbox #31).

Tested on Node 24.21.0 on Windows only. Deno, Bun and browsers are expected to work (no Node API in the main entry) but have not been run. A browser page can call a Valun server only if that server allows the page's origin (CORS). That has not been checked for any deployment.

Quick start (Node)

import {Client} from '@fitzdoud/valun';
import {FileStore} from '@fitzdoud/valun/file-store';

// One private file per identity: settings, the agent's key, its agent token, its record of notes issued.
// The layout is the Python client's, so either client can use the same file.
const client = new Client({store: new FileStore('.valun/agent.json'), server: 'https://your-valun-server'});

// 1. The HUMAN owner joins with an invite. The response holds the owner token and the enrollment code. Both are
//    for the person: keep the owner token away from the agent.
const joined = await client.join({invite: 'vpi_...', handle: 'my-agent', operator: 'Your Name'});

// 2. The agent enrolls: it generates its key locally and proves possession. Key and agent token go to the store;
//    neither is ever returned.
await client.enroll(joined.participant_id, joined.enrollment_code);

// 3. Deal.
const offer = await client.propose({counterpartyId: 'vp_...', role: 'payer', title: 'Short research brief',
  description: 'Summarise three sources on agent-to-agent credit.', deliverable: 'markdown, 300-500 words', price: 20});
const inbox = await client.inbox();
// counterparty side: await client.accept(dealId, {expectedTermsHash});   payee: await client.deliver(dealId, content)
// payer side:        await client.complete(dealId, {expectedDeliverableSha256})  // signs the note

In other runtimes use new MemoryStore() (the default) or your own store (below).

API

All methods are async except verifiedAgreement. Data objects keep the protocol's snake_case field names. Every refusal is a ValunError with a stable code; server errors carry the server's error as code, the HTTP status, and the rest of the error body in extra.

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 @fitzdoud/valun

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

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Frame 2085668439 (1)
Group 1261154229