Tidemark

Tidemark documentation

Tidemark reviews Solana program upgrades from bytecode: what changed, how risky it is, and a public record of who checked it.

Why it exists

Most Solana programs are upgradeable. Whoever holds the upgrade authority can replace the code users trust, and the people approving that upgrade usually see only a hash. Verified builds prove which source built a binary; they do not say what changed between two versions.

Tidemark compares the deployed program with the new build and answers the questions that matter before you sign:

  • Did a new hardcoded key appear that could receive funds?
  • Was an account check removed, or patched so it can never fail?
  • Is there a new instruction handler, cross-program call or indirect call?
  • Is the reviewed build exactly what is deployed now?

The pieces

  • Engine (tidemark-core): decodes SBPF v0 to v3, diffs, runs the tm-rules and hashes the verdict.
  • Clients: the tidemark CLI, a VS Code extension, an npm package and this web app. All produce the same report and verdict hash.
  • Ledger: an Anchor program where reviewers publish verdicts, bound to the deployed bytes, and co-sign each other's reviews.
Heuristic review, not proof of safety
The rules catch real backdoor patterns, but a determined attacker can shape code to avoid them. Treat a clean report as "nothing obvious changed". The security model lists the known limits.