How abhinavsinghal-18/cosedion-10 works
Senttinelx is a digital-risk-protection web app for monitoring brand impersonation and suspicious apps. The principal workflow is: a user signs in and configures a brand, enters the authenticated workspace, reviews detected threats and risk scores, investigates a threat, then prepares or tracks a takedown report. The graph also preserves the app-store, threat-graph, and settings branches indicated by the route tree. Several route and subsystem implementations were not excerpted, so uncertain connections are omitted rather than inferred.
Main entry points: data.ts Query and state layer · threats.$id.tsx Threat investigation · client.ts Supabase client · route.tsx Access gate
Components 19
Entry and workspace
- Sign in
src/routes/auth.tsx - Brand setup
src/routes/onboarding.tsx - Access gate
src/routes/_authenticated/route.tsx - Workspace shell
src/components/sx/AppShell.tsx - Workspace settings
src/routes/_authenticated/settings.tsx
Threat monitoring
- Risk dashboard
src/routes/_authenticated/dashboard.tsx - Scan interface
src/components/sx/ScanOverlay.tsx - Threat list
src/routes/_authenticated/threats.index.tsx - Suspicious apps
src/routes/_authenticated/apps.tsx - Threat graph
src/components/sx/ThreatGraph.tsx
Investigation and response
- Threat investigation
src/routes/_authenticated/threats.$id.tsx - Risk scoring
src/lib/scoring.ts - AI functions
src/lib/ai.functions.ts - Takedown reports
src/lib/reports.ts - Report pages
src/routes/_authenticated/reports.index.tsx
Data and backend
- Query and state layer
src/lib/data.ts - Supabase client
src/integrations/supabase/client.ts - Supabase data store
Other components
- Brand operator
Connections 20
- Brand operator → Sign in: signs in
src/routes/auth.tsx - Brand operator → Brand setup: sets up brand
src/routes/onboarding.tsx - Sign in → Supabase client: authenticates via
src/routes/auth.tsx - Brand setup → Query and state layer: loads brand data
src/routes/onboarding.tsx - Access gate → Query and state layer: checks session
src/routes/_authenticated/route.tsx - Access gate → Workspace shell: renders workspace
src/routes/_authenticated/route.tsx - Workspace shell → Scan interface: opens scan
src/components/sx/AppShell.tsx - Risk dashboard → Query and state layer: loads risk data
src/routes/_authenticated/dashboard.tsx - Risk dashboard → Threat graph: renders graph
src/routes/_authenticated/dashboard.tsx - Threat list → Query and state layer: loads threats
src/routes/_authenticated/threats.index.tsx - Suspicious apps → Query and state layer: loads app findings
src/routes/_authenticated/apps.tsx - Threat investigation → Query and state layer: loads threat
src/routes/_authenticated/threats.$id.tsx - Threat investigation → Risk scoring: uses scoring
src/routes/_authenticated/threats.$id.tsx - Threat investigation → AI functions: uses AI functions
src/routes/_authenticated/threats.$id.tsx - Threat investigation → Takedown reports: creates reports
src/routes/_authenticated/threats.$id.tsx - Report pages → Takedown reports: uses report logic
src/lib/reports.ts - Scan interface → Query and state layer: uses data layer
src/components/sx/ScanOverlay.tsx - Query and state layer → Supabase client: queries through
src/lib/data.ts - Supabase client → Supabase data store: reads and writes
- Workspace settings → Query and state layer: uses data layer