
mermaid-to-proverif
Translates Mermaid sequenceDiagrams describing cryptographic protocols into
by trailofbitsFree
Description
mermaid-to-proverif is an agent skill that turns a Mermaid sequence diagram describing a cryptographic protocol into a ProVerif model, a .pv file that the ProVerif verifier can check. The typical input is a diagram annotated with cryptographic operations such as signing, verifying, Diffie-Hellman, HKDF and encryption, with message arrows between the parties. The agent reads the diagram and writes the model, which lets you formally check properties such as secrecy, authentication and forward secrecy. Use it when you want to verify a protocol design rather than only draw it, or when the diagram comes from the crypto-protocol-diagram skill. The skill uses read, write, grep and glob tools in the agent. It is installed from the trailofbits skills collection with the command below.…
Highlights
- Mermaid sequence diagrams to ProVerif
- Writes .pv verification models
- Checks secrecy and authentication
- Works with cryptographic operations
- Pairs with crypto-protocol-diagram
Ratings & Reviews
No ratings yet
Be the first to rate mermaid-to-proverif.
People also visit

crypto-protocol-diagram
Extracts protocol message flow from source code, RFCs, academic papers
mermaid-to-proverif FAQ
What does the skill make the agent do?
It converts a Mermaid sequence diagram of a cryptographic protocol into a ProVerif model that the verifier can check.
What properties can I check?
The page mentions secrecy, authentication and forward secrecy.
How do I install it?
Run npx skills add https://github.com/trailofbits/skills --skill mermaid-to-proverif.
What are the security audit results?
Gen Agent Trust Hub Pass, Socket Pass, Snyk Pass.
What are the best mermaid-to-proverif alternatives?
Popular alternatives to mermaid-to-proverif include crypto-protocol-diagram, security and secure-workflow-guide. See all mermaid-to-proverif alternatives



















