Frisk

v0.0.3
dev.tryfrisk/frisk Checked 2 days ago Published 22 days ago

Screen the counterparty of an x402 payment before an agent pays it.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

screen_payment Screen a payment before paying

Screen a counterparty an agent is about to pay. Runs entirely offline: address sanity, dynamic-payTo comparison, transport check, and your spending policy. Returns allow / review / block with reasons. Advisory: the caller decides. Set FRISK_API_KEY to add hosted reputation signals.

ParameterTypeDescription
counterparty *stringThe address the agent intends to pay, e.g. an 0x EVM address.
allowedAssetsarrayAssets the agent is permitted to pay in.
amountnumberAmount the agent is about to pay.
assetstringAsset symbol, e.g. USDC.
endpointstringURL that quoted the payment. Used to check transport safety.
maxPerCallnumberSpending ceiling for a single call.
observedPayTostringThe payTo address the endpoint actually returned for this request. If it differs from the counterparty, that is the dynamic-payTo swap.
strictnessnumber0 is permissive, 1 is paranoid. Defaults to 0.3.