-
Notifications
You must be signed in to change notification settings - Fork 232
ShieldContract #328
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
ShieldContract #328
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -0,0 +1,32 @@ | ||||||
# Lab Name | ||||||
|
||||||
ShieldContract Analyzer | ||||||
|
||||||
# Short Description | ||||||
|
||||||
ShieldContract Analyzer is a Rust-based CLI tool in ideation phase for smart contract security analysis, with a focus on verifying compliance with token standards (e.g., ERC-20, ERC-721, ERC-1155, ERC-777) and providing quick first-check security audits. It integrates with AI providers like OpenAI, Claude, and Gemini for cross-check analysis, helping institutions entering tokenization to rapidly identify vulnerabilities and ensure standards adherence. | ||||||
|
||||||
# Scope of Lab | ||||||
|
||||||
This lab develops a proof-of-concept CLI tool for blockchain smart contract security, currently supporting Hyperledger Fabric chaincode and Solana programs, with modular extensions for other platforms. Key functionalities include: | ||||||
|
||||||
- **Standards Compliance Checking**: Validates if contracts follow token standards like ERC-20 (e.g., transfer functions, balances) and stablecoin best practices, detecting deviations that could lead to security issues. | ||||||
- **Security Vulnerability Detection**: Platform-specific checks, such as non-determinism in Fabric (e.g., time/rand usage), arithmetic overflows/underflows in Solana, missing signer/account validation, CPI security, and private data leaks. | ||||||
- **AI Cross-Check Analysis**: Connects to multiple LLMs (OpenAI, Claude, Gemini) for consensus-based validation of findings, AI-generated code patterns, and remediation suggestions – vital for quick, reliable first checks in institutional tokenization workflows. | ||||||
- **Reporting**: Outputs in JSON, Markdown, HTML, and SARIF for CI/CD integration. | ||||||
- **Other Features**: Interactive mode, custom rules, Docker support, and configuration via TOML. Stubbed/planned features include full auditing. | ||||||
|
||||||
As enterprises and business solutions are looking into developing web3 products such as institutional tokenization and stable coins, there is a pressing need for a quick CLI analyzer tool for smart contracts to see if it meets the standards and that it can fit into a CI/CD workflow. As institutions increasingly tokenize assets, this tool provides a "quick first check" for smart contracts, combining static analysis with AI to flag non-compliance and vulnerabilities early. It aligns with Hyperledger's ecosystem (e.g., Fabric integration) and could expand to support more standards/AI providers. The project is in early ideation (v0.2.0), with some features limited. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not sure if this is a correct change. Did you want to only refer to Hyperledger Fabric in this sentence or are you talking about the entire LFDT ecosystem? If the former, maybe the change should be "...with Hyperledger Fabric's ecosystem and could expand..." |
||||||
|
||||||
# Initial Committers | ||||||
|
||||||
- https://github.com/KoushikGavini | ||||||
|
||||||
|
||||||
# Sponsor | ||||||
|
||||||
|
||||||
|
||||||
# Pre-existing repository | ||||||
|
||||||
- https://github.com/KoushikGavini/ShieldContract | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It looks like you will need to add DCO sign-offs before we can move this repo. Also, any chance of licensing this under Apache 2.0? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.