DEV Community

Cover image for OFF.RED: The AI Command Center for Offensive Security & Smart Contract Auditing
Raymond Mck for Oxforddigitals

Posted on

OFF.RED: The AI Command Center for Offensive Security & Smart Contract Auditing

This is a submission for the MLH x DEV Writing Challenge

What I Built

Modern security teams and independent red-teamers face tool fragmentation: switching between terminal recon scripts, vulnerability databases, manual pentest spreadsheets, and isolated report-writing docs slows down critical assessments. At the same time, the explosion of Web3 smart contracts and AI agent workflows has introduced complex attack vectors that conventional linters completely miss.

To unify and modernize this workflow, I built OFF.RED — an all-in-one, AI-powered cybersecurity and red-team command console engineered for authorized security researchers, ethical hackers, and DevSecOps engineers.

Core Capabilities & The 6 Red-Team Agents

Inside the dedicated interactive workspace, OFF.RED fuses six specialized AI agents into a single offensive-security command line and web UI:

  1. Reconnaissance & Passive OSINT: Automated target mapping, domain enumeration, and passive reconnaissance strategy.
  2. Vulnerability Research & CVE Triage: Real-time correlation of target technology stacks with known vulnerabilities, PoC references, and exploit chains.
  3. Pentest Methodology Checklists: Interactive, structured audit checklists aligned with OWASP Top 10, NIST, and PTES standards to ensure complete test coverage.
  4. AI Report Writer: Converts raw terminal outputs, findings, and remediation notes into executive-ready, professional security assessment reports.
  5. Attack-Surface Monitoring: Continuous tracking workflows for external assets, certificate changes, and exposed ports.
  6. Smart-Contract Audit Scanner: A dual-engine Solidity auditor combining deterministic static heuristics with fine-tuned LLM reasoning (trained to detect reentrancy, access control bypasses, oracle manipulation, and share inflation).

Demo

Walkthrough of the Workflow:

$ offred init --mode offensive
> loading recon module......... ok
> loading vuln-research module.... ok
> loading pentest-checklist...... ok
> loading report-writer......... ok
> loading solidity-scanner...... ok
Enter fullscreen mode Exit fullscreen mode

From the central dashboard, an auditor can:

  1. Input target domains or contract source code.
  2. Run deep heuristic and LLM-assisted vulnerability scans with real-time severity ratings (Critical, High, Medium, Low).
  3. Access step-by-step remediation snippets (showing vulnerable input vs. hardened defensive code).
  4. Export comprehensive audit summaries and compliance reports directly to Markdown or PDF.

Partner Technologies

Building an enterprise-ready, low-latency offensive security platform required an agile, resilient tech stack:

  • Next.js (App Router) & React: Powers the responsive command center at oxforddigitals.com. Next.js server components and streaming route handlers allow the console to stream AI vulnerability analyses in real time without UI blocking.
  • GitHub & GitHub Actions: Automated CI/CD pipelines run linting, schema validation with Prisma, and security regression checks before deploying updates to production.
  • Cloudflare: Provides edge DDoS protection, DNS routing, and secure ingress tunneling (cloudflared) to safeguard our internal audit workers and APIs.
  • Prisma & Relational Database: Handles typed database persistence for saved pentest operations, user workspaces, audit logs, and scan histories.
  • Tailwind CSS & Radix UI: Delivers the sleek, dark-mode terminal aesthetic with accessible keyboard navigation and modular layout components.

Hackathon Experience

Building OFF.RED during the hackathon was an exhilarating deep dive into developer productivity and AI alignment:

  • The Vision & Atmosphere: Hackathons are about turning high-friction workflows into seamless experiences. Seeing how quickly modern software teams ship code underscored the urgent need for fast, automated security verification that matches developer velocity.
  • Key Challenges Overcome: The biggest hurdle was ensuring the AI engines produced zero hallucinations when identifying vulnerabilities. By combining deterministic pattern matching with specialized fine-tuned models, we grounded the agents strictly in verifiable invariants.
  • The Best Part: Launching the interactive terminal interface and seeing the full pipeline execute — from target initialization to generating an actionable, formatted vulnerability report — in seconds.

Huge thanks to Major League Hacking (MLH) and the DEV community for creating challenges that celebrate ambitious, real-world builder projects!

Top comments (0)