How preethamak/ide_scanner_web works
IDE Scanner Web provides public, version-specific security intelligence for VS Code-compatible extensions, plus private team review and monitoring. The main path is: visitors browse registry metadata and history, request a bounded Preflight or exact-version Deep Scan, and view a published report; teams can then record release decisions and monitor extensions. Deep Scans run the canonical Python engine on GitHub-hosted runners, with results returned through signed ingestion. The graph includes documented intelligence and workspace capabilities; unsampled subsystem links are omitted where their callers are not shown.
Main entry points: productData.ts Catalog and product data · route.ts Deep Scan API · cloudflareDeepScan.ts Cloudflare scan jobs · scanIngest.ts Scan result ingestion
Components 20
Discovery
- Catalog UI
app/InventoryClient.tsx - Catalog and product data
lib/productData.ts - Extension registry lookup
lib/marketplace.ts
Scan workflow
- Instant Preflight
app/api/scans/route.ts - Deep Scan API
app/api/deep-scans/route.ts - Scan orchestration
lib/deepScan.ts - Cloudflare scan jobs
lib/cloudflareDeepScan.ts - GitHub scan runners
- Scan result ingestion
lib/scanIngest.ts
Reports and intelligence
- Public scan reports
app/public-scan/page.tsx - Extension dossier
app/extensions/[id]/page.tsx - Evidence Intelligence
lib/evidenceIntelligence.ts
Team workspace
- Team review inbox
app/workspace/views/ReviewInbox.tsx - Team badges
app/api/teams/[id]/badges/route.ts - Monitoring notifications
app/api/cron/notifications/route.ts
Data and integrations
- Sarvam model API
- Cloudflare D1 registry
lib/cloudflareRegistry.ts - Cloudflare D1 private data
lib/cloudflarePrivate.ts - Supabase data and auth
lib/supabase.ts
Other components
- Visitor or reviewer
Connections 24
- Visitor or reviewer → Catalog UI: browses
- Catalog UI → Catalog and product data: requests inventory
app/InventoryClient.tsx - Catalog and product data → Extension registry lookup: resolves metadata
lib/productData.ts - Catalog and product data → Cloudflare D1 registry: reads registry
lib/productData.ts - Visitor or reviewer → Instant Preflight: requests preflight
- Visitor or reviewer → Deep Scan API: requests scan
- Deep Scan API → Scan orchestration: queues scan
app/api/deep-scans/route.ts - Deep Scan API → Cloudflare scan jobs: checks progress
app/api/deep-scans/route.ts - Cloudflare scan jobs → Extension registry lookup: checks support
lib/cloudflareDeepScan.ts - Cloudflare scan jobs → GitHub scan runners: dispatches job
lib/cloudflareDeepScan.ts - GitHub scan runners → Scan result ingestion: returns scan bundle
- Scan result ingestion → Supabase data and auth: publishes result
lib/scanIngest.ts - Scan result ingestion → Cloudflare D1 registry: publishes canonical result
- Visitor or reviewer → Public scan reports: views report
- Public scan reports → Catalog and product data: loads public data
- Visitor or reviewer → Extension dossier: reviews release
- Extension dossier → Evidence Intelligence: requests intelligence
- Evidence Intelligence → Sarvam model API: requests cited interpretation
- Visitor or reviewer → Team review inbox: reviews team evidence
- Team review inbox → Supabase data and auth: records decisions
- Visitor or reviewer → Team badges: manages badges
app/api/teams/[id]/badges/route.ts - Team badges → Scan orchestration: queues badge scan
app/api/teams/[id]/badges/route.ts - Monitoring notifications → Cloudflare D1 private data: reads queued deliveries
app/api/cron/notifications/route.ts - Monitoring notifications → Supabase data and auth: loads team alerts
app/api/cron/notifications/route.ts