Documentation v1.0

Intelligent Analysis

LumeScan is a professional-grade security auditing workstation designed to identify vulnerabilities in GitHub repositories using advanced AI analysis. Streamline your audit process with automated classification and actionable remediation plans.

Security First

Built with a focus on detecting logic flaws, sensitive data leaks, and configuration errors.

Real-time Analysis

Streaming analysis results via NDJSON for immediate feedback and responsiveness.

System Architecture

A high-level overview of the LumeScan data flow and component integration.

Workstation
Next.js Frontend
LumeScan API
FastAPI Backend
AI Engine
Groq LPU + Bytéz
1

Frontend initiates scan with repository metadata

2

API fetches repository tree and classifies security targets

3

API streams file-by-file security analysis results

4

Workstation renders findings in real-time Matrix UI

Primary Engine (Groq LPU)

Audits are primarily handled by the Llama 3.3 (70B) engine on Groq's high-speed LPU infrastructure, delivering near-instant streaming reasoning responses (sub-second token generation).

Fallback Engine (Bytéz Serverless)

For exceptionally large configuration matrices (e.g. package-lock.json) or under extreme rate-limiting (413/429 limits), the backend transparently falls back to a Bytéz serverless instance running Qwen 2.5 Coder (32B) to guarantee completion.

Seamless Flow

Authentication

Currently, the LumeScan Public API is in open preview. No authentication is required for basic repository scanning. Rate limits apply based on IP address to ensure system stability for all researchers.

GET/api/v1/search/repos

Search for GitHub repositories with prioritized auto-completion.

Query Params: q (string) - Min 2 characters.
POST/api/v1/scan/init

Initializes the scanning process and returns classified file tree metadata.

Payload
{
  "repo_url": "owner/repo",
  "offset": 0
}
Response
{
  "files_found": [...],
  "metadata": {...}
}
POST/api/v1/scan/analyze

Streams real-time analysis results for specific security targets.

Critical: This endpoint utilizes HTTP Streaming (NDJSON). Results are yielded as they are generated by the AI core. Implement a buffer on your client to handle varying stream speeds.

Actionable Intel

LumeScan supports browser-based deep linking for seamless integration into your security workflow. Trigger audits instantly by navigating to specific repository paths.

Protocol FormatLive Support
lumescan.vercel.app/owner/repo
Example: lumescan.vercel.app/nextjs/next.js