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

@getaccord/sdk

Latest version: v0.8.0

Overview

Last scanned
24 Nov 2026
Published
24 Nov 2026
npm package Publisher: aabiodun
25 Versions
2.4K Downloads

Scan summary

@getaccord/sdk was last scanned on 24 Nov 2026 at version 0.8.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 25 versions; the latest 5 were published within 2 days (23 and 24 Nov 2026).
  • Findings: No rules fired in version 0.8.0.
  • Downloads: 2,366 downloads.

Versions

25 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.8.0 LATEST 24 Nov 2026 No rules fired
0.7.0 24 Nov 2026 No rules fired
0.6.8 24 Nov 2026 No rules fired
0.6.7 23 Nov 2026 Not shown
0.6.6 23 Nov 2026 Not shown

No rules fired in 0.8.0

Findings

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

README

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

@getaccord/sdk

Payments AI agents can't get wrong. Everyone's paid, or nobody is: hold money with several sellers, then pay everyone in one step or release everything. Within limits: they're enforced when money moves, so an agent can't talk its way past them. On the record: every purchase gets a public record that buyer and seller can both check.

It runs in test mode today, with test money. Amounts are in US cents.

npx @getaccord/cli init     # agent key + $5,000 of test money, written to .env
npm install @getaccord/sdk

Node 22.12 or newer. The package is ESM-only: use import (in CommonJS, await import('@getaccord/sdk'); require() works only on Node 22.12+).

import { accord } from '@getaccord/sdk';

const intent = await accord.intent({ budget: 1200_00 }); // uses the key `init` saved in .env

await Promise.all([
  intent.hold('skyfare', { amount: 640_00, ref: 'SFO to JFK, Dec 18' }),
  intent.hold('stayco', { amount: 420_00, ref: '2 nights' }),
  intent.hold('ridenow', { amount: 85_00, ref: 'airport pickup' }),
]);

const result = await intent.commit(); // 'committed': all three paid. Otherwise nobody is.
console.log(result.status, result.intent.proofUrl);
  • Four calls: intent, hold, commit, abort. Holds placed in the same tick go out together, in one step.
  • Modes: mode: 'all' (default) pays every hold or none. mode: 'each' pays the holds that are ready and releases the rest.
  • Your money stays yours until a hold draws it. Each hold takes exactly its amount from your balance; anything not paid comes straight back.
  • Limits are checked when money moves, not in the prompt. Your agent key has a weekly budget on money paid (an aborted deal doesn't use it up), allowed sellers, an expiry, and sign-off: once unapproved spending in the last 24 hours would pass a set amount, the next purchase waits for a person (splitting it doesn't help). A compromised agent still can't spend past them.
  • What's atomic: the money. Accord can't make a seller's own systems atomic: a seller that confirms promises to deliver once paid.

Exact amounts and coins

Amounts are whole cents (budget, amount), or exact with budgetMicros / amountMicros: millionths of a dollar, as a string or bigint, down to "100" ($0.0001). Answers carry both (paid and paidMicros, and so on); usd() and micros() convert for people.

const intent = await accord.intent({ budgetMicros: 5_000n }); // $0.005, in the usual dollar coin (add coin: 'USDC' once the owner allows USDC)
await Promise.all(apis.map((api) => intent.hold(api, { amountMicros: 100n }))); // 50 × $0.0001, one step

Coins: a purchase pays in one dollar coin: the service's usual one (USDsui; testUSD in test mode) or USDC, if the owner lets the key use it. One weekly budget covers every coin the key may use, counted dollar for dollar. Only 6-decimal dollar coins work: Accord counts one raw unit as one millionth of a dollar, and the service offers no other coins. (The contract itself trusts the owner's choice of coin, so a key set up outside Accord with another coin would have its limits counted wrongly.)

Pay for work only if it's good (Deliver holds)

Some sellers deliver first and get paid on acceptance. Hold with type: 'deliver', check what comes back, then accept or reject each one.

const intent = await accord.intent({ budget: 500_00, mode: 'each' });
await Promise.all([
  intent.hold('scout', { amount: 200_00, type: 'deliver', ref: 'Market scan: agent payments' }),
  intent.hold('canvas', { amount: 250_00, type: 'deliver', ref: 'Logo for Accord' }),
]);

for (const r of await intent.results()) {        // waits until each seller has delivered
  const ok = myCheck(JSON.parse(r.result!));
  await (ok ? intent.accept(r.index) : intent.reject(r.index));
}
await intent.commit();                           // pays the accepted ones, in one step

A rejected seller's hold goes straight back to your balance. If you say nothing, the work counts as accepted once its rejection window ends (r.acceptBy). commit refuses with results_pending while delivered work is still undecided.

Find sellers

listSellers reads Accord's seller directory: each seller's description, its offers (a price or a price range, paid when the seller confirms or once you accept delivered work), and whether it takes payments now. With a key (yours from .env, or key), each seller also says whether that key may pay it, and for one it can't, how its owner allows it. query keeps the sellers whose name, description or offers mention it.

const sellers = await accord.listSellers({ query: 'price data' }); // uses the key in .env; or pass { key }
for (const s of sellers) console.log(s.seller, s.offers.map((o) => o.name), s.allowed ? 'may pay' : s.howToAllow);

const b = await accord.balance();
console.log(b.allowedSellers?.map((s) => s.name)); // the sellers this key may pay
console.log(b.allowSellersAt);                      // where its owner allows more: the dashboard, or "cli" for a test key

Only the key's owner can allow a seller: npx @getaccord/cli allow <seller> for a test key, or the dashboard. howToAllow(seller, b.allowSellersAt) gives the same sentence listSellers does.

Sellers set their description and offers when they register, or later: accord.sellers.register({ ..., description, offers }) and accord.sellers.update(name, sellerToken, { description, offers }). An offer is { name, paidOn: 'confirm' | 'delivery', price } or { name, paidOn, priceFrom, priceTo } (cents, or the …Micros fields); up to 10 offers, names up to 80 characters, a description up to 280. Sending offers replaces the whole list.

Linked purchases

Some jobs need several sellers, but not all of them. A linked purchase settles several purchases (members) together under one condition. Each member is its own purchase (every hold or none); nothing is paid until settle(), which pays the chosen members and calls off the rest in one step.

A research brief needs research from scout, and price data from marketpulse or quantfeed, whichever is ready (marketpulse if both are), never both:

const link = await accord.link({
  condition: 'scout and (marketpulse or quantfeed)',
  members: {
    scout: { holds: [{ seller: 'scout', amount: 200_00, type: 'deliver', ref: 'Research brief: agent payments' }] },
    marketpulse: { holds: [{ seller: 'marketpulse', amount: 30_00, ref: 'EUR/USD prices, last 24h' }] },
    quantfeed: { holds: [{ seller: 'quantfeed', amount: 30_00, ref: 'EUR/USD prices, last 24h' }] },
  },
});

let s = await link.wait();                        // until it's decided, or delivered work needs your decision
for (const m of s.members) {
  for (const h of m.toDecide) await (myCheck(JSON.parse(h.result!)) ? link.accept(m.name, h.index) : link.reject(m.name, h.index));
}
s = await link.wait();

const r = await link.settle();
// { status: 'paid', paid: ['scout', 'marketpulse'], cancelled: ['quantfeed'], digest }
  • The condition names every member once, with and, or and parentheses; and binds tighter than or. Member names are lowercase letters, digits, - and _. A link has 2 to 10 members. A condition that can't be read, or doesn't name exactly the members, is bad_condition.
  • or is a preference order: the first option listed that is ready is paid, and the others are called off. An or never pays both.
  • status() gives each member's state (ready, pending or failed), its delivered work waiting for a decision (toDecide), and evaluation: met (with the members it would pay), impossible or pending. wait({ timeout }) (default '60s') returns once it isn't pending, or work needs a decision, or the time is up. It doesn't settle.
  • settle(): condition met, it pays the chosen members and calls off the others in one transaction. If a paid hold isn't ready after all, the whole transaction fails and nobody is paid. If the condition can't be met any more (a needed seller declined, its work was rejected, a member expired), it calls everything off: { status: 'cancelled', reason: 'condition_impossible: …' }, and the held money goes back. Before either, it throws condition_unmet and nothing is paid.
  • cancel() calls every open member off in one transaction. accept(member, index) and reject(member, index) decide on a member's delivered work. link.members has each member's purchase by name.
  • Each member waits at most expiresIn (default '15m', at most '24h'). A member over the key's sign-off limit waits for approval; once it's approved, the next status() or wait() places its holds.
  • Each member's public record shows the condition, every member and the outcome.

Test mode

Your key comes from ACCORD_AGENT_KEY, or from ./.env as written by init. Test keys get $5,000, a $2,000 weekly budget, 30 days, and sign-off once unapproved spending passes $1,500 in 24 hours.

Demo seller Hold type Acts like
skyfare reserve An airline
stayco reserve A hotel
ridenow reserve A car service
scout deliver A research agent
canvas deliver A design agent
quantfeed, marketpulse deliver Data providers with fresh data
dataloom deliver A data provider whose feed is three days behind
officemart reserve An office supplier
quickpay reserve An unknown payee: on no test key's allowed list, to show what a prompt injection runs into
await accord.test.failSeller('ridenow');        // ridenow declines your holds; scout/canvas deliver poor work
await accord.test.failSeller('ridenow', false); // back to normal

const b = await accord.balance();               // { available, weekly: { budget, spent, held } } in cents

// A second agent key with tighter limits, e.g. for a procurement agent:
const k = await accord.test.newAgentKey({ name: 'procurement', weeklyBudget: 500_00 });
const intent = await accord.intent({ key: k.key, budget: 120_00 });

Typed errors you'll meet: limit_exceeded (over this week's budget), seller_not_allowed, key_revoked, key_expired, awaiting_approval and results_pending. An intent that would take the last 24 hours' unapproved spending past the sign-off amount opens with no money drawn and waits for a person; the error says the numbers. Approved intents don't count toward the total, and released holds stop counting. In test mode the owner approves it with await accord.test.approve(intent.id, { ownerToken }), passing the owner token init saved to ~/.accord/owner-<key id> (The file holds comment lines and one line ACCORD_OWNER_TOKEN=own_…; pass only the own_… value. The SDK never reads that file itself, so an agent with only its key can't approve its own purchases), then places the holds again; dashboard keys are approved at app.useaccord.ai; the weekly budget applies when they're placed.

Check before signing

Accord's service builds every transaction your agent key signs, and pays its network fee. The SDK doesn't take that on trust. Before signing, it decodes the transaction and signs it only if it does exactly the step you asked for. Anything else throws tx_mismatch, and nothing is signed. The message ends "Money already held for this purchase stays held until you abort() it or its deadline passes."

What it guarantees: the service can't change what your agent signs.

  • Exactly one transaction. The bytes must decode and encode back to exactly the same bytes: nothing extra, nothing ambiguous.
  • Only Accord's package. Every step is a call into Accord's contracts, whose package IDs are pinned in this SDK for each network (ACCORD_PACKAGES). No transfers, splits, merges, or calls into anything else.
  • Exactly the step asked for, and nothing more. The purchase, budget, mode and expiry; each hold's seller, amount, kind (reserve or deliver) and ref; the hold number for accept and reject; for a linked purchase, which members are paid and which are called off.
  • The agent's own coins never pay. The agent key is the sender, someone else pays the network fee, and holds draw on the owner's allowance, never the key's own money.
  • Seller names are checked on chain. Each seller in the transaction must be Accord's seller registered under the name you asked for.
  • On chain, the objects are the agent's. The SDK reads them before signing: the policy is this agent key's and allows the coin; each allowance drawn on is from the policy's owner, for this agent key, in this coin, under Accord's policy; a purchase the step works on is this agent key's, on that policy and in that coin. If the chain can't be read, nothing is signed.
  • The coin you name is that coin. coin: 'USDC' must be USDC, by the coin types pinned in this SDK for each network (ACCORD_COINS); with no coin named, it must be one of Accord's dollar coins. A service on this machine lists its own coins in /health.
  • The chain's word, not the service's. After a lost answer, whether a step landed is read from the chain. After a purchase opens, its ID is read from the chain too; if it differs from the service's, the SDK throws intent_mismatch. That one comes after signing: the step ran, and the message names the ID to use. tx_mismatch always means nothing was signed.

What it doesn't cover:

  • A stolen agent key. Whoever has it can spend within the key's limits. The limits, enforced on chain, are what bound it: keep them tight, and revoke a key you think is exposed.
  • Mainnet, until a release pins it. Mainnet's package is pinned in an SDK release at its publish. Until then this SDK signs nothing on mainnet ("This SDK doesn't know Accord's mainnet package yet. Update it: …"). A new test package also comes in an SDK release.
  • Services other than Accord's. For a service on this machine (127.0.0.1, localhost), the SDK trusts the package its /health names: it's yours. For any other host, set ACCORD_PACKAGE_IDS (comma-separated) to the Accord package IDs it uses, or nothing is signed. ACCORD_SUI_RPC sets the chain node the SDK reads (default: Sui's public one for the network).

The chain enforces the rest: the key's limits, its allowed sellers, and each purchase's rules.

Errors

Every error is an AccordError with a stable code and a message that says what to do.

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 @getaccord/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

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

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

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?

Frame 2085668439 (1)
Group 1261154229