High-intensity compromise ratio
0.065 vs 0.215
CPHS versus NORMAL in the README's recorded evaluation sample.
GitHub
Cybersecurity / Full-Stack Systems
This system implements sender, receiver, admin, simulation, and evaluation workflows around AES-GCM encrypted messages, SHCS and CPHS protection modes, a transparent risk-scoring engine, replay/HMAC controls, rate limits, audit logging, and recovery without plaintext exposure.
Public academic/full-stack cybersecurity project; not a third-party-certified production messenger.
Architecture
Evidence
Project metrics are kept close to their original context and paired with limitations where needed.
High-intensity compromise ratio
0.065 vs 0.215
CPHS versus NORMAL in the README's recorded evaluation sample.
GitHub
High-intensity resilience
0.782 vs 0.582
CPHS versus NORMAL in the same sample; higher is better in the repository table.
GitHub
Evaluation graph
20 nodes / 35 edges
The README sample uses numNodes=20, numEdges=35, defenseStrategy=REDUNDANCY.
GitHub
Metric Visualization
NORMAL
0.215 ratio
CPHS
0.065 ratio
The public README supports about a 3.3x lower compromise ratio for CPHS versus NORMAL in this recorded sample.
Workflow
The workflow shows the main technical pieces and how they connect.
Creates encrypted messages and selects or requests protection modes.
Scores threat pressure, puzzle failures, session anomalies, and admin threat level.
NORMAL, SHCS, CPHS, or ADAPTIVE mode determines puzzle and packaging behavior.
AES-GCM encryption, HMAC integrity, timestamp/nonce replay checks, and rate limits.
Receiver puzzle unlocks messages; admin workflows hold, release, audit, and recover without plaintext endpoints.
Secure communication workflows need to respond to changing threat signals without turning recovery into a plaintext bypass.
The project frames security as an attack-defense-recovery game and evaluates protection modes under varying threat intensity.
The system uses request/session state, puzzle outcomes, administrative threat level, and simulator-generated attack intensity as operating context.
The repository explicitly states that the adaptive policy is a transparent heuristic rather than a Nash-equilibrium solver.
Implemented NORMAL, SHCS, CPHS, and ADAPTIVE modes around encrypted payload handling and receiver-side challenge gates.
Built sender, receiver, admin SOC, simulation, and evaluation screens so the system exposes threat state and recovery state directly.
Integrated OWASP-aligned engineering controls including RBAC, secure cookies, replay protection, HMAC validation, rate limits, secure headers, and strict API errors.
Spring Boot handles mode selection, security workflow orchestration, session behavior, and backend application logic.
The React/TypeScript frontend presents sender, receiver, admin, simulation, and evaluation workflows.
Admin step-up supports controlled release/reset actions while the repository states admins cannot decrypt messages and no plaintext endpoint is exposed.
The README table reports NORMAL, SHCS, CPHS, and ADAPTIVE behavior across low, medium, and high attack intensities.
In the high-intensity recorded sample, CPHS compromise ratio is 0.065 versus 0.215 for NORMAL; CPHS resilience is 0.782 versus 0.582 for NORMAL.
The README also says ADAPTIVE stayed close to NORMAL in the recorded run because its value depends on live risk signals escalating high enough.
Security UX should make protection mode, threat state, and recovery state legible to users and administrators.
Adaptive policies need transparent thresholds, audit trails, and careful evaluation; a heuristic policy should not be oversold as formal game-theoretic optimization.
Security prototypes are more credible when implementation controls and simulator limitations are both visible.
The simulator abstracts network behavior and is not a real RF/UAV communication stack.
The adaptive policy is heuristic; the repository does not present it as a Nash-equilibrium solver.
The recorded ADAPTIVE behavior depends on live risk signals escalating high enough to trigger stronger modes.