randomness
OfficialSecure your smart contracts from randomness exploits.
AuthorPurpleAILAB
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill identifies and mitigates vulnerabilities related to insecure or predictable randomness in smart contracts, preventing financial losses and manipulation.
Core Features & Use Cases
- Vulnerability Detection: Pinpoints insecure uses of
block.timestamp,blockhash,prevrandao, and other weak sources. - Secure Pattern Implementation: Provides examples and guidance on integrating secure randomness solutions like Chainlink VRF and commit-reveal schemes.
- Use Case: An auditor can use this Skill to quickly scan a smart contract codebase for common randomness flaws, ensuring the integrity of lotteries, NFT mints, and other critical functions.
Quick Start
Analyze the provided Solidity code for insecure randomness vulnerabilities.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: randomness Download link: https://github.com/PurpleAILAB/Vigilo/archive/main.zip#randomness Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.