slashing-verifier

Simulate validator misbehavior scenarios and evaluate slashing penalties in blockchain networks.

Updated Aug 15, 2025
One-click install
npx skills add https://github.com/EojEdred/Etrid --skill slashing-verifier
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: slashing-verifier
Source: https://github.com/EojEdred/Etrid/tree/main/14-aidevs/skills/slashing-verifier/slashing-verifier
Command: npx skills add https://github.com/EojEdred/Etrid --skill slashing-verifier

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Verifying the effectiveness and fairness of slashing mechanisms under various validator misbehavior scenarios is critical for network security and trust. This Skill automates these simulations for Ëtrid.

Core Features & Use Cases

  • Misbehavior Simulation: Simulate diverse validator misbehavior scenarios (e.g., double-signing).
  • Penalty Testing: Test the application of slashing penalties and their impact.
  • Network Resilience Evaluation: Assess the overall fairness and resilience of the network's security model.
  • Use Case: Before deploying a new slashing rule, use this Skill to simulate its impact across hundreds of hypothetical misbehavior events, ensuring it functions as intended without unintended consequences.

Quick Start

Use the slashing-verifier skill to simulate a validator double-signing event and verify the resulting slashing penalty.

Frequently Asked Questions about slashing-verifier

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

FAQPage Schema
How do I simulate validator misbehavior to test slashing penalties?

Slashing-verifier simulates validator misbehavior scenarios—such as double-signing, downtime, and equivocation—to test how slashing penalties are applied. It generates configurable scenarios, traces events precisely, and measures the impact on network fairness and resilience.

What validator misbehavior scenarios can I test with this Skill?

The Skill supports diverse misbehavior scenarios including validator downtime, equivocation, double-signing, reward misalignment, and network partition. Each scenario is configurable and reproducible, enabling comprehensive testing of consensus protocol security.

Can I use this Skill to validate new slashing rules before deployment?

Yes. Before deploying a new slashing rule, simulate its impact across hundreds of hypothetical misbehavior events to verify it functions as intended and produces no unintended consequences on network resilience.

What metrics does slashing-verifier collect to evaluate network fairness?

The Skill collects measurable metrics on penalty application, validator behavior, and network state changes across scenarios. These metrics enable assessment of whether slashing mechanisms maintain network fairness and security under adversarial conditions.

Why is testing slashing mechanisms important for blockchain security?

Slashing mechanisms enforce validator compliance and deter misbehavior. Testing their effectiveness and fairness under diverse scenarios is critical to ensure the network responds correctly to validator failures and maintains trust in consensus.

Does this Skill work with Python-based blockchain testing frameworks?

Yes. Slashing-verifier is implemented in Python and integrates with blockchain testing environments. It provides scripts and references for simulating validator events and evaluating slashing rules within existing consensus protocol test suites.