<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Bhargav Kumar</title>
    <description>The latest articles on DEV Community by Bhargav Kumar (@bhargav3509).</description>
    <link>https://dev.to/bhargav3509</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F99mvlsfu5tfj9m7ku25d.png</url>
      <title>DEV Community: Bhargav Kumar</title>
      <link>https://dev.to/bhargav3509</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/bhargav3509"/>
    <language>en</language>
    <item>
      <title>ShieldOne</title>
      <dc:creator>Bhargav Kumar</dc:creator>
      <pubDate>Fri, 23 Oct 2026 10:25:45 +0000</pubDate>
      <link>https://dev.to/bhargav3509/shieldone-1jam</link>
      <guid>https://dev.to/bhargav3509/shieldone-1jam</guid>
      <description>&lt;h2&gt;
  
  
  1. Executive Summary &amp;amp; Core Mission
&lt;/h2&gt;

&lt;p&gt;Modern cybersecurity has historically suffered from a critical divide:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Enterprise SIEM/SOC platforms&lt;/strong&gt; (such as Splunk, IBM QRadar, or Microsoft Sentinel) cost upwards of tens of thousands of dollars per year, demand dedicated infrastructure, and overwhelm tier-1 analysts with alert fatigue.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Everyday internet users, students, and senior citizens&lt;/strong&gt; face unprecedented waves of targeted cyber threats—including &lt;strong&gt;Digital Arrest impersonation scams&lt;/strong&gt;, &lt;strong&gt;fake electricity bill SMS disconnection threats&lt;/strong&gt;, &lt;strong&gt;part-time job Telegram traps&lt;/strong&gt;, and &lt;strong&gt;fraudulent bank KYC links&lt;/strong&gt;—with zero access to diagnostic tools before transferring money or revealing credentials.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;ShieldOne bridges this divide.&lt;/strong&gt; It is a single, unified, dual-spectrum platform that delivers:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Tier A (Enterprise SOC Operations):&lt;/strong&gt; Sub-second real-time attack telemetry, global interactive threat cartography, live anomaly risk scoring, automated 1-click LLM incident triage, deep indicator analysis, and continuous compliance monitoring.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tier B (Citizen Cyber Shield):&lt;/strong&gt; Free, plain-language AI scam message diagnostics, SSRF-hardened URL vulnerability inspection, step-by-step crisis response playbooks, and direct integration with India’s &lt;strong&gt;1930 National Cybercrime Helpline&lt;/strong&gt; and &lt;strong&gt;cybercrime.gov.in&lt;/strong&gt; reporting framework.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  2. High-Level System Architecture
&lt;/h2&gt;

&lt;p&gt;ShieldOne is designed around a reactive, micro-service-ready decoupled architecture that operates seamlessly under both online cloud environments and offline zero-dependency development environments.&lt;br&gt;
&lt;/p&gt;

&lt;pre data-lang="mermaid"&gt;&lt;code&gt;graph TD
    subgraph Client Layer [Frontend - React 18 + Vite]
        Landing[Landing Page &amp;amp; Plan Selection]
        Auth[Auth Container: Register / Login / OTP / Reset]

        subgraph ProMode [Enterprise Mode]
            SocDash[SOC Real-Time Dashboard]
            AttackMap[Leaflet Global Threat Map]
            AttackChart[Attack Distribution Radar/Chart]
            AIAnalyzer[AI Attack Analyzer IOC Triage]
            ThreatIntel[CISA KEV &amp;amp; Feed Intel View]
            Incidents[Escalations &amp;amp; MTTR/MTTD Tracking]
            Endpoints[Endpoints Health &amp;amp; Vulnerabilities]
            Compliance[Compliance Scorecard SOC2/ISO/GDPR]
            SocBot[SOC Assistant Chatbot]
        end

        subgraph PersonalMode [Citizen Tier]
            ScamCheck[Indian Scam Message Analyzer]
            UrlCheck[SSRF-Hardened URL Scanner]
            ScamResp[Guided Crisis Response &amp;amp; 1930 Integration]
            CitizenBot[Plain-Language Cybersecurity Assistant]
            History[Local Persisted Audit History]
        end
    end

    subgraph Backend Layer [Node.js + Express 5 + Socket.io]
        WSServer[Socket.io WebSocket Broadcast Server]
        AuthEngine[Auth &amp;amp; OTP Engine + Rate Limiter &amp;amp; Lockout]
        SSRFDefense[SSRF Guard &amp;amp; Dangerous IP Blocklist]
        ThreatAggregator[Threat Intelligence Aggregator Engine]
        AIEngine[AI Pipeline via OpenRouter - Gemini 2.5 Flash]
    end

    subgraph Threat Feeds [Real-Time External Threat Intelligence]
        Feodo[Abuse.ch Feodo Tracker - Botnet C2]
        MalwareBazaar[Abuse.ch MalwareBazaar - Samples]
        ThreatFox[Abuse.ch ThreatFox - Active IOCs]
        CISAKEV[CISA Known Exploited Vulnerabilities]
        DShield[SANS ISC / DShield - Top Attacker IPs]
    end

    subgraph External Services
        OpenRouter[OpenRouter API / Google Gemini 2.5 Flash]
        GmailSMTP[Nodemailer / Gmail SMTP OTP Dispatch]
        Supabase[(Supabase Cloud Database &amp;amp; Auth)]
    end

    %% Connections
    ClientLayer &amp;lt;--&amp;gt;|WebSocket: 'dashboardData'| WSServer
    ClientLayer &amp;lt;--&amp;gt;|REST APIs &amp;amp; HTTPS| BackendLayer
    BackendLayer --&amp;gt;|Fetch Every 30 mins| ThreatFeeds
    AIEngine &amp;lt;--&amp;gt;|Prompt &amp;amp; JSON Payload| OpenRouter
    AuthEngine --&amp;gt;|6-Digit OTP Delivery| GmailSMTP
    AuthEngine &amp;lt;--&amp;gt;|User Profile &amp;amp; Sessions| Supabase&lt;/code&gt;&lt;/pre&gt;






&lt;h2&gt;
  
  
  3. Dual-Tier Functional Breakdown
&lt;/h2&gt;

&lt;h3&gt;
  
  
  3.1. Enterprise SOC Operations (Professional Mode)
&lt;/h3&gt;

&lt;p&gt;Designed for Security Operations Center (SOC) engineers, incident responders, and network administrators:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Sub-Second Live Attack Telemetry (&lt;code&gt;/attacks&lt;/code&gt;, WebSocket &lt;code&gt;dashboardData&lt;/code&gt;):&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;The backend runs a continuous attack simulation engine emitting fresh security events every 2,000ms.&lt;/li&gt;
&lt;li&gt;Attack events are directly enriched with active Indicators of Compromise (IOCs) from loaded Abuse.ch and DShield threat feeds.&lt;/li&gt;
&lt;li&gt;Events maintain a rolling 50-item FIFO buffer with metadata: IP address, attack category (e.g., Malware C2, Botnet, Brute Force, Port Scan), severity (&lt;code&gt;low&lt;/code&gt;, &lt;code&gt;medium&lt;/code&gt;, &lt;code&gt;high&lt;/code&gt;), real-time coordinates (&lt;code&gt;lat&lt;/code&gt;/&lt;code&gt;lng&lt;/code&gt;), and country code.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Interactive Global Threat Cartography (&lt;code&gt;AttackMap.jsx&lt;/code&gt;):&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Rendered using &lt;strong&gt;Leaflet&lt;/strong&gt; with high-performance dark-matter tile layers from Esri ArcGIS.&lt;/li&gt;
&lt;li&gt;Dynamically plots incoming attacks across world coordinates with severity-colored pulse markers and popup inspection modals.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Dynamic Anomaly Gauge &amp;amp; Adaptive Risk Score (&lt;code&gt;RiskGauge.jsx&lt;/code&gt;, &lt;code&gt;App.jsx&lt;/code&gt;):&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Evaluates a mathematically derived risk score ($0–100$) based on rolling event volume, severity distribution weights ($+5$ for high, $+3$ for medium, $+1$ for low), and sudden threshold anomalies ($&amp;gt;5$ high-severity attacks triggers an immediate anomaly banner and $+25$ risk penalty).&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;1-Click AI Incident Triage (&lt;code&gt;/ai-explain&lt;/code&gt;):&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Allows analysts to click any alert in the live feed to receive immediate, 2-3 sentence technical threat assessments and immediate containment recommendations generated by &lt;strong&gt;Google Gemini 2.5 Flash&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AI Attack Analyzer — Flagship IOC Investigation (&lt;code&gt;AttackAnalyzerTab.jsx&lt;/code&gt;, &lt;code&gt;/ai-attack-analyzer&lt;/code&gt;):&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Accepts any IP, domain, hash, URL, or CVE ID.&lt;/li&gt;
&lt;li&gt;Performs concurrent $O(1)$ lookup across loaded in-memory threat datasets (&lt;code&gt;feodoIPSet&lt;/code&gt;, &lt;code&gt;threatFoxIPSet&lt;/code&gt;, &lt;code&gt;threatFoxDomainSet&lt;/code&gt;, &lt;code&gt;dshieldIPSet&lt;/code&gt;, and &lt;code&gt;cisaKevPool&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;If a CVE is entered (e.g., &lt;code&gt;CVE-2024-3400&lt;/code&gt;), it cross-references the official CISA KEV catalog for ransomware campaign ties and mandatory remediation deadlines.&lt;/li&gt;
&lt;li&gt;Synthesizes findings via Gemini 2.5 Flash into an enterprise-grade investigation playbook with risk tiering, observed attacker objectives, investigation steps, mitigation steps, and uncertainty caveats.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Incident Escalation &amp;amp; MTTR/MTTD Tracking (&lt;code&gt;IncidentsTab.jsx&lt;/code&gt;, &lt;code&gt;/incidents&lt;/code&gt;):&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Automated escalation pipeline: high-severity attacks trigger ticket creation (e.g., &lt;code&gt;INC-1004&lt;/code&gt;) assigned to active analysts (Alex T., Sam R., Jordan K.).&lt;/li&gt;
&lt;li&gt;Tracks live &lt;strong&gt;MTTD&lt;/strong&gt; (Mean Time To Detect) and &lt;strong&gt;MTTR&lt;/strong&gt; (Mean Time To Respond).&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Regulatory Compliance Tracking (&lt;code&gt;ComplianceTab.jsx&lt;/code&gt;, &lt;code&gt;/compliance&lt;/code&gt;):&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Real-time audit dashboard measuring readiness against &lt;strong&gt;SOC 2 Type II&lt;/strong&gt;, &lt;strong&gt;ISO 27001&lt;/strong&gt;, &lt;strong&gt;GDPR&lt;/strong&gt;, and &lt;strong&gt;PCI DSS&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Monitored Endpoints &amp;amp; UEBA (&lt;code&gt;EndpointsTab.jsx&lt;/code&gt;, &lt;code&gt;/endpoints&lt;/code&gt;, &lt;code&gt;/ueba&lt;/code&gt;):&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Displays real-time operating system health, pending patches, and vulnerability counts across enterprise assets (&lt;code&gt;WKST-001&lt;/code&gt;, &lt;code&gt;SRV-DB-01&lt;/code&gt;, etc.).&lt;/li&gt;
&lt;li&gt;UEBA module monitors anomalous SSH brute-force attempts and Tor exit node traversals.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;




&lt;h3&gt;
  
  
  3.2. Citizen Cyber Shield (Personal Mode)
&lt;/h3&gt;

&lt;p&gt;Tailored specifically for non-technical users, university students, and consumers in India to combat escalating social engineering fraud:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Indian Scam Message Analyzer (&lt;code&gt;/scam&lt;/code&gt;, &lt;code&gt;/personal/analyze-message&lt;/code&gt;):&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Analyzes raw message text from SMS, WhatsApp, Telegram, or email.&lt;/li&gt;
&lt;li&gt;Features built-in one-click test samples covering real-world cyber fraud:

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Digital Arrest Scam:&lt;/strong&gt; Trai/Police impersonation claiming illegal parcels containing contraband.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Electricity Bill Fraud:&lt;/strong&gt; Urgency-driven threats of power disconnection tonight at 9:30 PM.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Part-Time Work-From-Home Scam:&lt;/strong&gt; YouTube like-and-earn schemes with Telegram redirects.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;SBI KYC Expiration:&lt;/strong&gt; Fake NetBanking block alerts with malicious phishing links.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Outputs structured, actionable diagnostics:

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Verdict&lt;/strong&gt; (&lt;em&gt;Likely Scam&lt;/em&gt;, &lt;em&gt;Suspicious&lt;/em&gt;, &lt;em&gt;Likely Legitimate&lt;/em&gt;)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Confidence &amp;amp; Risk Level&lt;/strong&gt; (&lt;em&gt;High / Medium / Low&lt;/em&gt;)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Warning Signs Found in This Specific Message&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Legitimacy Indicators &amp;amp; Verifiable Facts&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Specific Evidence Quotes&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;What the Scammer is Seeking&lt;/strong&gt; (e.g., OTP, money transfer, remote desktop installation)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Plain-language Actionable Advice&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;SSRF-Hardened URL Safety Checker (&lt;code&gt;/url&lt;/code&gt;, &lt;code&gt;/personal/check-url&lt;/code&gt;):&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Inspects URLs before users click them.&lt;/li&gt;
&lt;li&gt;Combines deterministic checks (protocol security, brand impersonation for PayPal/Google/Amazon/Banks, excessive subdomain analysis) with live Abuse.ch ThreatFox domain blocklists.&lt;/li&gt;
&lt;li&gt;Produces clear, plain-language summaries without falsely claiming that HTTPS equates to legitimacy.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Guided Crisis Response Workflow (&lt;code&gt;/response&lt;/code&gt;, &lt;code&gt;/personal/scam-response&lt;/code&gt;):&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Step-by-step emergency playbooks for five distinct crisis scenarios:

&lt;ol&gt;
&lt;li&gt;&lt;em&gt;“I clicked a suspicious link”&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;“I shared credentials or my password”&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;“I made a payment to what may be a scam”&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;“I received a suspicious message”&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;“I think my device is infected with malware”&lt;/em&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Generates immediate checklists, evidence to document, critical actions to avoid, and short-term remediation.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Context-Aware Crisis Follow-up Chat (&lt;code&gt;/personal/scam-chat&lt;/code&gt;):&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Dedicated conversational session that maintains memory of the user’s reported incident type to answer calm, realistic questions without technical jargon.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Indian Cybercrime Defense Infrastructure Integration:&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Helpline 1930 Integration:&lt;/strong&gt; 24/7 direct prompt to report financial fraud within the critical “golden hour” to freeze stolen funds in recipient accounts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;National Cybercrime Reporting Portal (&lt;code&gt;cybercrime.gov.in&lt;/code&gt;):&lt;/strong&gt; Guided links and evidence preparation for formal FIR/complaint filing under Section 66D of the IT Act.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;RBI Sachet (&lt;code&gt;sachet.rbi.org.in&lt;/code&gt;):&lt;/strong&gt; Redressal path for unauthorized lending apps and fraudulent financial entities.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;TRAI 1909:&lt;/strong&gt; Direct instructions for reporting SMS headers and spam senders to mobile operators.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Local Browser-Persisted Audit History (&lt;code&gt;/history&lt;/code&gt;):&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Stores all scanned messages, URLs, timestamps, and verdicts locally in browser &lt;code&gt;localStorage&lt;/code&gt; without cloud tracking, allowing users to re-review prior checks or clear history.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  4. Real-Time Threat Intelligence Ingestion Engine
&lt;/h2&gt;

&lt;p&gt;A foundational differentiator of ShieldOne is its autonomous threat ingestion engine running in server.js. On boot and every 30 minutes thereafter (&lt;code&gt;setInterval&lt;/code&gt;), it ingests live feeds from global authoritative bodies:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Feed Name&lt;/th&gt;
&lt;th&gt;Source / Provider&lt;/th&gt;
&lt;th&gt;Data Type Ingested&lt;/th&gt;
&lt;th&gt;ShieldOne Utilization&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Feodo Tracker&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Abuse.ch&lt;/td&gt;
&lt;td&gt;Active Botnet C2 IPs (JSON blocklist)&lt;/td&gt;
&lt;td&gt;Attack generator &amp;amp; AI analyzer lookup (&lt;code&gt;feodoIPSet&lt;/code&gt;)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;MalwareBazaar / URLhaus&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Abuse.ch&lt;/td&gt;
&lt;td&gt;Recent malware signatures &amp;amp; delivery URLs&lt;/td&gt;
&lt;td&gt;Attack sample simulation &amp;amp; malware attribution&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;ThreatFox&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Abuse.ch&lt;/td&gt;
&lt;td&gt;Verified IOCs (IPs, domains, hashes, URLs)&lt;/td&gt;
&lt;td&gt;Real-time IP/domain lookups in Personal &amp;amp; Pro modes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;CISA KEV&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;US Cybersecurity &amp;amp; Infrastructure Security Agency&lt;/td&gt;
&lt;td&gt;Actively exploited CVEs &amp;amp; ransomware associations&lt;/td&gt;
&lt;td&gt;Threat intelligence tab &amp;amp; CVE analyzer cross-referencing&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;SANS ISC / DShield&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;SANS Internet Storm Center&lt;/td&gt;
&lt;td&gt;Top 20 attacking IPs &amp;amp; honeypot report counts&lt;/td&gt;
&lt;td&gt;Attack generator &amp;amp; UEBA brute-force anomaly panel&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;To guarantee sub-millisecond lookups during high-traffic queries, indicators are normalized into in-memory &lt;code&gt;Set&lt;/code&gt; data structures (&lt;code&gt;feodoIPSet&lt;/code&gt;, &lt;code&gt;threatFoxIPSet&lt;/code&gt;, &lt;code&gt;threatFoxDomainSet&lt;/code&gt;, &lt;code&gt;dshieldIPSet&lt;/code&gt;), providing $O(1)$ search complexity.&lt;/p&gt;




&lt;h2&gt;
  
  
  5. Security Engineering &amp;amp; Hardening
&lt;/h2&gt;

&lt;p&gt;ShieldOne is built with rigorous defense-in-depth principles:&lt;/p&gt;

&lt;h3&gt;
  
  
  5.1. Multi-Tier Authentication &amp;amp; Brute-Force Defense
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Per-Account Lockout (&lt;code&gt;checkLockout&lt;/code&gt;, &lt;code&gt;recordFailedAttempt&lt;/code&gt;):&lt;/strong&gt; Tracks consecutive failed login attempts by normalized email. Exceeding 5 failed attempts locks the account for 15 minutes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;IP-Based Connection Rate Limiting (&lt;code&gt;loginRateLimiter&lt;/code&gt;):&lt;/strong&gt; Generous 100 requests per 15-minute window per IP to curb automated network dictionary attacks.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Timing &amp;amp; Enumeration Resistance:&lt;/strong&gt; Failed login and forgot-password endpoints respond with sanitized, uniform messages to prevent user enumeration.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Two-Factor Cryptographic OTP:&lt;/strong&gt; Password resets and registration require a 6-digit random code transmitted via Gmail SMTP (&lt;code&gt;nodemailer&lt;/code&gt;) with a 15-minute expiration window.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  5.2. Server-Side Request Forgery (SSRF) Protection
&lt;/h3&gt;

&lt;p&gt;To prevent attackers from utilizing the URL safety scanner (&lt;code&gt;/personal/check-url&lt;/code&gt;) as an open proxy or SSRF gateway to internal cloud infrastructure, the engine enforces strict filtering via &lt;code&gt;isSafeUrl&lt;/code&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Protocol restriction to &lt;code&gt;http:&lt;/code&gt; and &lt;code&gt;https:&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Immediate rejection of RFC 1918 private subnets (&lt;code&gt;10.0.0.0/8&lt;/code&gt;, &lt;code&gt;172.16.0.0/12&lt;/code&gt;, &lt;code&gt;192.168.0.0/16&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;Loopback isolation (&lt;code&gt;127.0.0.0/8&lt;/code&gt;, &lt;code&gt;::1&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;Link-local and CGNAT blocking (&lt;code&gt;169.254.0.0/16&lt;/code&gt;, &lt;code&gt;100.64.0.0/10&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;Strict blocking of cloud metadata endpoints (&lt;code&gt;169.254.169.254&lt;/code&gt;, &lt;code&gt;metadata.google.internal&lt;/code&gt;, &lt;code&gt;metadata.aws.internal&lt;/code&gt;).&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  5.3. Graceful Fallback Architecture
&lt;/h3&gt;

&lt;p&gt;All AI and external data hooks are wrapped in resilient &lt;code&gt;try/catch&lt;/code&gt; and &lt;code&gt;Promise.allSettled&lt;/code&gt; blocks. If external APIs, OpenRouter keys, or threat feeds are temporarily unreachable:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Pre-compiled deterministic cybersecurity rules and realistic mock indicators activate immediately.&lt;/li&gt;
&lt;li&gt;The UI displays explicit status badges indicating feed availability so users are never misled.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  6. Comprehensive API Surface Catalog
&lt;/h2&gt;

&lt;h3&gt;
  
  
  A. Professional Enterprise Endpoints
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;WS /&lt;/code&gt; (&lt;code&gt;dashboardData&lt;/code&gt;): Emits live attacks, stats, and coordinates every 2s.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;GET /attacks&lt;/code&gt;: Returns recent 50 attack events.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;GET /stats&lt;/code&gt;: Aggregated attack counts, severity distribution, top attack type.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;GET /incidents&lt;/code&gt;: Active security incident tickets and MTTR/MTTD metrics.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;GET /threat-intel&lt;/code&gt;: Curated list of exploited CVEs from CISA KEV.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;GET /compliance&lt;/code&gt;: Readiness scores across SOC 2, ISO 27001, GDPR, and PCI DSS.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;GET /ueba&lt;/code&gt;: Anomaly monitoring for top attacking IPs and brute-force scans.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;GET /endpoints&lt;/code&gt;: Health, OS, and vulnerability status for network devices.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;GET /network&lt;/code&gt;: Live network telemetry (inbound Gbps, outbound Mbps, dropped packets).&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;GET /feed-status&lt;/code&gt;: Loaded indicator counts across external threat feeds.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;POST /ai-explain&lt;/code&gt;: 1-click LLM event explanation (rate limited: 20 req/min).&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;POST /ai-attack-analyzer&lt;/code&gt;: Deep IOC correlation and investigation playbook generator (10 req/min).&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;POST /chat&lt;/code&gt;: Conversational SOC assistant (30 req/min).&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  B. Citizen Cyber Shield Endpoints
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;POST /personal/analyze-message&lt;/code&gt;: AI scam text diagnostics (15 req/min).&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;POST /personal/check-url&lt;/code&gt;: SSRF-protected link scanner &amp;amp; ThreatFox verification (10 req/min).&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;POST /personal/assistant&lt;/code&gt;: Plain-language cybersecurity AI assistant (20 req/min).&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;POST /personal/scam-response&lt;/code&gt;: Guided incident response playbooks for crisis scenarios (10 req/min).&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;POST /personal/scam-chat&lt;/code&gt;: Context-aware conversational follow-up for scam victims (30 req/min).&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  C. Authentication &amp;amp; Profile Endpoints
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;POST /auth/register&lt;/code&gt;: Initiates registration &amp;amp; dispatches 6-digit OTP.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;POST /auth/verify-otp&lt;/code&gt;: Confirms OTP, activates account, returns session token.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;POST /auth/login&lt;/code&gt;: Account-lockout protected email/password authentication.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;POST /auth/forgot-password&lt;/code&gt;: Dispatches password reset OTP with enumeration protection.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;POST /auth/reset-password&lt;/code&gt;: Validates OTP and sets new strong password.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;GET /auth/me&lt;/code&gt;: Fetches profile details, plan tier, role, and department.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;PUT /auth/update-profile&lt;/code&gt;: Updates user metadata and contact information.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;POST /auth/request-password-change&lt;/code&gt;: In-app OTP dispatch for authenticated password change.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;POST /auth/confirm-password-change&lt;/code&gt;: Confirms OTP and applies password change.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  7. Frontend Design System &amp;amp; User Interface
&lt;/h2&gt;

&lt;p&gt;The frontend is built on &lt;strong&gt;React 18&lt;/strong&gt; and &lt;strong&gt;Vite&lt;/strong&gt;, featuring a bespoke, modern cybersecurity design system in styles.css:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Aesthetic Direction:&lt;/strong&gt; Sleek, modern dark-mode primary interface with full light-mode toggle support using CSS custom properties (&lt;code&gt;-bg-primary&lt;/code&gt;, &lt;code&gt;-bg-card&lt;/code&gt;, &lt;code&gt;-accent-blue&lt;/code&gt;, etc.).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sticky Full-Width Compact Header:&lt;/strong&gt; Edge-to-edge header with backdrop blur, inline &lt;code&gt;LIVE&lt;/code&gt; / &lt;code&gt;PROTECTED&lt;/code&gt; badges beside the ShieldOne title, integrated mode switcher (&lt;code&gt;Personal&lt;/code&gt; $\leftrightarrow$ &lt;code&gt;Enterprise&lt;/code&gt;), and quick-access profile management.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Glassmorphism &amp;amp; Micro-Interactions:&lt;/strong&gt; Modern translucent cards, subtle hover glow states, and pulse badges for high-severity threats.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Responsive Layout:&lt;/strong&gt; Adaptive CSS grids (&lt;code&gt;grid-2&lt;/code&gt;, &lt;code&gt;grid-4&lt;/code&gt;) transitioning to single-column layouts for mobile viewports ($\le 768\text{px}$).&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  8. Execution, Setup &amp;amp; Environment Configuration
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Prerequisites
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Node.js (v18.x or later)&lt;/li&gt;
&lt;li&gt;npm or yarn&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Configuration (&lt;code&gt;backend/.env&lt;/code&gt;)
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;PORT=5001
FRONTEND_URL=http://localhost:5173
OPENROUTER_API_KEY=your_openrouter_api_key_here
SMTP_USER=shieldone20@gmail.com
SMTP_PASS=your_gmail_app_password
SUPABASE_URL=your_supabase_url
SUPABASE_KEY=your_supabase_anon_key
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Running Locally
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Start the Backend:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;cd&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;d:\projects\soc-project\backend&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;npm&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;run&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;dev&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Start the Frontend Dashboard:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;cd&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;d:\projects\soc-project\soc-dashboard&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;npm&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;run&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;dev&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Access the Application:&lt;/strong&gt; Open browser at &lt;code&gt;http://localhost:5173&lt;/code&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Default Enterprise Admin: &lt;code&gt;admin@soc.corp&lt;/code&gt; / &lt;code&gt;Password123!&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Default Personal Member: &lt;code&gt;user@shieldone.io&lt;/code&gt; / &lt;code&gt;Password123!&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  9. Conclusion &amp;amp; Strategic Value Proposition
&lt;/h2&gt;

&lt;p&gt;ShieldOne proves that high-performance enterprise cybersecurity and grassroots citizen protection do not need to exist in silos. By coupling sub-second WebSocket event streams and real-time global threat feeds with Google’s Gemini 2.5 Flash model and an intuitive React interface, ShieldOne delivers:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Up to 60% faster incident triage&lt;/strong&gt; for tier-1 security operations analysts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Proactive social engineering interception&lt;/strong&gt; for everyday citizens before financial damage occurs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A production-ready, zero-overhead technical foundation&lt;/strong&gt; that sets a new standard for modern cybersecurity applications.&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>hacktoberfest</category>
      <category>hf26challenge</category>
      <category>cybersecurity</category>
      <category>ai</category>
    </item>
  </channel>
</rss>
