Authorized repository intelligence
Root containment and bounded reads constrain inspection. Python and JavaScript/TypeScript adapters extract source relationships without running the target modules.
Original project / Swayom Sharma
Defensive Repository Security & Patch Review
Follow the evidence.
Review the change.
Authorized repository analysis with read-only source intelligence, evidence-backed security findings, auditable triage, and separately controlled patch-review workflows.

01 / Genuine project captures
Actual captures from the current local implementation. Select a view, then enlarge it to read the interface or response in full.
Persisted findings and scan activity from an intentionally vulnerable disposable repository. Counts describe this local demonstration only.
Use ← → to explore. Enlarge any capture for a closer look.
Application walkthrough
Explore each stage through its real screen. Later stages require operator configuration; selecting a stage does not execute an operation.
Recorded demonstration
A silent capture of the running project, with explanatory English captions. The recording preserves actual UI states and their stated limitations.
02 / Project overview
PatchGuard treats repository contents as untrusted input. It admits source only beneath configured roots, builds read-only code intelligence, and runs configured defensive checks without importing the target application.
Findings link back to evidence and scanner records. Triage and suppression retain a rationale and history, while patch proposals are separate review artifacts rather than automatic edits to registered source.
The redesigned React console connects these services through twelve implemented screens and detail views. The capture fixture contains deliberately unsafe eval and subprocess patterns; its real findings are demonstration evidence, never production vulnerability statistics.
03 / Capabilities & evidence
Root containment and bounded reads constrain inspection. Python and JavaScript/TypeScript adapters extract source relationships without running the target modules.
The real scanner run inspected unsafe eval and subprocess shell execution in the authored Python fixture. Findings retain location, rule and supporting evidence.
Manifest inventory, configuration checks and secret detection complement source analysis. Secret scanning requires an operator fingerprint key and stores redacted evidence; it was SKIPPED in this capture. Advisory matching uses an explicitly supplied, reviewed offline snapshot; missing snapshots do not become successful scans.
Finding transitions and suppressions require reasons. Expiry and history preserve an inspectable record rather than silently removing the underlying issue.
Review-only planning and configured model-backed generation can produce bounded proposed changes. No generated diff is shown without a real configured provider and actual artifact.
A configured Docker image can verify a proposed diff offline. Materialization and explicitly confirmed application target separate review workspaces and linked Git worktrees, with guarded backup/rollback.
04 / Technical architecture
React 19, TypeScript and React Router render real API records. FastAPI serves the Vite build; browser access uses opaque HttpOnly sessions and same-origin mutation checks.
RepositoryBoundary admits only explicitly allowed paths; bounded readers treat source as data.
Python/JS/TS intelligence and configured checks produce scanner records. Unavailable optional tools retain SKIPPED/FAILED states.
SQLAlchemy persists scans, dependencies, findings, triage decisions and suppression history.
Plans → configured generation → optional container verification → review workspace. Linked-worktree application needs explicit operator confirmation.
The captured path covers real repository inspection, source scanning, dependencies and findings. Provider-backed diffs, container verification and linked-worktree promotion were not fabricated to fill the gallery.
05 / Verified technology
Twelve implemented console screens, API-backed detail views, Geist and JetBrains Mono.
CLI and typed API expose the defensive workflow.
Source intelligence and pinned dependency interpretation without application execution.
Disposable SQLite holds the capture scan and its real finding evidence.
External tools are opt-in; image availability and configuration are explicit requirements.
06 / Security & boundaries
Controls described here are implementation details, not a blanket security certification.
The console exchanges the operator token for an opaque HttpOnly, SameSite=Strict session cookie. Browser mutations check origin; credentials never enter this portfolio.
Built-in checks inspect bounded source as data. Optional external scanners require configured local Docker images, with bounded execution and no host fallback.
Secret findings retain redacted evidence. Sensitive source context blocks patch generation, and verification snapshots exclude recognized secret files. Redaction has finite coverage.
Explicit CLI promotion targets an authorized linked worktree after exact patch-ID confirmation and source-hash checks. Rollback refuses to overwrite a target changed since application.
Only allowlisted source roots are admitted. The capture uses an intentionally vulnerable disposable fixture, never a private checkout.
Indexing does not import target modules. Proposed fixes are separate artifacts; ordinary scans do not apply changes to registered source.
Verification, workspace materialization and linked-worktree application are separate steps. Explicit confirmation and hash/state checks constrain application and rollback.
Production/non-loopback API operation requires a configured shared token. That is a single-operator credential, not tenant-level identity; source evidence and logs still require review.
07 / Development status
Reviewed 18 October 2026. Captures show the latest local React console, including uncommitted frontend and API integration beyond the linked backend commit. Those UI files may not yet appear on GitHub.
Source baseline: 3de4ee8 ↗. Source inspection, local demonstration and production verification are different evidence levels.
08 / Source references
Continue exploring
Read the source, explore another project, or discuss the engineering.