CtrlK
BlogDocsLog inGet started
Tessl Logo

contracts-governance-attack

DAO governance attack — flash-loan-backed vote manipulation, delegation hijack, quorum dilution, proposal-spam DoS, time-lock bypass via emergency multisig, snapshot vs. on-chain vote desync, Compound/Aave/Uniswap-style GovernorBravo abuse.

69

Quality

85%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Critical

Do not install without reviewing

SKILL.md
Quality
Evals
Security

Quality

Content

87%

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A lean, highly actionable catalog of DAO governance attack classes with concrete recon commands and a defender's checklist; its main gap is the absence of explicit validation/verification checkpoints for the destructive attack workflow.

Suggestions

Add an explicit attack workflow with validation checkpoints (e.g., fork state → confirm quorum/threshold on fork → simulate castVote → verify treasury impact before live execution) to introduce feedback loops for the destructive operation.

Turn the prose References into clearly signaled, one-level links where possible (e.g., named report titles with URLs) to strengthen navigation, and consider splitting the per-attack-class Solidity patterns into a referenced file if the catalog grows.

DimensionReasoningScore

Conciseness

Lean and dense — each attack class is a tight snippet plus a one-line mechanism, and it assumes Claude knows Solidity/DAO basics without restating them. The Beanstalk date is a permanent historical fact, not stale version info, so no time-sensitivity penalty applies. Not level 2 because there is no padded explanatory prose to trim.

3 / 3

Actionability

Provides concrete, copy-paste-ready recon commands ("cast call --rpc-url $RPC $TIMELOCK \"getMinDelay()(uint256)\"", a full ProposalCreated event topic for `cast logs`) and real Solidity calls ("governor.castVote(proposalId, 1)", "IFlashLoan(aave).flashLoan(...)"). Not level 2 because the bash recon is fully executable and the Solidity uses real signatures rather than pseudocode.

3 / 3

Workflow Clarity

Sections are present (Attack classes → Recon → Defender's checklist → Tooling) but there is no explicit sequenced workflow with validation checkpoints, and destructive treasury-drain operations lack verify→fix→retry feedback loops, which caps workflow clarity at 2. Not level 3 because checkpoints are missing/implicit; not level 1 because the section sequence and the defender's checklist table provide real structure.

2 / 3

Progressive Disclosure

Well-organized into clear headed sections with a one-level-deep, clearly signaled References list (external post-mortems/audit reports) and no nested references; no bundle files exist so the self-contained single-file structure is appropriate. Not level 2 because references are clearly signaled and no inline content needs splitting out.

3 / 3

Total

11

/

12

Passed

Description

82%

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A highly specific, distinctive description that enumerates concrete attack classes and domain-natural trigger terms, but it omits an explicit "Use when…" usage clause, capping completeness at 2.

Suggestions

Add an explicit "Use when…" clause (e.g., "Use when auditing or attacking DAO governance: flash-loan votes, delegation hijack, quorum dilution, or GovernorBravo/Snapshot abuse") to lift completeness to 3.

Surface a couple of plainer user-facing trigger phrases (e.g., "DAO audit", "governance vote exploit") alongside the specialist terms to broaden natural-keyword coverage.

DimensionReasoningScore

Specificity

Lists multiple specific concrete attack actions — "flash-loan-backed vote manipulation, delegation hijack, quorum dilution, proposal-spam DoS, time-lock bypass via emergency multisig, snapshot vs. on-chain vote desync" — matching the score-3 anchor of multiple specific concrete actions.

3 / 3

Completeness

Clearly answers "what" via the enumerated attack classes, but lacks any "Use when…" clause or equivalent explicit trigger guidance; the rubric caps completeness at 2 when such a clause is missing. Not level 1 because the "what" is strong and detailed.

2 / 3

Trigger Term Quality

Good coverage of natural terms a DAO-security user would say: "DAO governance attack", "flash-loan", "GovernorBravo", "snapshot", "timelock", "multisig", "quorum", "Compound/Aave/Uniswap". Not level 2 because it goes well beyond a single keyword with common variations present.

3 / 3

Distinctiveness Conflict Risk

A clear niche (DAO governance attacks) with distinct, specialized triggers that are unlikely to collide with other skills. Not level 2 because the specificity is high enough to avoid overlap with generic contract skills.

3 / 3

Total

11

/

12

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

metadata_version

'metadata.version' is missing

Warning

Total

15

/

16

Passed

Repository
PurpleAILAB/Decepticon
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.