Scan your whole stack
From OX Research Newsroom
Are you using atyha?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.1.0
atyha was last scanned on 30 Nov 2026 at version 0.1.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.1.0 LATEST | 30 Nov 2026 | No rules fired |
| 0.0.0-stage | 30 Nov 2026 | Not shown |
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.
The publisher’s own README, as collected from the registry.
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
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.
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).
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.nostrBus({ relays?, WebSocket? }) (the default), memoryHub() for tests, DEFAULT_RELAYS.topicOf(app, code), PROTOCOL, KIND.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).
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).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.
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).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.