Zum Hauptinhalt springen
Dieser Inhalt ist noch nicht in Ihrer Sprache verfügbar und wird auf Englisch angezeigt.

Mermaid to ProVerif

Skill Verifiziert Aktiv

Translates Mermaid sequenceDiagrams describing cryptographic protocols into ProVerif formal verification models (.pv files). Use when generating a ProVerif model, formally verifying a protocol, converting a Mermaid diagram to ProVerif, verifying protocol security properties (secrecy, authentication, forward secrecy), checking for replay attacks, or producing a .pv file from a sequence diagram.

Zweck

To automate the creation of formal verification models for cryptographic protocols from visual Mermaid diagrams, enabling rigorous security analysis and property verification.

Funktionen

  • Mermaid sequenceDiagram to ProVerif (.pv) model conversion
  • Formal verification of cryptographic protocols
  • Support for secrecy, authentication, and forward secrecy properties
  • Detailed guidance on ProVerif syntax and modeling patterns
  • Generation of ProVerif files from protocol diagrams

Anwendungsfälle

  • Generating ProVerif models from Mermaid sequence diagrams
  • Formally verifying cryptographic protocol security properties
  • Checking for replay attacks and ensuring authentication
  • Producing .pv files from protocol specifications

Nicht-Ziele

  • Verifying protocols not described as Mermaid sequence diagrams
  • Generating ProVerif models for non-cryptographic systems
  • Running ProVerif on existing .pv files (users should do this directly)

Workflow

  1. Parse participants and channels from Mermaid diagram
  2. Inventory cryptographic operations and map to ProVerif functions
  3. Declare ProVerif types, constants, and functions
  4. Formulate security queries (secrecy, authentication, forward secrecy)
  5. Write ProVerif participant processes based on diagram steps
  6. Write the main ProVerif process with replication and key publication
  7. Verify the generated model and deliver the .pv file

Praktiken

  • Formal Verification
  • Protocol Security
  • Model Generation

Voraussetzungen

  • ProVerif installed and available in the environment
  • Mermaid sequenceDiagram describing a cryptographic protocol

Installation

Zuerst Marketplace hinzufügen

/plugin marketplace add trailofbits/skills
/plugin install trailmark@trailofbits

Qualitätspunktzahl

Verifiziert
99 /100
Analysiert about 20 hours ago

Vertrauenssignale

Letzter Commit3 days ago
Sterne5.2k
LizenzCC-BY-SA-4.0
Status
Quellcode ansehen

Ähnliche Erweiterungen

Crypto Protocol Diagram

97

Extracts protocol message flow from source code, RFCs, academic papers, pseudocode, informal prose, ProVerif (.pv), or Tamarin (.spthy) models and generates Mermaid sequenceDiagrams with cryptographic annotations. Use when diagramming a crypto protocol, visualizing a handshake or key exchange flow, extracting message flow from a spec or RFC, diagramming a ProVerif or Tamarin model, or drawing sequence diagrams for TLS, Noise, Signal, X3DH, Double Ratchet, FROST, DH, or ECDH protocols.

Skill
trailofbits

Markdown and Mermaid Writing

100

Comprehensive markdown and Mermaid diagram writing skill. Use when creating any scientific document, report, analysis, or visualization. Establishes text-based diagrams as the default documentation standard with full style guides (markdown + mermaid), 24 diagram type references, and 9 document templates.

Skill
K-Dense-AI

Codacy Audit

100

Codacy Cloud workflow for this repository -- run Codacy's analyzers locally before `git push` (mirrors what Codacy CI runs), and fetch/cluster Codacy issues for any PR via the v3 API. Use when the user mentions Codacy, "codacy analysis", `codacy-analysis-cli`, "codacy issues on PR", "fix codacy CI", "codacy markdownlint findings", or any Codacy gate failing on a netdata-org PR. Ships scripts analyze-local.sh (docker/binary runner for codacy-analysis-cli) and pr-issues.sh (paginated v3 issue fetch + group-by tool/pattern/severity/file). Token-safe -- CODACY_TOKEN never reaches assistant-visible stdout. Read-only by design in the current SOW; write actions (mark FP, mark fixed) are deferred.

Skill
netdata

Azure Key Vault Keys SDK for TypeScript

99

Manage cryptographic keys using Azure Key Vault Keys SDK for JavaScript (@azure/keyvault-keys). Use when creating, encrypting/decrypting, signing, or rotating keys.

Skill
microsoft

Generate Workflow Diagram

99

Generate themed Mermaid flowchart diagrams from putior workflow data. Covers theme selection (9 themes including 4 colorblind-safe), output modes (console, file, clipboard, raw), interactive features (clickable nodes, source info), and embedding in README, Quarto, and R Markdown. Use after annotating source files and ready to produce a visual diagram, when regenerating a diagram after workflow changes, or when switching themes or output formats for different audiences.

Skill
pjt222

Mermaid Diagrams

99

Teaches PMs to create syntactically valid mermaid diagrams by selecting the right diagram type for their communication need, following syntax validity rules, and validating before shipping. Covers all 15 mermaid diagram types with PM-relevant examples and a dual-lens navigation system.

Skill
product-on-purpose