Request for Proposal#
Project: Lilith Platform Smart Contracts Date: [DATE] Response Deadline: [DATE + 2 weeks]
1. Project Overview#
1.1 Description#
Lilith Platform is a decentralized content licensing and royalty distribution system. We are seeking a comprehensive security audit of our smart contract codebase before mainnet deployment.
1.2 Business Context#
- Platform Type: Content licensing, NFT marketplace, reputation system
- Target Users: Content creators, consumers, collectors
- Expected TVL: $1M - $10M initially
- Launch Target: [Q2 2025]
2. Scope of Work#
2.1 In-Scope Contracts#
| Contract | LOC | Description |
|---|---|---|
| AccessToken.sol | ~300 | ERC-1155 access tokens |
| ContentLicenseNFT.sol | ~250 | ERC-721 content licenses |
| CreatorRoyalties.sol | ~200 | Royalty distribution |
| IdentityReputation.sol | ~350 | Identity & reputation |
| AccessTokenUpgradeable.sol | ~320 | Upgradeable variant |
| ContentLicenseNFTUpgradeable.sol | ~270 | Upgradeable variant |
| CreatorRoyaltiesUpgradeable.sol | ~220 | Upgradeable variant |
| IdentityReputationUpgradeable.sol | ~370 | Upgradeable variant |
| FlashLoanGuard.sol | ~50 | Security library |
Total Estimated LOC: ~2,330
2.2 Out of Scope#
- Test contracts and mocks
- Deployment scripts
- Frontend/backend code
- Third-party dependencies (OpenZeppelin)
2.3 Audit Objectives#
- Security Vulnerabilities: Identify all security issues
- Code Quality: Review code quality and best practices
- Gas Optimization: Identify gas optimization opportunities
- Logic Review: Verify business logic correctness
- Upgrade Safety: Validate upgrade mechanism security
3. Requirements#
3.1 Auditor Qualifications#
Required:
- 3+ years smart contract auditing experience
- Previous audits of NFT/marketplace projects
- Public track record of audits
- Full-time dedicated auditor(s)
Preferred:
- Experience with UUPS upgradeable contracts
- Formal verification capabilities
- Flash loan attack experience
- Prior work with royalty systems
3.2 Deliverables#
-
Preliminary Report (Week 2)
- Critical/High findings for immediate review
- Questions for clarification
-
Draft Report (Week 3)
- All findings with severity classification
- Proof of concept for vulnerabilities
- Recommendations for fixes
-
Final Report (Week 4-5)
- Remediation verification
- Final severity assessments
- Executive summary
-
Optional: Formal Verification
- Invariant specifications
- Verification results
4. Timeline#
| Phase | Duration | Activities |
|---|---|---|
| Kickoff | Day 1 | Code handoff, Q&A session |
| Initial Review | Week 1 | Architecture review, threat modeling |
| Deep Dive | Week 2-3 | Line-by-line analysis, testing |
| Reporting | Week 3-4 | Draft findings, client review |
| Remediation | Week 4-5 | Fix verification, final report |
Preferred Start Date: [DATE] Deadline: [DATE + 5 weeks]
5. Evaluation Criteria#
5.1 Selection Factors#
| Factor | Weight |
|---|---|
| Auditor experience & reputation | 30% |
| Relevant project experience | 25% |
| Price | 20% |
| Timeline availability | 15% |
| Additional capabilities | 10% |
5.2 Proposal Requirements#
Please include:
- Company overview and certifications
- Proposed team and their CVs
- List of relevant past audits
- Proposed methodology
- Timeline and availability
- Fixed-price quote
- Terms and conditions
- Sample report (redacted)
6. Budget#
Expected Range: $100,000 - $250,000 USD
Payment Terms:
- 30% at kickoff
- 40% at draft report
- 30% at final report
Additional Services (Priced Separately):
- Formal verification
- Extended testing period
- Post-launch monitoring
7. Firm Candidates#
Tier 1 (Primary Consideration)#
| Firm | Specialty | Status |
|---|---|---|
| Trail of Bits | Security research | Pending |
| OpenZeppelin | Smart contract security | Pending |
| Consensys Diligence | Ethereum security | Pending |
| Spearbit | Decentralized auditors | Pending |
Tier 2 (Secondary Consideration)#
| Firm | Specialty | Status |
|---|---|---|
| Certora | Formal verification | Pending |
| Quantstamp | Automated + manual | Pending |
| Halborn | Security services | Pending |
8. Contact Information#
Primary Contact: [Name] Email: [security@lilith.io] Response Method: Email with PDF proposal
Questions Deadline: [DATE + 1 week] Proposal Deadline: [DATE + 2 weeks]
9. Appendix#
A. Code Access#
- GitHub repository: [private link to be shared]
- Documentation: Included in
docs/audit/ - Test environment: Sepolia testnet
B. Technical Environment#
- Solidity: 0.8.20+
- Framework: Hardhat 2.x
- Dependencies: OpenZeppelin 5.x
- Node.js: 18.x+
C. Previous Security Work#
- Internal security review completed
- Slither analysis performed
- Flash loan testing completed
- 100%+ test coverage achieved
This RFP is confidential. Distribution is limited to invited audit firms.