Contributing to LancerShield Docs
Thank you for your interest in contributing to the LancerShield open documentation initiative!
This project is designed to create a structured, trustworthy, and community-driven resource for smart contract auditing knowledge.
โ๏ธ What You Can Contribute
- ๐ Add new vulnerabilities with descriptions, examples, causes, and fixes.
- ๐ ๏ธ Suggest better secure coding patterns or best practices.
- ๐ Report errors, outdated practices, or unclear explanations.
๐ Folder Structure
All docs live under the docs/ directory.
severity-framework/- scoring system and color-coded severity breakdownvuln-db/- vulnerability entries grouped by severity and categorycontributing/- this guide and submission instructions
๐งพ Vulnerability Entry Format
Each entry should include:
- A short title
- Assigned severity level (using LSF)
- Clear description of the vulnerability
- Vulnerable code snippet (before)
- Exploit scenario (how it can be abused)
- A fixed code snippet (after)
-
Best practice advice or links (optional)
-
๐งฉ You must follow the official template when submitting any new vulnerability. This ensures consistency, proper indexing, and readability across the documentation.
Example filename:
vuln-db/critical/reentrancy-classic.md
๐ค How to Submit
- Fork this repo
- Create a new branch
- Add or edit Markdown files
- Open a pull request (PR)
- Use our PR template and explain your changes clearly
โ Contribution Standards
- Be concise and specific.
- Prefer real-world examples (from public exploits).
- Follow the folder structure and formatting style.
- Credit original sources if referencing external material.
- โ ๏ธ The LancerShield Severity Framework (LSF) is a core scoring protocol and cannot be modified via direct pull requests.
If you'd like to suggest improvements to the LSF, please open a GitHub Issue instead.
๐ค Join the Mission
We believe security knowledge should be accessible, auditable, and extensible. Help us raise the bar for smart contract safety โ one documented vulnerability at a time.
- The LancerShield Team