4 releases
new 0.0.4 | Nov 14, 2024 |
---|---|
0.0.3 | Oct 21, 2024 |
0.0.2 | Aug 14, 2024 |
0.0.1 | May 20, 2024 |
#1688 in Procedural macros
222 downloads per month
Used in 2 crates
(via trident-client)
10KB
56 lines
Trident
Rust-based framework to Fuzz Solana programs, designed to help you ship secure code.
Documentation
For documentation and guides, visit ackee.xyz/trident/docs.
Prerequisites
Check Supported versions section for further details.
- Install Rust
- Install Solana tool suite
- Install Anchor
- Install Honggfuzz-rs for fuzz testing
Installation
cargo install trident-cli
Features
Automated Test Generation
Simplifies the testing process by automatically creating templates for fuzz and integration tests for programs written using the Anchor Framework.
Dynamic Data Generation
Increases test coverage with random instruction data and pseudo-random accounts for unpredictable fuzz test scenarios.
Custom Instruction Sequences
Provides the flexibility to design specific sequences of instructions to meet particular testing needs or to focus on particular aspects of program behavior during fuzz testing.
Invariant Checks
Allows for custom invariants checks to spot vulnerabilities and unwanted behaviors.
Community
Check out the following places for more Trident-related content:
- Follow on Twitter/X & Warpcast for project updates
- Join the discussions on our Trident warpcast channel or our discord channel
Grants
Solana Foundation | Marinade |
---|---|
Contribution
Thank you for your interest in contributing to Trident! Please see the CONTRIBUTING.md to learn how.
License
This project is licensed under the MIT license.
Dependencies
~1.5MB
~36K SLoC