Synq
Skip to content
[ synq / docs ]Synq home

Security overview and threat model

What Synq protects, who it defends against, the layers between a bad actor and your money, and the honest limits of a testnet demonstration.

What is being protected#

AssetWhere it lives
Workspace funds (test USDC)Safe vault and policy contract; escrow contracts; Amane accounts
Authority to spendOwners' wallet keys; signed mandates and policies
Client conversations and deal termsSynq database, visible to owners and admins
Sessions and tokensCookies, device sessions
The audit trailAppend-only tables and hash-linked logs

Who we assume might attack#

ActorCapability assumed
A malicious or manipulated clientSends crafted chat messages, tries to get a better price or extra access
A prompt-injected or confused AI agentProduces arbitrary text and tool-shaped output
A compromised chat accountControls a Telegram or iMessage identity
A stolen session or refresh tokenCalls the API as the victim for a while
A malicious websiteTries to get a victim to sign something or replay a request
A compromised Synq server or workerCan run code in Synq's services
A rogue or phished ownerHolds one signing key

Layers between an attacker and the money#

  chat / API request
        |
  1  session + membership check          (who are you, are you in this workspace?)
  2  role check                          (are you allowed this action?)
  3  deterministic rules                 (Kernel, offer validator, policy)
  4  signed authority                    (EIP-712 from the right wallet(s))
  5  one-use grant, exact call hash      (cannot be mutated or replayed)
  6  recorded-before-broadcast outbox    (no silent retries)
  7  on-chain policy                     (caps, allowlist, timelock, pause)
  8  reconciliation                      (receipt matched; ambiguity -> review)

A single failure at one layer does not move money. The vault's own policy contract is the last line: even a compromised Synq server holding the operator key can only pay allowlisted recipients up to the caps, and the guardian can freeze it.

Threats and answers#

ThreatAnswer
"Just say yes in chat"Chat is never an approval; only signatures over exact terms count (Agents)
Prompt injection in a client messageClient text is untrusted data; rules and signatures sit outside the model
Model invents a pricePrices come from the validator-approved offer, never model text
Replay of an old approvalOne-use nonces, deadlines, intent-specific grants
Modified recipient or amount after approvalGrant binds the exact call hash; the executor recomputes it
Stolen refresh tokenRotation with reuse detection revokes the device session
Phishing for a signatureTyped data is readable; login says it approves nothing; signer and chain are checked
Lead data leak via pushPush has only a generic title, category and event id
Client turned into a memberClients are external counterparties with a lead-scoped view
Cross-workspace accessMembership checks on every route; 404 rather than 403 for hidden things
Bad vendor swapNew or changed vendor address waits 24 hours and needs owner quorum
Compromised operator keyScoped by the policy contract: allowlist, per-payment and 24-hour caps, USDC only
Governance takeoverTimelock on owner, threshold and module changes; guardian can pause
Database tamperingAppend-only triggers; hash-linked audit log with external anchoring option

Known limits (from the repository's own notes)#

  • Review links expose terms to whoever holds the link.
  • The escrow arbiter in Deal Room deals is a hot-key role.
  • Whole-operation escrow resumption after grant expiry is not automatic.
  • A database rollback across a cold restart needs an independently retained audit checkpoint to be detected.
  • External wallet screening, production messaging bridges and credential-dependent providers are unproven.
  • iMessage conversation binding is blocked until a verified bridge exists.

Continue with what agents can and cannot do, keys and custody, sessions, privacy, the testnet lock and reporting issues.

Edit this page on GitHub