Scan your whole stack
From OX Research Newsroom
Are you using @fillmark/sdk?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.2.0
@fillmark/sdk was last scanned on 27 Nov 2026 at version 0.2.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.2.0 LATEST | 27 Nov 2026 | No rules fired |
| 0.1.0 | 25 Nov 2026 | No rules fired |
Findings for v0.2.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.2.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
TypeScript SDK for ERC-8004 agents that trade through the Fillmark router on Robinhood Chain (chain id 4663). It finds the client accounts that installed the agent, sizes and quotes fills inside each client's limits, and sends them from the agent wallet. Every fill is checked by the router against the Chainlink price and written to the agent's ERC-8004 reputation by the client's account.
npm install @fillmark/sdk viem
import { createPublicClient, createWalletClient, http } from "viem";
import { privateKeyToAccount } from "viem/accounts";
import { robinhood } from "viem/chains";
import { fillmarkAgent } from "@fillmark/sdk";
const transport = http(process.env.RPC_URL);
const agent = fillmarkAgent({
publicClient: createPublicClient({ chain: robinhood, transport }),
walletClient: createWalletClient({ chain: robinhood, transport, account: privateKeyToAccount(agentKey) }),
agentId: 123n, // the agent's ERC-8004 id; the key must be its agent wallet
strategies: ["dca"], // client strategies this agent follows (see Client strategy settings)
});
await agent.check(); // chain, clock, and that the key is the agent wallet
for (const client of await agent.clients()) {
const quote = await agent.quoteBuy({ account: client.account, asset: "TSLA" }); // the largest buy that fits
if (!quote.ok) {
console.log(client.account, quote.reason, quote.message);
continue;
}
const fill = await agent.fill(quote);
console.log(fill.hash, fill.shortfallPpm); // fill price against Chainlink, millionths
}
| Call | |
|---|---|
check() |
Chain id, the RPC's clock, and that the wallet client is the agent wallet pinned in the ERC-8004 registry |
setting(account) |
The strategy setting the account's owner signed for this agent, as it applies today: none, active (and whether this agent follows it) or blocked |
clients() |
Accounts with this agent installed: limits, allowed assets, USDG, rolling 24-hour use, fee debt, whether buys are open |
market(assets?) |
Session, Chainlink price and age, the router pool's price against it, and whether the asset trades now |
maxBuy, maxSell |
The largest buy or sale the client's limits, balance and the agent's lot allow now |
quoteBuy, quoteSell |
Checks in the router's order, a Uniswap quote in the router's pool, and a simulation of the fill; refusals carry the router's error name |
fill(quote) |
Sends the quoted fill from the agent wallet with a fixed 1,500,000 gas limit |
record(accounts?) |
The agent's record from the router (fills, volume, total cost against Chainlink, worst fill) |
book, settleFees, release, closeOut, claimable, claim |
The agent's book with an account and its performance fees |
pay.setRate, pay.terms, pay.due, pay.track |
Fillmark Pay: the agent's rate and what clients owe it |
accountStatus(client, account) |
A client account as the router sees it (no agent needed) |
The router enforces each client's limits. The SDK adds rules that keep an agent from wasting client money or its own ETH, applied to every fill:
saleAboveCost).noBuyDuringHold).maxFillsPerPairPerDay fills per account and asset per UTC day (default 2, up to 50).maxFillsPerDay (default 300).Rules 1 to 3 can be changed through policy; 4 to 7 cannot. The policy state lives in memory unless a store is passed (see memoryStore for the interface); a store on disk keeps the caps across restarts.
A client chooses a strategy for an agent by signing a setting in the Fillmark app (EIP-712, no transaction): dca with a take-profit level, or rebalance with target weights, a cash share and a drift threshold or schedule. The app stores it at api.fillmark.trade. List the strategies the agent follows in strategies; the SDK then marks every fill with the account's setting and refuses accounts it cannot follow:
seq wins, and only while the account's owner is the signer.rebalance the SDK buys only the setting's target assets (NotATarget); when and how much to trade is the agent's code.StrategyNotFollowed when the agent does not list its strategy, and with SettingBlocked when the latest setting cannot be followed (signed by someone other than the owner now, a strategy or field this SDK does not accept, a target asset the account no longer allows, two settings with the same seq).store. Pass a store on disk: with the default memory store, a restart forgets which settings were already seen today. If the source cannot be read and was not read today, quotes are refused with SettingsUnavailable.What a strategy means (when to buy, sell or rebalance) is the agent's own code: setting(account) returns the signed parameters. settings.url points at another source with the same answer format, for self-hosting; a custom settings.fetch must time out on its own.
ASSETS).FillmarkError with a code and a short message. They never include the RPC URL.Contracts, docs and the reference agent: github.com/fillmarkagents/fillmark, docs.fillmark.trade. MIT license.
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.