Skip to content

delevingnecc/CrowdSec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CrowdSec

A decentralized platform for secure vulnerability disclosure, enabling transparent report submission and admin verification on-chain.

Today’s vulnerability reporting is centralized, slow, and opaque. Security researchers must trust private channels or corporate platforms, risking censorship, delays, or lack of reward. CrowdSec decentralizes vulnerability submission, making every disclosure immutable and transparent. Reports are submitted as hashes (like IPFS CIDs), timestamped on-chain, and verified by an admin. This protects both reporters and organizations.

By building on Polkadot’s infrastructure, CrowdSec ensures high scalability, true decentralization, and cross-chain compatibility in future expansions. Polkadot’s robust security model allows trustless verification without relying on centralized gatekeepers.

Demo Video

https://drive

Screenshots

https://drive.google.com/drive/folders/1w-Xl5p58B-_EuH4uPsuUE6wjKnVHp5iL?usp=drive_link

Presentation

https://www.canva.com/design/DAGl0qrAoSs/jKH99HOuqjOQBBUIJIql4A/edit

Technical Description (SDKs + Polkadot features used)

CrowdSec was developed using:

  • Solidity smart contracts
  • Polkadot Remix IDE (https://remix.polkadot.io) for writing, compiling, and deploying directly onto the Polkadot ecosystem Deployment Details:
  • The contract was deployed on Westend Asset Hub, a test parachain connected to the Polkadot network.
  • Wallets were connected using polkadot.js extension for signing and interacting with the contract. Key Polkadot features that made this possible:
  • Asset Hub Parachain: Provided a lightweight, EVM-compatible environment for fast and low-cost deployment.
  • Native Wallet Integration: Seamless connection through polkadot.js extension made it easy to interact securely.
  • Interoperability: Built on Polkadot’s cross-chain future, enabling CrowdSec to later integrate with other parachains or bridges. This approach enabled rapid smart contract development without setting up a full blockchain node, perfectly fitting a hackathon timeline.

Note: During deployment, we encountered an initcode size limitation, where the combined constructor logic and contract runtime bytecode exceeded 52,738 bytes, surpassing Westend’s maximum deployment size of 49,152 bytes as enforced under EIP-3860. This size restriction, critical for protecting the network against oversized or malicious deployments, was surfaced through MetaMask’s rejection error. To address this, we activated the Solidity optimizer in Remix (targeting 200 runs) to aggressively minimize bytecode size by eliminating dead code and compressing lengthy revert strings. Additionally, we are modularizing the smart contract architecture — refactoring heavier logic into separate library contracts, which will be deployed independently and linked at runtime to the main contract. If necessary, we are prepared to adopt a minimal-proxy (EIP-1167) pattern, dramatically reducing on-chain payloads by using lightweight proxy instances pointing to shared implementation contracts. These optimizations ensure the final deployment remains compliant with Westend’s size constraints while maintaining full functionality, scalability, and upgradeability.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published