Repository navigation
Tell: an open-source reference for MPS-0036's privacy-flow account and deployment-bound review evidence #413
RohanGlitched
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
MPS-0036 (Security-Review Evidence for Compact Contract Releases) describes gaps that an open-source tool we built for the Midnight Buildathon already works on. Offered here as input to whatever format the MPS settles on, not as a proposed standard.
Tell (https://github.com/RohanGlitched/tell, Apache-2.0) is a privacy leak scanner for Compact. Two parts map onto the MPS:
A privacy-flow account for successful builds. The MPS notes that "the compiler's documented outputs include no stable privacy-flow account for successful releases". Tell runs
compactc --trace-passes --skip-zk, reads thereduce-to-circuitform and reports, per circuit:The output is JSON or SARIF, with compilers 0.29 to 0.36 in CI. Two releases' reports can be compared, though there is no dedicated diff command yet. It also flags the
ownPublicKey()case from Compact #706 ("the caller's wallet key is published").Binding review evidence to what is deployed. Tell Desk is a Compact contract on Preprod.
Limits, stated plainly:
Live: https://tell-midnight.vercel.app (scanner and
/desk). If the Compact team defines a stable privacy-flow output, we'd happily switch Tell to read it, or help shape it.All reactions