Shatru
We don’t trust the output—we verify the model.
The problem Shatru solves
Modern AI systems, especially in sensitive domains like healthcare and finance, can be compromised through hidden backdoors known as neural trojans. These attacks do not visibly break the system—the model behaves normally until a specific trigger appears, after which it can silently execute malicious actions like leaking sensitive data. Since traditional security methods only monitor inputs and outputs, this internal malicious behavior often goes completely undetected
Our system introduces a real-time defense layer that monitors the internal behavior of AI models using entropy-based analysis. By observing how the model distributes attention during inference, we detect abnormal shifts that indicate a transition from normal reasoning to malicious execution. If such a deviation is detected, the system immediately halts generation, preventing any harmful output or data leakage before it occurs.
Unlike rule-based or output-based detection systems, our approach is dynamic and model-agnostic. It does not rely on known attack patterns or trigger keywords, making it effective even against unknown or zero-day threats. The system operates in real time, provides early detection before damage occurs, and can be integrated into existing AI pipelines without retraining the model.
The solution can be offered as a security layer for AI deployments through a SaaS model or enterprise integration. Organizations using AI in high-risk environments—such as hospitals, financial institutions, and legal platforms—can integrate this system as a monitoring and protection module. Revenue can be generated through subscription-based access, API usage, and enterprise licensing for on-premise deployments.
This project strengthens trust in AI systems by addressing one of the most critical emerging risks—model-level attacks. It helps protect sensitive data, prevents silent breaches, and enables safer deployment of AI in real-world applications. By shifting security focus from external inputs to internal model behavior, it lays the foundation for a new class of AI-native cybersecurity solutions.
Challenges we ran into
==>Creating a Realistic Threat Model (without harming anyone)
We needed a convincing way to demonstrate a backdoor without actually weaponizing a model. The challenge was to design a safe, synthetic scenario (e.g., special tokens or tagged samples) that mimics a trigger while ensuring no real data or endpoints are affected. This meant carefully scoping the demo so it’s representative but contained.
==>Keeping Normal Behavior Intact
A believable demo requires the model to behave normally on standard inputs while showing a clear, detectable shift on “triggered” inputs. Balancing these two modes is tricky—even in a simulation—because any obvious degradation makes the demo unrealistic. We had to iterate to keep clean behavior stable while still producing a distinct internal signal for detection.
==>Avoiding False Alarms
Not every drop in entropy is malicious—sometimes the model just becomes confident in a correct answer. The challenge was to avoid overreacting and blocking valid outputs. We had to design our detection around relative changes and patterns rather than relying on a single fixed threshold.
==>Making It Work in Real Time
Running entropy checks for every generated token adds computational overhead, especially with a quantized model. The challenge was to keep the system responsive while still analyzing enough information to detect attacks early. Balancing speed and accuracy was one of the toughest engineering trade-offs.
Tracks Applied (1)