A cloud-native dApp for tracking product lifecycle on Solana blockchain with security monitoring. Similar to CarFax but for consumer electronics, bikes, and high-value goods.
# Start the entire security stack
docker-compose up -d
# Access services:
# - Frontend: http://localhost:8080
# - API: http://localhost:3000
# - Grafana: http://localhost:3001 (admin/admin123)- solana-program/ - Rust-based on-chain program for product provenance
- backend/ - Node.js REST API with structured logging
- frontend/ - React frontend with Solana wallet integration
- nginx/ - NGINX with ModSecurity WAF & OWASP Core Rules
- opa/ - Open Policy Agent for dynamic authorization
- falco/ - Runtime security monitoring with custom rules
- loki/ - Centralized log aggregation
- grafana/ - Real-time monitoring dashboards
- promtail/ - Log shipping agent
- Trivy container vulnerability scanning (blocks CRITICAL/HIGH)
- npm audit dependency scanning in CI/CD
- Cosign/Sigstore keyless image signing with OIDC
- Alpine Linux minimal base images
- Multi-stage builds for reduced attack surface
- Non-root users in all containers
- Falco runtime threat detection with 7 custom security rules
- ModSecurity WAF with OWASP CRS + custom API rules
- OPA policy engine for API authorization
- Loki + Grafana for structured logging & visualization
- Rate limiting (100 req/min per IP at NGINX + WAF layers)
- Security headers (CSP, HSTS, X-Frame-Options, etc.)
- Environment-based secrets management
View live security events in Grafana: http://localhost:3001/d/bbf-security
- Solana Program - On-chain program details
- Backend API - REST API documentation
- Frontend - Web UI setup