Case study · M.S. Computer Science capstone

NestShield: an AI security assistant that non-technical people actually use

Most home users can't act on security advice written for professionals. NestShield scans their network, explains what it finds in plain language, and rewards them for fixing it, with every model and every byte of data staying on their own device.

Role
Researcher, designer, and engineer
Defended
February 26, 2026
Institution
Full Sail University

Results

+54.2 ptsRansomware comprehension, from 33.3% to 87.5% correct
75%Voluntary remediation rate, driven by gamification
6.4 / 7User trust score for the local-first design
93%Preferred on-device processing over cloud alternatives

Pre/post intervention study

01 · The problem

Security guidance is written for experts, and cloud tools ask users to trade away privacy

Non-technical users face the same threats as companies with none of the vocabulary. Existing tools either bury them in jargon or send their network data to a vendor's cloud. I set out to test whether three ideas together could close that gap: explainable AI that teaches as it answers, game mechanics that turn advice into action, and an architecture that never asks users to give up their data.

02 · Architecture

Everything runs on the user's machine

  1. React + TypeScript UIDashboard, XP and ranks, Threat Radar
  2. FastAPI backendAsync API, WebSockets for live scans and streamed answers
  3. AEGIS assistantFine-tuned Mistral 7B with retrieval-augmented generation
  4. ChromaDB vector storeNIST 800-53 and OWASP Top 10, embedded locally
No cloud dependencies: inference, scanning, and storage all happen on-device.

03 · Engineering decisions

Three problems worth showing

Knowledge ingestion

A Python pipeline parsed 600+ pages of standards into 2,068 overlapping chunks in 39.1 seconds. Profiling showed the job is memory-bound, with a ~733 MB spike from the embedding model.

A render loop at 100% CPU

A global state listener caused a React race condition. Moving message state into a ref-based latch cut interaction latency to 16 ms and returned the CPU to idle.

Fail-safe by design

When a corrupt ISO 27001 PDF failed to parse, the pipeline logged the error and kept ingesting NIST and OWASP sources instead of crashing.

04 · Findings

What the study showed

  1. Knowledge. AI explanations improved comprehension most on complex topics like ransomware.
  2. Behavior. Gamification drove a 75% remediation rate, though some motivated users still lacked the means to act.
  3. Trust. Local-first processing earned a 6.4/7 trust score, and trust rose after people used the system.

What I'd do differently

  • Ship an installer instead of a PyInstaller bundle, which broke ChromaDB's dynamic dependencies.
  • Pair motivation with assisted remediation so users can fix issues in one step.
  • Reduce installation friction, the main cause of participant drop-off.

05 · Build log

Development journal

  1. Feb 26, 2026 · Defense Thesis defense: validating XAI, gamification, and local-first architecture A 60-minute defense with a live demo of AEGIS explanations, gamification, and the Threat Radar.
  2. Feb 1, 2026 · Milestone 10 Engineering intelligence: performance profiling and adaptive AI An adaptive persona that shifts from analogies to technical language as users level up.
  3. Dec 21, 2025 · Milestone 6 From concept to execution: profiling the knowledge engine Building and stress-testing the RAG ingestion pipeline.
  4. Nov 23, 2025 · Milestones 1 to 5 Laying the foundation: research and architecture Scoping the problem and mapping the first architecture.