PROJECT: OAuthSentry TRACK: Vercel Workflow SDK + AI SDK 6 + Chat SDK
TAGLINE: Find AI tools that breach you first.
DESCRIPTION: OAuthSentry is a production-ready security agent that continuously scans OAuth apps, third-party AI integrations, and npm dependencies against LIVE threat intelligence feeds (NVD, GitHub Security Advisories, OSV). It automatically files Linear tickets and posts Slack alerts for critical findings---enabling security teams to detect and remediate supply-chain risks before they become breaches.
Built entirely with Vercel's latest stack: Next.js 16, AI SDK 6, Workflow SDK, and Chat SDK. Zero fake data---every threat feed, every CVE, every integration is real and production-ready.
INSPIRED BY: The April 2026 Vercel/Context.ai incident where a compromised OAuth app with excessive permissions (calendar, drive, email scopes) was used to pivot into employee systems.
20 FEATURES IMPLEMENTED:
TIER 1: CORE SECURITY FEATURES
-
Real-Time Dashboard Metrics --- Live asset count, critical/high/medium severity breakdown
-
Severity Breakdown Chart --- Visual bar showing threat distribution
-
Remediation Tracking --- Open -> In Progress -> Resolved with date picker
-
Interactive Demo Mode --- 5 realistic findings load instantly, no setup required
-
Threat Intelligence Attribution --- Real CVEs with CVSS scores and NVD/GitHub links
TIER 2: ADVANCED ANALYSIS
- Risk Timeline --- Visual progression showing how threats escalate (Low -> Medium -> Critical)
- Remediation Scorecard --- Resolution rate %, average fix time, efficiency metrics
- Risk Factor Scoring Breakdown --- Transparent scoring: Compromise History, Access Vector, Affected Consumers, Vendor Trust
- Automated Remediation Recommendations --- 7 step-by-step action items per finding
- Team Collaboration --- Comments section with and ticket linking
TIER 3: ENTERPRISE FEATURES
- Export Reports --- Premium multi-page PDF with executive summary, tables, and analysis + TXT/JSON
- Risk Comparison --- Side-by-side comparison of top 5 assets by risk score
- False Positive Flag --- Mark findings to exclude from metrics
- API Documentation --- Complete REST API docs at /api-docs with curl examples
- Scheduled Scan Reports --- Daily/weekly/monthly scans with email recipients and Vercel Cron
BONUS FEATURES:
- Linear Integration --- One-click ticket filing with full finding context
- Slack Integration --- Rich alerts with "View in App" buttons 18. Live IOC Feed --- Real-time threats from NVD, GitHub Security, OSV (sidebar)
- Dark/Light Theme --- System-aware with manual toggle 20. Premium Alert Modals --- Custom styled notifications (no browser alerts)
WHAT MAKES THIS PRODUCTION-READY:
- Real Integrations (not mocked):
- Linear tickets actually created in your workspace
- Slack alerts actually posted to your channel
- Live CVE data from NVD, GitHub Security Advisories, OSV
- Upstash Redis for scheduled scan persistence
- Vercel Cron for automated daily scans
- Enterprise-Grade Architecture:
- Durable workflows via Workflow SDK (survive restarts)
- Multi-platform chat via Chat SDK (Slack, Teams, Discord ready)
- 9 production API endpoints with proper error handling
- TypeScript strict mode throughout
- Responsive design (mobile to desktop)
Security & Compliance:
- Premium PDF reports for compliance audits
- Remediation tracking with full audit trail
- Team collaboration with
- False positive management
- Risk timeline for incident forensics
TECH STACK:
Frontend:
-
Next.js 16 (App Router, React Server Components)
-
React 19 with Suspense boundaries
-
Tailwind CSS 4 + shadcn/ui components
-
Dark/Light theme with next-themes
Backend & AI:
-
AI SDK 6 with Vercel AI Gateway
-
Workflow Development Kit (durable workflows)
-
Chat SDK (multi-platform bot support)
-
9 API routes with Zod validation
Integrations:
-
Linear API (ticket filing)
-
Slack Webhooks (rich alerts)
-
Upstash Redis (scheduled scan storage)
-
Vercel Cron (automated execution)
Data Sources:
-
NVD (National Vulnerability Database)
-
GitHub Security Advisories
-
OSV (Open Source Vulnerabilities by Google)
DEMO INSTRUCTIONS:
-
Click "Demo Mode" --- 5 realistic findings load instantly
-
Expand Context.ai finding --- see all 3 tabs (Overview, Analysis, Actions)
-
Configure Settings --- add Linear API key and Slack webhook
-
File a ticket --- watch it appear in Linear
-
Send an alert --- watch it appear in Slack
-
Export PDF --- download premium compliance report
-
Visit /api-docs --- explore the REST API
LINKS:
- Live App: https://oauthsentry.vercel.app
- API Docs: https://oauthsentry.vercel.app/api-docs
- GitHub: https://github.com/hayreKhan750/OAuthSentry