How sam798-del/cybershield-ai-final- works
CyberShield AI combines account security and digital identity management with detection, guidance, and security-analysis features. Users interact through the web platform or browser extension; the backend routes requests to authentication, identity, profile, and detection capabilities, with SQLite-backed account state. The README documents the product workflows and capabilities, while some frontend and integration wiring is not visible in the sampled source. Dashed edges mark those unverified or optional connections rather than asserting implementation details.
Main entry points: app.py Flask app · db.py SQLite state · routes_auth.py Authentication routes · routes_profile.py Profile routes
Components 17
User clients
- Web platform
frontend - Browser extension
extension - Desktop launcher
desktop/main.py
API backend
- Flask app
app.py - SQLite state
db.py - API responses
responses.py
Identity and account security
- Authentication routes
routes_auth.py - Identity routes
routes_identity.py - Profile routes
routes_profile.py - Security services
security.py - Document checks
identity_docs.py - Settings and trust
services.py
Detection and guidance
- Detection and guidance API
routes_modules.py - Phishing detection
modules/phishing_engine.py - Cyberbullying detection
modules/toxicity_engine.py - Security analyzer
security-analyzer/app.py
Other components
- User
Connections 25
- User → Web platform: uses
README.md - Web platform → Flask app: requests API
- User → Browser extension: uses
README.md - Browser extension → Authentication routes: gets login token
README.md - Browser extension → Profile routes: gets config
README.md - Desktop launcher → Flask app: starts server
desktop/main.py - Flask app → SQLite state: initializes
app.py - Flask app → Authentication routes: registers
app.py - Flask app → Identity routes: registers
app.py - Flask app → Profile routes: registers
app.py - Flask app → Detection and guidance API: registers
app.py - Authentication routes → Security services: uses
routes_auth.py - Authentication routes → SQLite state: reads and writes
routes_auth.py - Authentication routes → API responses: formats responses
routes_auth.py - Identity routes → Document checks: validates documents
routes_identity.py - Identity routes → Settings and trust: computes trust
routes_identity.py - Identity routes → SQLite state: reads and writes
routes_identity.py - Profile routes → Settings and trust: loads settings
routes_profile.py - Profile routes → SQLite state: reads and writes
routes_profile.py - Profile routes → Security services: uses
routes_profile.py - Detection and guidance API → Phishing detection: calls
routes_modules.py - Detection and guidance API → Cyberbullying detection: calls
routes_modules.py - Detection and guidance API → Security analyzer: dispatches to
- Settings and trust → SQLite state: reads and writes
services.py - Security services → SQLite state: stores sessions
security.py