Skip to content

BugStore

BugStore

BugStore is a deliberately vulnerable e-commerce application designed as a practice target for BugTraceAI. It provides a realistic web application with intentionally planted security vulnerabilities, allowing users to test and benchmark the scanning pipeline against known issues.

Live instance: bugstore.bugtraceai.com


What is BugStore?

BugStore simulates a typical e-commerce platform (product listings, user accounts, shopping cart, forums) with 32 tracked security vulnerabilities spanning all major vulnerability classes. It serves two purposes:

  1. Practice target — Learn how BugTraceAI works by scanning a real application with known vulnerabilities
  2. Benchmarking — Measure scanner detection rates against a controlled set of V-IDs (vulnerability identifiers)

Tech Stack

LayerTechnology
BackendFastAPI (Python)
FrontendVite + React + Tailwind CSS
DatabaseSQLite
ThemeDark “hive” theme (purple/coral palette)

Vulnerability Coverage

BugStore contains 32 tracked vulnerabilities (V-001 through V-032) across these categories:

CategoryCountExamples
SQL Injection9Login bypass, search injection, cookie-based SQLi
Cross-Site Scripting (XSS)7Reflected, stored (forum posts, reviews), DOM-based
IDOR3Order access, profile data, admin endpoints
Broken Access Control3Admin panel, role escalation, endpoint protection
Local File Inclusion2Path traversal, Nginx misconfiguration
Remote Code Execution2Command injection, insecure deserialization
CSTI1Client-side template injection
JWT Weaknesses1Weak signing secret
Open Redirect1URL parameter redirect
Prototype Pollution1Client-side via legacy JavaScript
GraphQL1Introspection enabled
Security Misconfigurations9+Missing headers, verbose errors, debug endpoints

Detection Benchmarks

Best BugTraceAI scan results against BugStore:

MetricValue
V-IDs detected19 out of 24 testable = 79.2%
Total findings145 (43 validated)
Vulnerability types foundSQLi, XSS, IDOR, BAC, LFI, RCE, CSTI, JWT, Open Redirect, Prototype Pollution, GraphQL, Misconfig

Note: These figures come from an earlier scanner build and have not yet been re-verified against a current CLI 3.7.12 scan. Treat them as indicative and re-run a full BugStore scan to confirm the current detection rate before citing these numbers.

Remaining Detection Gaps

V-IDVulnerabilityWhy It’s Hard
V-027SSTI in email previewRequires POST + admin authentication
V-026Header InjectionNon-standard injection point
V-023Mass AssignmentRequires specific field knowledge
V-024Information DisclosureSubtle data leakage patterns

Re-verification needed: This gap list predates the current scanner. Interim detection work has since landed for V-023 (Mass Assignment) and V-026 (Header Injection) — both now have dedicated specialist agents (see Specialist Agents). Their status here has not been re-confirmed against a CLI 3.7.12 scan and should be re-tested rather than assumed still-missing.


Running BugStore Locally

BugStore is included in the BugTraceAI repository:

Terminal window
cd BugStore
pip install -r requirements.txt
python -m uvicorn src.main:app --host 0.0.0.0 --port 9000
# In a separate terminal
cd BugStore/frontend
npm install
npm run dev

Demo Report

A complete scan report from BugStore is available:


See also: Scanning Pipeline | Specialist Agents | Getting Started