secure-workflow-guide

Guide Ethereum smart contract development through Trail of Bits' five-step secure workflow.

Updated Jul 10, 2025
One-click install
npx skills add https://github.com/Superlend/superloop-core-contracts --skill secure-workflow-guide-superlend
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: secure-workflow-guide
Source: https://github.com/Superlend/superloop-core-contracts/tree/main/.cursor/skills/building-secure-contracts/skills/secure-workflow-guide
Command: npx skills add https://github.com/Superlend/superloop-core-contracts --skill secure-workflow-guide-superlend

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a structured, repeatable security workflow for smart contract development, helping teams detect issues, validate features, visualize architecture, document security properties, and streamline manual reviews.

Core Features & Use Cases

  • Slither-based checks: runs Slither with detectors, triages findings, and suggests fixes.
  • Feature validation: validates upgradeability, ERC conformance, token interactions; ensures only applicable checks run.
  • Visual security diagrams: generates inheritance graphs, function summaries, and variables/authorization maps to reveal security patterns.
  • Documentation & testing planning: guides documenting security properties and setting up Echidna/Manticore tests for fuzzing and formal verification.
  • Use Case: development teams integrating security reviews into CI/CD before deployment and audit readiness.

Quick Start

To begin, follow the secure-workflow-guide workflow and consult resources/WORKFLOW_STEPS.md to initialize a project, run Slither, generate diagrams, and prepare security documentation.

Frequently Asked Questions about secure-workflow-guide

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is a secure smart contract development workflow?

A secure smart contract development workflow systematically detects code issues, validates features like upgradeability and ERC conformance, visualizes architecture, and documents security properties. This process integrates automated tooling and manual reviews to ensure audit readiness.

How do I automate Slither scans for smart contract security?

To automate Slither scans for smart contract security, you run Slither with configured detectors, triage the findings, and apply suggested fixes. This skill guides that orchestration, providing actionable steps for CI/CD integration.

Can I generate security diagrams for Ethereum smart contracts?

Yes, you can generate security diagrams for Ethereum smart contracts. The workflow produces inheritance graphs, function summaries, and variables/authorization maps to reveal underlying security patterns and architecture.

Does this workflow support upgradeability and ERC conformance checks?

Yes, this workflow supports upgradeability and ERC conformance checks. It validates token interactions and ensures only applicable checks run based on your specific smart contract features.

What is the best way to prepare smart contracts for a manual security review?

The best way to prepare smart contracts for a manual security review is to document security properties and generate visual diagrams. This workflow produces actionable artifacts and a testing plan ready for integration.

How do I set up Echidna and Manticore tests for smart contract fuzzing?

To set up Echidna and Manticore tests for smart contract fuzzing and formal verification, you follow the workflow's documentation and testing planning steps. It guides you through documenting security properties to prepare these tests.