restaking-eigenlayer

Solid

Detect restaking / AVS bugs — EigenLayer / Symbiotic / Karak operator slashing edge cases, withdrawal-queue gaming, cascading-slashing across AVSs, LST depeg solvency, AVS opt-in granularity. Activate on EigenLayer / Symbiotic / Karak imports, StrategyManager, DelegationManager, EigenPod, AVS registration, slasher contracts.

API & Backend 38 stars 5 forks Updated 2 days ago MIT

Install

View on GitHub

Quality Score: 82/100

Stars 20%
53
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Restaking / EigenLayer detection ## When this applies - AVS implementations using EigenLayer / Symbiotic / Karak / Babylon - Restaking deposit / withdrawal contracts - Operator-management contracts - LST-restaking integrations ## Detection patterns ### Withdrawal queue gaming (HIGH) User queues withdrawal, performs slashable action, unqueues if slashing didn't hit. Defense: slashing must apply to in-flight withdrawals too. ### Cascading slashing across AVSs (HIGH) One operator opts into many AVSs. A slash by AVS-A reduces stake → AVS-B's quorum requirement may not be met. Solvency check before slashing. ### AVS opt-in without delegator consent (HIGH) Operator opts into a new AVS, exposing delegators to its slashing conditions without notice. Required: opt-in announcement + delegator-side withdrawal window. ### Slashing magnitude unbounded (CRITICAL) Bad AVS spec slashes 100% on a single condition. With multiple AVSs sharing operator, this can drain the operator's restakers entirely. Cap per-slash magnitude. ### Off-chain slashable evidence verifiability (HIGH) Slashable conditions claim cryptographic provability. If proof is forgeable or the verifier has a bug, false slashing possible. ### EigenLayer strategy-manager + delegation-manager interaction (HIGH) Strategy positions and delegation are separate. Race conditions between staking, delegating, and withdrawing. Off-by-one in undelegation queue can lock funds. ### EigenPod verifyWithdrawalCredentials (HIGH) Beac...

Details

Author
iktok90-design
Repository
iktok90-design/ai-smart-contract-auditor
Created
1 weeks ago
Last Updated
2 days ago
Language
JavaScript
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category