Pre-Sign Guard · for institutions signing on the XRP Ledger

Check every XRPL transaction before it is signed.

Pre-Sign Guard runs on your servers and answers APPROVE, REJECT or RETRY before a signature. On Fireblocks it is a Callback Handler the API Co-signer asks before it signs. On anything else (your own HSM or wallet service, a custodian without an approval hook, a script) you ask it yourself, just before signing. NOSHASHI never sees a request, a key or a decision, and the guard itself cannot sign anything.

Before a signature it checksAnd refuses
That the bytes being signed are the transaction Fireblocks shows: the signing hash is recomputed, and the destination, tag and amount compared A transaction whose destination, tag or amount was swapped
Who controls the account afterwards A new regular key, a new signer list, account deletion or disabling the master key, unless your policy allows it
The destination OFAC-listed and reported addresses up to three funding hops back, lookalikes of your known destinations, a missing required tag
Every token amount, by issuer address A ticker from an issuer you don't accept (a counterfeit RLUSD), or a token whose issuer has frozen it
The ledger's own answer: the transaction is simulated on two servers run by different operators Anything the ledger would refuse, before the fee is spent

A fact it cannot read (a server, the sanctions list, an issuer) is answered RETRY, never a pass. Every answer gets a SHA-256 receipt in an audit log where each line's hash covers the one before.

ALONGSIDE WHAT YOU RUN

Keep Fireblocks Policy for who may move what, and your KYT or AML provider for risk scores. Pre-Sign Guard adds the XRP Ledger checks those don't make: the signed bytes, key changes, issuers by address, freeze state and the ledger's own verdict.

ROLL IT OUT SAFELY

Start in observe mode: it approves everything and logs what it would have refused. Read a week of decisions, tune the policy, then switch to enforce. Ask Fireblocks Support to enable rawTx so plain XRP transfers carry their exact bytes.

Not on Fireblocks? Ask before you sign.

Send the unsigned transaction to the guard's /v1/check endpoint and sign only on APPROVE. It runs the same checks and returns the findings, the validated ledger it read and a SHA-256 receipt, and logs the decision.

curl -s https://guard.internal:8443/v1/check \ -H "Authorization: Bearer $GUARD_TOKEN" -H "content-type: application/json" \ -d '{"tx_json": { …the unsigned transaction… }, "requestId": "withdrawal-1234"}'

Or from a terminal: node --experimental-strip-types tools/presign-guard/check.ts policy.json tx.json. The endpoint is off until you enable it, and beyond your own machine it needs a bearer token.

Checked live, 19 November 2026 (ledger 108,439,461)AnswerWhat the ledger said
1 XRP to Bitstamp, no destination tagREJECT tecDST_TAG_NEEDED on s1.ripple.com and xrplcluster.com
The same payment with its tagAPPROVE tesSUCCESS on both, with a note that the 12-drop fee was below the network's 5,041 drops at that moment

Read the code and setup guide Talk to us about deploying it

Open source, Node 22 or later, no new dependencies. XRP Ledger transactions only; other assets get the answer your policy sets. It reads ledger facts at signing time and is not legal or compliance advice. Fireblocks is a trademark of its owner; NOSHASHI is not affiliated with or endorsed by Fireblocks.