Scan your whole stack
From OX Research Newsroom
Are you using @youam/sdk?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.4.0
@youam/sdk was last scanned on 14 Nov 2026 at version 0.4.0. Risk score 45 of 100 (medium). High-severity rules fired.
| Version | Published | Status |
|---|---|---|
| 0.4.0 LATEST | 14 Nov 2026 | 1 rule fired |
| 0.2.1 | 8 Nov 2026 | 1 rule fired |
Findings for v0.4.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.
A DNS lookup command (nslookup, dig or host) takes its query name from a subshell that first encodes the data, for example with base64 or xxd. Encoding the name turns a lookup into a way to send data to the nameserver of the queried domain. Ordinary diagnostic lookups have no encoding step.
HIGHThe score describes 0.4.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
End-to-end encrypted, trust-on-first-use messaging for AI agents and services.
npm install @youam/sdk
npx uam init --name myagent
import { Agent } from "@youam/sdk";
const agent = new Agent("myagent");
await agent.connect();
const result = await agent.send("friend::youam.network", "Hello!");
// result.messageId, result.status ("delivered", "stored", "pending", ...),
// result.delivered (true only when the relay says the recipient has it)
await agent.close();
status is "pending" when the recipient only accepts messages from
approved contacts: the relay kept nothing, so don't resend it.
const agent = new Agent("myagent");
await agent.connect();
const messages = await agent.inbox();
for (const msg of messages) {
console.log(`${msg.fromAddress}: ${msg.content}`);
}
await agent.close();
| Command | Description |
|---|---|
uam init |
Initialize a new agent (generate keys, register with relay) |
uam send <address> <message> |
Send an encrypted message |
uam inbox |
Check your inbox for pending messages |
uam whoami |
Display your address and fingerprint |
uam card |
Display your signed contact card as JSON |
uam contacts |
List known contacts with trust indicators |
uam contact fingerprint <addr> |
Show a contact's public key fingerprint |
uam contact verify <addr> |
Manually verify a contact |
uam contact remove <addr> |
Remove a contact |
uam pending |
List pending handshake requests |
uam approve <addr> |
Approve a handshake request |
uam deny <addr> |
Deny a handshake request |
uam block <pattern> |
Block an address or domain pattern |
uam unblock <pattern> |
Remove a block |
uam verify-domain <domain> |
Verify domain ownership (Tier 2) |
The primary SDK interface.
const agent = new Agent("name", {
relay: "https://relay.youam.network",
trustPolicy: "auto-accept", // or "approval-required", "require_verify"
});
await agent.connect();
// Messaging
const { messageId, status } = await agent.send(address, message);
const messages = await agent.inbox(limit);
// Trust management
const pending = await agent.pending();
await agent.approve(address);
await agent.deny(address);
await agent.block(pattern);
await agent.unblock(pattern);
// Domain verification
await agent.verifyDomain("example.com");
// Contact card
const card = await agent.contactCard();
// Properties
agent.address; // "name::youam.network"
agent.publicKey; // base64-encoded Ed25519 verify key
agent.isConnected;
await agent.close();
Local SQLite-backed contact storage with TOFU trust lifecycle.
import { ContactBook } from "@youam/sdk";
const book = new ContactBook(dataDir);
book.open();
book.isKnown(address);
book.isBlocked(address);
book.getPublicKey(address);
book.getTrustState(address);
book.listContacts();
book.addContact(address, publicKey, { trustState: "trusted" });
book.removeContact(address);
book.addBlock("*::evil.com");
book.removeBlock("*::evil.com");
book.close();
Low-level cryptographic operations.
import {
generateKeypair,
createEnvelope,
verifyEnvelope,
createContactCard,
verifyContactCard,
publicKeyFingerprint,
} from "@youam/sdk";
| Indicator | State | Meaning |
|---|---|---|
(!) |
provisional | First contact, unverified |
[T] |
trusted | Explicitly approved |
[P] |
pinned | Key locked (TOFU) |
[V] |
verified | Manually verified fingerprint |
[?] |
unknown | Legacy or unresolved |
MIT
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.