dao-governance

Analyze Solidity smart contracts for DAO governance security vulnerabilities.

1|1|Updated Feb 18, 2026
One-click install
npx skills add https://github.com/Apegurus/solidity-argus --skill dao-governance
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dao-governance
Source: https://github.com/Apegurus/solidity-argus/tree/main/skills/protocol-patterns/dao-governance
Command: npx skills add https://github.com/Apegurus/solidity-argus --skill dao-governance

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses critical security vulnerabilities in Decentralized Autonomous Organization (DAO) governance systems, protecting against manipulation, flash loan attacks, and improper proposal execution.

Core Features & Use Cases

  • Flash Loan Protection: Identifies and mitigates risks associated with flash loan attacks on voting power.
  • Timelock Security: Ensures proper timelock mechanisms are in place to prevent immediate malicious execution of proposals.
  • Quorum & Threshold Safety: Checks for manipulation of quorum and voting thresholds.
  • Use Case: A DAO can use this Skill to audit its custom governance contract, ensuring that proposals cannot be manipulated by flash loans and that critical actions are subject to sufficient timelocks, thereby safeguarding treasury assets.

Quick Start

Audit the attached governance contract for security vulnerabilities related to voting and proposal execution.

Frequently Asked Questions about dao-governance

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

FAQPage Schema
How do I audit a DAO governance contract for flash loan voting vulnerabilities?

To audit DAO governance for flash loan voting, analyze smart contracts to identify risks where flash loans manipulate voting power, preventing attackers from passing malicious proposals using borrowed funds.

What is a timelock bypass in Solidity governance contracts?

A timelock bypass is a vulnerability where proposals execute immediately without the required delay. Governance audits verify proper timelock mechanisms to prevent unauthorized instant execution of critical DAO actions.

How can I prevent quorum manipulation in my DAO's voting mechanism?

Prevent quorum manipulation by auditing voting contracts to check for threshold safety issues, analyzing smart contract logic to ensure quorum and voting thresholds cannot be artificially manipulated by attackers.

Does this governance audit require prior Solidity knowledge?

Yes, analyzing smart contracts for DAO governance vulnerabilities requires understanding Solidity, common governance patterns, and known attack vectors like the Beanstalk exploit to effectively identify security flaws.

What is the best way to secure a DAO treasury against proposal execution attacks?

The best way to secure a DAO treasury is to audit custom governance contracts for proposal execution integrity, ensuring critical actions are subject to sufficient timelocks and cannot be manipulated by flash loans.