Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

10 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ›ก๏ธ Abir Market Sentinel ย v1.0.1

Abir Market Sentinel is an AI-first insider trading detection engine that combines behavioral anomaly detection, intent analysis, and cross-source correlation, then secures flagged evidence with quantum-ready controls.

v1.0.1 โ€” Phase 1-3 hardened ยท 29 tests passing ยท 0.102s full pipeline ยท 7/7 pentest PASS

Table of Contents

What's New in v1.0.1

# Change Category
1 Symbol-aware trade-to-news correlation โ€” MSFT news no longer matches AAPL trades Bug Fix
2 Unique trade IDs using timestamp + sequence counter (no more ID collisions) Bug Fix
3 Optional FinBERT intent engine with safe heuristic fallback Enhancement
4 Untrained-model guardrail in API /detect endpoint (returns HTTP 400, not crash) Enhancement
5 Optimized correlation loop: precomputed timestamps reduce latency from 0.121s โ†’ 0.091s Performance
6 Tamper-evident audit chain indexing corrected โ€” deterministic verify across all chain sizes Bug Fix
7 hmac import added to differential_privacy.py โ€” constant_time_compare now functional Bug Fix
8 Full timezone-aware UTC migration โ€” zero Python 3.14 deprecation warnings Maintenance
9 Isolation Forest fallback (_FallbackIsolationModel) when scikit-learn absent Resilience
10 In-memory vault fallback (_FallbackVault) when abir-guard absent for dev/CI use Resilience

Full benchmark (0.102s total, 241 trades) and penetration validation (7/7 PASS) documented below.

At a Glance

Area Current Status
Version v1.0.1 โ€” Phase 1-3 hardened, benchmarked, pentest-validated
Detection Core Behavioral anomaly detection (Isolation Forest) + intent analysis + symbol-aware correlation
Security Tamper-evident audit chain, canary trades, key rotation, differential privacy, FIPS mode
Quantum Posture Abir-Guard integration path with ML-KEM-1024 and hybrid KEM; fallback vault for dev/CI
API Flask real-time endpoints โ€” /api/detect, /api/train, /api/health with guardrails
Runtime Resilience Optional dependency fallbacks (sklearn, abir-guard) โ€” zero hard crashes in CI
Performance 241-trade pipeline in 0.102s; correlation optimized to 0.091s
Test Health 29 passed, zero warnings, Python 3.14.4
Phases Phase 1-3 + stabilization complete, Phase 4-5 planned

Verified Status

This repository was validated locally on May 12, 2026 (v1.0.1):

  • Test command: /usr/bin/python3 -m pytest -q
  • Result: 29 passed, zero warnings
  • Python: 3.14.4 (system)
  • Notes: All timezone-aware UTC, optional-dependency fallbacks active, Phase 1-3 fully functional.

Benchmark and Security Validation (May 2026)

Full Pipeline Benchmark

Measured on the local development environment using the end-to-end Phase 1-3 path:

  • Input size: 241 trades, 48 test trades, 2 news items, 10 agent logs
  • Ingestion: 0.002220s
  • Model train: 0.005207s
  • Anomaly detect: 0.001858s
  • Correlation: 0.090947s
  • Intent + flag scoring: 0.001784s
  • Total pipeline time: 0.102017s

Penetration-Style Security Validation

Validated controls and abuse-path checks:

  • Audit log tamper detection: PASS (modified entries invalidate chain)
  • Canary breach trigger path: PASS
  • Key rotation misuse guard: PASS (missing key usage raises)
  • Cross-symbol correlation isolation: PASS
  • FIPS strict non-approved algorithm guard: PASS
  • Side-channel noise injector behavior: PASS
  • Vault encryption/decryption roundtrip: PASS

Latest Improvements (v1.0.1 โ€” May 2026)

  • Added robust fallback model path in anomaly detection when scikit-learn is unavailable.
  • Added in-memory vault fallback when abir-guard is unavailable for local/dev reliability.
  • Fixed audit chain verification edge case to ensure deterministic tamper checks.
  • Improved API detection endpoint with untrained-model guardrails and safe auto-training behavior.
  • Added symbol-aware trade-to-news correlation for tighter intent context.
  • Added optional FinBERT sentiment path with safe heuristic fallback.
  • Migrated codebase and tests to timezone-aware UTC to remove Python deprecation warnings.
  • Added real workflow badges for CI and publish pipelines.

System Flow

Market Trades + News + Agent Logs
             |
             v
Behavioral AI Detection (anomaly + intent)
             |
             v
Correlation Engine (trade/news/agent link)
             |
             v
Risk Scoring + Flagging
             |
             v
Quantum/Security Layer (vault + audit + canary + key rotation)
             |
             v
Compliance and Alert Outputs

Installation and Setup

Prerequisites

  • Python 3.10+
  • pip
  • Optional: abir-guard for production-grade PQC backend

Local Setup

git clone https://github.com/Abiress/abir-market-sentinel.git
cd abir-market-sentinel

pip install -r requirements.txt
pip install -e "."

Run and Test

Run Main Pipeline

/usr/bin/python3 src/main.py

Run API

/usr/bin/python3 src/api/realtime_api.py

Run Tests

/usr/bin/python3 -m pytest -q

Project Structure

abir-market-sentinel/
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ alerting/           # Risk scoring and trade flagging
โ”‚   โ”œโ”€โ”€ api/                # Flask real-time API
โ”‚   โ”œโ”€โ”€ behavioral_ai/      # Anomaly detector + intent analyzer
โ”‚   โ”œโ”€โ”€ correlation/        # Trade-news-agent correlation
โ”‚   โ”œโ”€โ”€ data_ingestion/     # Market/news/agent mock ingestion
โ”‚   โ”œโ”€โ”€ quantum_security/   # Abir-Guard-backed (or fallback) vault
โ”‚   โ”œโ”€โ”€ security/           # Audit, canary, FIPS mode, key rotation, privacy
โ”‚   โ””โ”€โ”€ main.py             # End-to-end pipeline entry
โ”œโ”€โ”€ tests/                  # Unit + integration tests
โ”œโ”€โ”€ config/                 # Runtime configuration
โ”œโ”€โ”€ examples/               # Example runner
โ”œโ”€โ”€ PHASES.md               # Phase-by-phase plan and progress
โ”œโ”€โ”€ THREAT_MODEL.md         # Zero-trust threat model
โ””โ”€โ”€ README.md               # This document

Roadmap Snapshot

Phase Status Version
Phase 1 โ€” Foundation โœ… Complete v1.0.1
Phase 2 โ€” Intelligence โœ… Complete v1.0.1
Phase 3 โ€” Security Hardening โœ… Complete v1.0.1
Phase 3.1 โ€” Stabilization โœ… Complete v1.0.1
Phase 4 โ€” Scale and Performance ๐ŸŸก Planned v1.1.0
Phase 5 โ€” Enterprise and Compliance ๐ŸŸก Planned v2.0.0

See PHASES.md for full milestone detail.

Governance and Security Docs

  • THREAT_MODEL.md: architecture-level threats and mitigations
  • SECURITY.md: reporting and response process
  • CONTRIBUTING.md: development and PR conventions
  • CODE_OF_CONDUCT.md: community expectations
  • CITATION.cff: citation metadata
  • LICENSE: MIT terms

Detailed Product Narrative (Original)

The World's First AI-Powered Insider Trading Detection Engine with Quantum-Ready Security.

Built on top of Abir-Guard (NIST FIPS 203/204), this engine goes beyond rule-based detection by analyzing intent, not just activity.


๐ŸŽฏ Why This Matters

The Problem

Current insider trading detection is rule-based, not AI-behavioral. Banks use static thresholds (โ€œtrade > $1M = flagโ€), which misses:

  • Sophisticated traders using slow-drip accumulation
  • Rumor-based positioning before news breaks
  • Cross-market manipulation across related symbols
  • AI agents with prior knowledge injecting trades

The Solution

Abir Market Sentinel detects intent-based market manipulation:

  • โœ… Behavioral AI: Isolation Forest detects abnormal patterns
  • โœ… Intent Analysis: NLP flags suspicious motivation (not just activity)
  • โœ… Multi-Source Correlation: Links trades โ†” news โ†” agent actions
  • โœ… Quantum-Safe: ML-KEM-1024 + AES-256-GCM via Abir-Guard

๐Ÿ—๏ธ Architecture

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                   DATA INGESTION                               โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”    โ”‚
โ”‚  โ”‚ Market Data  โ”‚  โ”‚ News Feeds  โ”‚  โ”‚ Agent Logs  โ”‚    โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”˜    โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
          โ”‚                 โ”‚                 โ”‚
          โ–ผ                 โ–ผ                 โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚          BEHAVIORAL AI DETECTION ENGINE                    โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”            โ”‚
โ”‚  โ”‚ Anomaly           โ”‚  โ”‚ Intent           โ”‚            โ”‚
โ”‚  โ”‚ Detector         โ”‚  โ”‚ Analyzer         โ”‚            โ”‚
โ”‚  โ”‚ (Isolation       โ”‚  โ”‚ (FinBERT +      โ”‚            โ”‚
โ”‚  โ”‚  Forest)        โ”‚  โ”‚  Keyword Scan)  โ”‚            โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜            โ”‚
โ”‚           โ”‚                    โ”‚                               โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”                  โ”‚
โ”‚  โ”‚      Correlation Engine                       โ”‚                  โ”‚
โ”‚  โ”‚  โ€ข Trade-News Linking                    โ”‚                  โ”‚
โ”‚  โ”‚  โ€ข Agent Action Correlation               โ”‚                  โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜                  โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
          โ”‚
          โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚              RISK SCORING & FLAGGING                         โ”‚
โ”‚  Formula: risk = |anomaly|ร—0.4 + intentร—0.4 + newsร—0.2  โ”‚
โ”‚  Threshold: >0.6 โ†’ Flag for investigation                  โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
          โ”‚
          โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚         QUANTUM-SAFE STORAGE (Abir-Guard)                    โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”            โ”‚
โ”‚  โ”‚ ML-KEM-1024 + X25519 Hybrid KEM           โ”‚            โ”‚
โ”‚  โ”‚ AES-256-GCM Envelope Encryption            โ”‚            โ”‚
โ”‚  โ”‚ Tamper-Evident Audit Log (SHA-256)       โ”‚            โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜            โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
          โ”‚
          โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚              ALERTING & COMPLIANCE                          โ”‚
โ”‚  โ€ข Real-time notifications                            โ”‚
โ”‚  โ€ข SEC Rule 10b-5 compliance reports                  โ”‚
โ”‚  โ€ข MiFID II transaction reporting (Phase 5)             โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐Ÿ’ก Why Abir-Guard?

Feature Traditional Solutions Abir Market Sentinel
Detection Type Rule-based (static thresholds) AI-Behavioral (Isolation Forest)
Intent Analysis โŒ None โœ… NLP + Keyword Scanning
News Correlation โŒ None โœ… Time-window Linking
Agent Tracking โŒ None โœ… Cross-Agent Correlation
Encryption AES-256 only โœ… ML-KEM-1024 + AES-256-GCM
Quantum-Safe โŒ Vulnerable to HNDL โœ… NIST FIPS 203/204 Compliant
Audit Trail Basic logs โœ… Tamper-Evident SHA-256 Chain
Breach Detection โŒ None โœ… Canary Trades (Honeypots)

๐Ÿš€ Use Cases

1. Detecting Insider Trading Before Earnings

Scenario: A trader consistently trades just hours before major earnings announcements with suspicious precision.

How Sentinel Helps:

  • Behavioral AI flags unusual trade timing patterns
  • Intent analyzer detects references to "confidential info" or "insider knowledge"
  • Correlation engine links trades to upcoming earnings news
  • Risk score exceeds 0.6 โ†’ Trade flagged for investigation
# Example flagged output
{
  "trade_id": "T0045",
  "risk_score": 0.78,
  "reason": "Behavioral anomaly; Suspicious intent identified; 3 related news events",
  "flagged_at": "2026-05-04T10:30:00"
}

2. Market Manipulation via Rumor Spread

Scenario: An agent spreads rumors about a company while simultaneously taking large positions.

How Sentinel Helps:

  • Agent action correlation detects info requests before trades
  • News sentiment analysis identifies rumor-based headlines
  • Intent analysis flags "not public" keyword mentions
  • Combined intent score triggers alert

3. Honeypot Protection (Canary Trades)

Scenario: An attacker gains access to the trade database and starts querying flagged trades.

How Sentinel Helps:

  • Canary trades (honeypots) planted in the database
  • Any access to canary trades triggers breach alert
  • Tamper-evident audit logs record the breach attempt
  • Quantum encryption (ML-KEM-1024) protects data even if exfiltrated

4. Regulatory Compliance (SEC Rule 10b-5)

Scenario: Financial institution needs to prove they monitor for insider trading.

How Sentinel Helps:

  • Tamper-evident audit logs with SHA-256 hash chains
  • Export reports in regulatory formats (Phase 5)
  • Quantum-safe storage meets "Harvest Now, Decrypt Later" threats
  • FIPS 140-3 compliance mode (NIST standards)

5. Cross-Market Manipulation Detection

Scenario: Same actor manipulates multiple related stocks across different markets.

How Sentinel Helps:

  • Trade-news correlation across multiple symbols
  • Agent action tracking across markets
  • Behavioral patterns detected even with small trade sizes
  • Distributed detection (Phase 4) for multi-market coverage

๐Ÿ“ฅ Quick Start

Prerequisites

Installation

# Clone the repository
git clone https://github.com/Abiress/abir-market-sentinel.git
cd abir-market-sentinel/

# Install abir-guard from source
bash install_abir_guard.sh

# Install dependencies
pip install -r requirements.txt

# Install in development mode
pip install -e ".[dev]"

Run Detection

python src/main.py

Expected output:

======================================================================
Abir Market Sentinel - AI Insider Trading Detection Engine
Phase 1: Foundation | Phase 2: Intelligence | Phase 3: Security
======================================================================

[Phase 1] Ingesting market data...
    Loaded 200 trades, 2 news items

[Phase 2] Detecting anomalies with intent analysis...
    Found 5 anomalous trades

[Phase 3] Flagging suspicious activity...
    FLAGGED: Trade T045 | Risk: 0.72
             Reason: Suspicious intent identified; Multiple correlated news events
======================================================================
SUMMARY: 3 trades flagged out of 200
Quantum-secured storage active via Abir-Guard
Audit log entries: 8
Audit chain valid: True
Canary status: {'breach_detected': False, ...}
======================================================================

๐ŸŒ API Usage

Real-time Detection

curl -X POST http://localhost:5000/api/detect \
  -H "Content-Type: application/json" \
  -d '{
    "trades": [{"trade_id": "T001", "symbol": "AAPL", "volume": 10000}],
    "news": [{"headline": "Apple earnings surprise"}]
  }'

Response:

{
  "total_trades": 1,
  "anomalies_detected": 1,
  "flagged_trades": [
    {"trade_id": "T001", "risk_score": 0.75, "reason": "..."}
  ]
}

๐Ÿ”’ Quantum Security Features

Post-Quantum Cryptography

  • ML-KEM-1024 (NIST FIPS 203) for key encapsulation
  • ML-DSA-65 (NIST FIPS 204) for digital signatures
  • AES-256-GCM for data encryption (128-bit quantum resistance)
  • Hybrid KEM: ML-KEM + X25519 (both must break)

Security Controls

  • Tamper-evident audit logs with SHA-256 hash chains
  • Canary trades to detect data breaches
  • Automated quantum key rotation
  • FIPS 140-3 compliance mode
  • Differential privacy with Laplace noise injection

๐Ÿ‡ฎ๐Ÿ‡ณ๐ŸŒ Mission Support

This project aligns with:

Mission Badge Description
๐Ÿ‡ฎ๐Ÿ‡ณ Indian Quantum Mission IQM Quantum-resilient cryptography for India's NQM
๐ŸŒ Global Quantum Mission GQM NIST FIPS 203/204 compliant worldwide
๐Ÿ‡ฎ๐Ÿ‡ณ๐ŸŒ Indian AI Mission IAI Quantum-secure memory vaults for sovereign AI

๐Ÿ‘จโ€๐Ÿ’ป Developer

Abir Maheshwari

  • Founder at Artificial Quantum Dyson Intelligence, Biro Labs, Aquilldriver
  • AI Engineer | Quantum Computing Researcher

Connect


๐Ÿ‡ฎ๐Ÿ‡ณ Made in India, for the World.

Secured by NIST PQC, AES-256-GCM, Argon2id, ML-DSA-65, ML-KEM-1024 ยท v1.0.1 ยท Licensed under MIT 2026

About

Real-time financial sentiment intelligence engine. Leveraging modular AI to transform global news, social signals, and alternative data into predictive market momentum.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages