Back to Projects
Live Product · Full-Stack · IAM SaaS

Least by Juste™

Least Privilege. Proven.

Access review autopilot for Google Workspace. A production IAM SaaS that runs a 9-rule deterministic risk engine, enriches every finding with Claude AI, generates PDF audit reports, and runs automated daily scans — built solo from scratch in 2025–2026.

Least by Juste™ Dashboard

Architecture

LayerStackHost
FrontendNext.js 14 · Tailwind CSS · shadcn/uiVercel
Backend APIPython 3.13 · FastAPI · 10 routersRender
DatabaseSupabase PostgreSQL · 4 tablesSupabase
AuthSupabase Auth + PKCE OAuth 2.0 (Google)Google Cloud
AI LayerAnthropic claude-sonnet-4-6Anthropic API
EmailResend transactional emailResend
CronVercel Cron → Render admin endpointVercel + Render
BillingStripe (configured)Stripe

9-Rule Risk Engine

Pure deterministic Python functions — no ML, no model drift, no hallucinated findings. Every rule maps to a specific SOC 2 Trust Services Criteria.

Rule IDSeverityFindingSOC 2
RULE-001HIGHSuper Admin detectionCC6.3
RULE-002HIGHService account with admin privilegesCC6.6
RULE-003HIGHSuspended user retains group membershipsCC6.7
RULE-008HIGHShared account in production environmentCC6.1
RULE-004MEDIUMUser in excessive number of groupsCC6.3
RULE-005MEDIUMUser without MFA accessing sensitive dataCC6.6
RULE-006MEDIUMExternal user with internal accessCC6.7
RULE-007MEDIUMDormant service account (90+ days)CC6.1
RULE-009MEDIUMRole assigned outside standard groupCC6.3

Features

9-Rule Deterministic Risk Engine

Pure Python functions, no ML. 4 HIGH severity rules (RULE-001 through -003, -008) and 5 MEDIUM rules covering super admins, service accounts, group bloat, MFA gaps, dormant accounts, and more. Maps directly to SOC 2 CC6.x controls.

AI-Powered Explanations

Each risk finding is enriched with a plain-English explanation and remediation recommendation generated by Claude (claude-sonnet-4-6). Includes graceful fallback if the AI layer is unavailable — the deterministic engine always runs first.

Automated Daily Scans

Vercel Cron triggers a scan at 08:00 UTC every day. The cron endpoint calls the Render backend, which queries the Google Admin SDK, runs the risk engine, enriches findings, and stores results in Supabase. Email summary sent via Resend.

PDF Audit Reports

On-demand PDF generation using ReportLab. Reports include finding counts, risk breakdown, framework citations (SOC 2, ISO 27001), and per-finding details with AI recommendations. Generated in-memory, streamed to the browser.

PKCE OAuth 2.0 + Google Admin SDK

Three read-only Google Workspace scopes: Admin Directory users/groups/roles. PKCE flow with in-memory code_verifier cache keyed by user_id. Connected workspaces stored in tenant_connections table with one connection per user.

SOC 2-Aligned Evidence

Every finding cites specific SOC 2 Trust Services Criteria: CC6.1, CC6.3, CC6.6, CC6.7. Designed for SMBs preparing for their first SOC 2 audit who need automated access review evidence without a dedicated GRC team.

Full Stack

Python 3.13FastAPINext.js 14Tailwind CSSSupabasePostgreSQLGoogle Admin SDKClaude AI (claude-sonnet-4-6)ResendStripeVercelRenderPKCE OAuth 2.0ReportLab

Try it live

Connect your Google Workspace and run your first access review in under 10 minutes.

Open Least by Juste™