Project Overview
Revolutionizing blockchain security with AI-powered forensics
Scope
AltFlex is an integrated AI and digital forensics framework designed to proactively detect and analyze security exploits in cross-chain bridges and DeFi protocols. The system combines machine learning anomaly detection with blockchain forensic analysis to provide comprehensive security solutions for the Web3 ecosystem.
Complexity Assessment
- Technical Complexity: High (AI/ML, Blockchain, Full-stack)
- Architecture: Microservices (FastAPI + Next.js)
- Data: Real-world exploit datasets, smart contracts
- Integrations: Etherscan API, XGBoost ML
Expected Deliverables
Flash Loan Detection
ML anomaly detection system
Nov 17 - Dec 31, 2025Address Verification
5-layer security pipeline
Jan 1 - Jan 31, 2026Premium Frontend
Enterprise-grade Next.js UI
Feb 1 - Feb 19, 2026Production Release
Complete security framework
Next YearAgile Scrum Methodology
Why iterative development is essential for this project
Iterative Development Required
- AI/ML models need continuous refinement based on test results
- Frontend UI requires iterative design improvements
- Security features demand rapid response to vulnerabilities
Complex, Evolving Requirements
- Blockchain security landscape changes rapidly
- New exploit patterns emerge requiring quick adaptation
- External API integrations may require adjustments
Cross-Functional Skillsets
- Backend development (Python, FastAPI)
- Frontend development (TypeScript, Next.js)
- Machine Learning (XGBoost, Feature Engineering)
- Security Engineering (Rate limiting, Auth)
Demonstrable Progress
- Working increments every 2 weeks for stakeholders
- Sprint reviews provide accountability
- GitHub discussions enable transparent collaboration
Why Not Waterfall?
Project Timeline & Sprints
10 sprints delivering 182 story points
Phase 1: Foundation & Core Detection
November 17 - December 31, 2025
Data Collection & Preparation
- Etherscan API integration
- Dataset creation (5 real exploits, 50 transactions)
๐ data/ directory with validated exploit samples
ML Model Development
- XGBoost classifier training
- Feature engineering (22 features)
๐ค AnomalyDetector with 100% validation accuracy
Rule Engine & API
- 6 flash loan detection rules
- FastAPI endpoint implementation
๐ 12 REST API endpoints with Swagger docs
Phase 2: Security Enhancement
January 1 - January 31, 2026
Address Validation
- 5-layer verification pipeline
- Format, checksum, ICAP, on-chain, behavioral
๐ AddressVerifier module with external APIs
Behavioral Analysis
- Velocity scoring & funding pattern analysis
- Blacklist integration
๐ BehavioralAnalyzer with OFAC/mixer detection
API Hardening
- Rate limiting & API key auth
- Request validation & audit logging
๐ก๏ธ SecurityMiddleware with 100 req/min limit
Phase 3: Premium Frontend
February 1 - February 19, 2026
Landing & Dashboard
- Next.js 14 setup, Tailwind CSS theme
- Landing page with animations
๐จ Responsive landing + dashboard layout
Transaction Analysis UI
- Transaction input form
- Risk score visualization
๐ /dashboard/analyze with ML integration
Verification & Exploit UI
- Address verification interface
- Exploit database browser
๐ /verify and /exploits pages
UI Polish & Deployment
- 1900px max-width optimization
- Documentation update
๐ Production-ready codebase on GitHub
Sprint Velocity & Performance
Team & Roles
A cross-functional team driving innovation
Jay Arre P. Talosig
Technical Lead & Backend Developer- Overall architecture design & decision-making
- Backend API development (FastAPI)
- ML model training & feature engineering
- Code reviews & GitHub management
- Sprint planning & backlog prioritization
Alexander Castilo, Mark Jhoshua Taberna
COM231 - Frontend Developer- Next.js frontend implementation
- UI/UX design & responsiveness testing
- Component library development
- API client integration
- Browser compatibility & QA
Nicko Nehcterg Dalida, Rinoah Venedict Dela Rama
COM232 - QA Engineer & Data Analyst- Test suite development (pytest)
- Exploit dataset curation & validation
- Performance testing & security audits
- Documentation writing
- Sprint retrospectives
Scrum Ceremonies
Daily Standups
Async via GitHub Discussions
15 min postsSprint Planning
Start of each 2-week sprint
1-2 hoursSprint Review
Demo working features
30-45 minSprint Retrospective
Continuous improvement
30 minTechnical Architecture
Production-ready microservices design
Project Flow Diagram
Development Tools
Backend Stack
Frontend Stack
DevOps
Tools & Artifacts
Project management and quality assurance
Definition of Done (DoD)
main
Risk Management
Identified risks and mitigation strategies
| Risk | Probability | Impact | Mitigation Strategy |
|---|---|---|---|
| External API downtime (Etherscan) | Medium | High | Implement caching, fallback to sample data, retry logic |
| ML model low accuracy | Medium | High | Iterative feature engineering, cross-validation, ensemble methods |
| UI responsiveness issues | Low | Medium | Test on multiple screen sizes, use Tailwind responsive utilities |
| Scope creep | High | Medium | Strict sprint goals, "nice-to-have" vs "must-have" prioritization |
| Team member unavailability | Medium | Medium | Documentation-first culture, cross-training on stack components |
Quality Assurance Strategy
Success Criteria
Measurable outcomes across all phases
Phase 1 Metrics
โ Achieved- โ 6 flash loan detection rules implemented
- โ ML classifier with 100% validation accuracy
- โ 12 REST API endpoints functional
- โ 23 unit tests passing
Phase 2 Metrics
โ Achieved- โ 5-layer address verification operational
- โ Behavioral analysis (velocity, funding)
- โ API security: rate limiting, auth, validation
- โ 123 additional tests (146 total)
Phase 3 Metrics
โ Achieved- โ Premium Next.js UI with 5 pages
- โ Responsive design (1080px-1920px)
- โ Real-time health monitoring
- โ 1900px max-width optimization
Reference Links
Project resources and documentation
AltFlex GitHub Repository
Main codebase hosting version control, issue tracking, and project documentation
Agile Scrum Sprint Discussions
Async standup updates, sprint planning notes, and team collaboration
Phase 2 Development Code Review
Detailed technical review of address verification and security enhancements
Capstone Methodology Design
Methodology design document for the AltFlex capstone project
AltFlex Sprint Planning & Task Board
Interactive sprint backlog and task tracking board for Agile Scrum workflow management
Conclusion
The Agile Scrum methodology has proven highly effective for the AltFlex capstone project. The iterative approach allowed for rapid adaptation to emerging blockchain security requirements, continuous stakeholder feedback integration, and demonstrable progress through working increments every 2 weeks.
Key Success Factors
Pivoted from Streamlit to Next.js based on design requirements
GitHub-based workflow provides full visibility to instructor
100% test pass rate maintained across all sprints
Async communication via Discussions enables flexible teamwork
The project successfully delivered a production-ready AI-powered forensic framework through disciplined sprint execution, comprehensive testing, and continuous integration practices.