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

atyha

Latest version: v0.1.0

Overview

Last scanned
30 Nov 2026
Published
30 Nov 2026
npm package Publisher: itxtoledo
0 Stars
0 Forks
2 Versions
C# Repo language

Scan summary

atyha was last scanned on 30 Nov 2026 at version 0.1.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 2 versions, all published on 30 Nov 2026.
  • Findings: No rules fired in version 0.1.0.

Versions

2 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.1.0 LATEST 30 Nov 2026 No rules fired
0.0.0-stage 30 Nov 2026 Not shown

No rules fired in 0.1.0

Findings

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

README

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

Atyha for TypeScript

The reference implementation of Atyha v1, for browsers and Node: join a host by a short room code (HK4M-7TRW) over WebRTC, signalled through public Nostr relays, with an optional password (CPace). It reproduces the test vectors; every other implementation is checked against it.

Documentation: https://ngspades.github.io/atyha/. Licence: MIT. Dependencies: @noble/curves, @noble/hashes, @noble/ciphers (audited, no native code).

pnpm add atyha

With WebRTC (the recommended profile)

import { hostPeers, joinPeer, displayCode, JoinError } from 'atyha';

const host = hostPeers({
  app: 'my-game',                 // rooms of another app are never seen
  password: '',                   // optional, any length
  meta: { name: "Gustavo's room" },
  onOpen: () => console.log('code', displayCode(host.code)),
  admit: (meta) => null,          // or a refusal ("room full")
  onPeer: (peer) => {
    peer.reliable.onmessage = (e) => peer.reliable.send('echo ' + e.data);
  },
});

try {
  const peer = await joinPeer({ app: 'my-game', code: 'hk4m 7trw', password: '', meta: { player: 'p1' } });
  peer.reliable.send('hi');               // ordered, reliable
  peer.unreliable.send(new Uint8Array(3)); // unordered, no retransmits
} catch (e) {
  if (e instanceof JoinError && e.code === 'wrong_password') { /* ask for it */ }
}

Peer is { pc, reliable, unreliable, meta }. No trickle ICE: each side waits for gathering to complete (at most 5 s). In Node pass RTCPeerConnection from node-datachannel/polyfill. ice sets STUN/TURN (default stun:stun.l.google.com:19302); the host's list is sent to its joiners, who use it.

Signalling only (bring your own WebRTC)

import { Host, join } from 'atyha';

const host = new Host({
  app: 'my-game',
  onOffer: async ({ sdp, meta, joiner }) => ({ sdp: await makeAnswer(sdp) }), // or { reject: 'room full' }
});

const { sdp, hostMeta } = await join({
  app: 'my-game', code, password,
  makeOffer: async (ice, hostMeta) => makeOffer(ice), // a complete offer SDP
});

Errors are JoinError with code: bad_code, no_relay, no_room, wrong_password, rejected (the host's reason in message), no_answer, cancelled (pass an AbortSignal as signal).

API

  • Codes: generateCode(), parseCode(text) (canonical code or null), displayCode(code), ALPHABET, CODE_LENGTH.
  • Host (code, open, close()), options app, code?, password?, ice?, meta?, onOffer, onOpen?, helloBudget? (20/min), bus?, log?.
  • join(options): app, code, password?, meta?, makeOffer, timeoutMs? (25 s), signal?, bus?, log?.
  • hostPeers, joinPeer: the same with the DataChannel profile.
  • Transports: nostrBus({ relays?, WebSocket? }) (the default), memoryHub() for tests, DEFAULT_RELAYS.
  • topicOf(app, code), PROTOCOL, KIND.

Browser bundle

pnpm run build:global writes dist/atyha.global.js, one script that defines the global Atyha (for pages and Emscripten programs that load plain scripts, --pre-js).

Tools

  • pnpm test: the CPace vectors of draft-irtf-cfrg-cpace-21, codes and the session over an in-memory bus.
  • pnpm run vectors: writes ../vectors/atyha-v1.json.
  • node tools/peer.ts host|join <code> [--app A] [--password P]: the reference peer for interop tests.
  • node tools/relaycheck.ts <relays...>: which relays deliver an Atyha event, and how fast.
  • pnpm run example:web: builds examples/web/ (host or join from a page).

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 atyha

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

PolinRider Returns
Research

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

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Frame 2085668439 (1)
Group 1261154229