Confidential Computing · Core Systems
LOCAL AI · ZERO TRUST · FLAGSHIP
Mizan · Confidential Legal AI
Every legal AI platform decrypts your data on a server they control. Mizan eliminates that attack surface entirely: the AI model runs locally on the lawyer's machine. Documents, queries, and client matters never leave the device. Zero bytes sent. The most comprehensive Canadian legal knowledge base of any offline-capable legal AI, with coverage across federal and provincial legislation. No cloud endpoint to compromise, no network hop to intercept, no server-side decryption window. Explore the interactive threat model to see how the architecture holds up.
Zero Trust Architecture
Local Inference
Offline-Capable
Legal AI
Python · Flask
React
AZURE TEE · E2E ENCRYPTED AI
Lexora · E2E Encrypted AI Platform
Built the full encrypted pipeline between user and AI on Azure Confidential Computing. Messages are encrypted client-side using WebCrypto AES-256-GCM with PBKDF2-derived keys stored in IndexedDB · ciphertext travels to the server, is decrypted inside the Azure TEE boundary, processed by the AI, and re-encrypted before leaving the enclave. Plaintext never exists outside the TEE. MongoDB stores only ciphertext · no plaintext is ever written to the database. Azure attestation endpoint integration confirms enclave integrity before any key material is used. Rate limiting, DDoS protection, and session isolation across the full stack.
Azure Confidential Computing
WebCrypto AES-256-GCM
PBKDF2 Key Derivation
Azure Attestation
Node.js
OPEN-SOURCE · ENCRYPTED LOCAL AI
Wazier · Zero-Trust Local AI
An open-source AI desktop app that runs entirely on-device with no cloud, no telemetry, and no data harvested. Every conversation is encrypted at rest with AES-256-GCM and stored in a local vault. Two separate encrypted stores: a 7-day auto-expiring chat vault and a permanent document vault with local RAG via nomic-embed-text embeddings. Zero bytes leave the machine after setup. If you won't trust a privacy claim without proof, clone it and run it airgapped.
AES-256-GCM
Local RAG
Zero Trust
Electron
Node.js
Open Source
Security Research & Tooling
AWS NITRO ENCLAVES · SECURITY TOOLING
Nitro Attestation Verifier
Client-side CLI tool and Python library for cryptographically verifying AWS Nitro Enclave attestation documents. Parses COSE_Sign1 and CBOR attestation structures, validates PCR0/1/2 against pinned baseline values, and inspects the X.509 certificate chain back to the AWS Nitro root CA. Three verification modes: descriptive inspection, pin-check against known-good baselines, and JSON output for CI/CD pipeline integration.
AWS Nitro Enclaves
COSE · CBOR
PCR Validation
X.509 · Certificate Chain
Attestation
Python
NETWORK ANALYSIS · PYTHON
Scapy Packet Sniffer
Local packet capture tool that performs layer-by-layer dissection from Ethernet through IP to TCP/UDP/ICMP. Detects and parses HTTP, DNS, SMTP, and FTP traffic in real time · outputs hex and ASCII payload representations with configurable per-protocol filters.
Python
Scapy
Network Analysis
Protocol Dissection
TCP/IP
APPLIED CRYPTOGRAPHY · PYTHON
Consent-Gated Keystroke Auditor
Local keystroke audit tool built for security research. Requires explicit consent before capture begins · logs keystrokes encrypted at rest using Fernet (AES-128-CBC) with the key file stored at chmod 600. Includes a separate decryption utility for log review. Designed to demonstrate the architectural difference between a malicious keylogger and a consented audit tool.
Python
Fernet · AES-128
Applied Cryptography
pynput
AWS NITRO ENCLAVES · SUPPLY CHAIN
PCR Baseline Diff
Diagnostic tool for Nitro Enclave attestation drift. When a KMS key policy starts rejecting decryption requests because PCR values changed unexpectedly, this tool diffs two EIF files, walks the binary section table, and attributes the drift to a specific build input · down to the exact Dockerfile layer. What would otherwise require manual bisecting collapses into one command. CI gate via exit codes: 0 for clean, 1 for identified drift, 2 for unattributed drift.
AWS Nitro Enclaves
PCR Analysis
Supply Chain Integrity
EIF Format
Python
SUPPLY CHAIN SECURITY · CI/CD
Build Provenance Verifier
Deploy time gate for container supply chain integrity. Verifies that an image is signed by an allowed identity, carries a SLSA provenance attestation, was built by an allowed builder, and originates from an allowed source repository. Designed to run as a CI step before deploy or wired into a Kubernetes admission controller. The third leg of the supply chain story behind Mizan and Lexora · alongside the attestation verifier and PCR baseline diff.
SLSA Provenance
Cosign · Sigstore
Supply Chain Integrity
Kubernetes
Python
AI/ML SECURITY · PYTHON
Prompt Injection Fuzzer
Black box fuzzer for LLM endpoints. Sends a corpus of prompt injection payloads across 8 attack categories · direct override, role confusion, encoding smuggling, indirect injection, tool abuse, prompt leak, jailbreak, and gradual escalation · scores each response for compromise indicators, and produces a CI compatible pass/fail report. Supports custom corpora and works against both Anthropic and OpenAI format endpoints. Built to catch system prompt regressions before they ship.
Prompt Injection
LLM Security
Fuzzing
AI/ML Security
Python
Production Systems · Security in Practice
CLIENT PLATFORM · LIVE IN PRODUCTION
MassRealty Inc. · Secured Production Platform
The complete web platform I designed and built for a registered Ontario brokerage, live and in daily use. Security is in the plumbing: passwords hashed with scrypt (random salt, 64-byte derived key) and verified with timing-safe comparison to prevent timing attacks. JWT sessions use HttpOnly, Secure, SameSite=Lax cookies. Agent and admin auth use HMAC-SHA256 signed tokens with timingSafeEqual. Per-endpoint rate limiting via Upstash Redis sliding window (login: 10/min, signup: 5/min, contact: 3/min, search: 30/min). Image uploads validated by magic byte signatures, not client-supplied MIME types. OData queries escape single quotes to prevent injection. Cloudflare Turnstile CAPTCHA on signup blocks bot account creation. Cron endpoints gated by CRON_SECRET bearer tokens. HTML output escapes &, ", ', <, > to prevent XSS. All API keys in environment variables, all external calls timeout at 2.5 seconds. Audited the platform against the PropTx IDX Data Agreement and removed an AI chat feature prohibited under Section 6.2(k). Re-engaged in April 2026 to build the company's second site.
scrypt · Timing-Safe Auth
HMAC-SHA256 Tokens
Redis Rate Limiting
OData Injection Prevention
Magic Byte Upload Validation
Turnstile CAPTCHA
JavaScript · Node.js
Vercel · Serverless
LEGAL TECH · DATABASE SECURITY
CounselConnect
AI-powered legal marketplace co-founded and incubated at the Legal Innovation Zone at Toronto Metropolitan University. Managed MongoDB databases including security updates, data integrity testing, and disaster recovery protocols. Led product from ideation through production over 5 years, coordinating technical roadmap and sprint deliverables alongside the engineering co-founder.
Database Security
Disaster Recovery
MongoDB
Node.js
Legal Innovation Zone · TMU