Skip to content
SENTRY

SENTRY

The End of the False Positive.

Created on 2nd January 2026

•

SENTRY

SENTRY

The End of the False Positive.

The problem SENTRY solves

Security is binary, but current AI auditors are probabilistic.

Tools like ChatGPT or generic security bots suffer from a high "Noise-to-Signal" ratio. They hallucinate vulnerabilities that don't exist (False Positives) and miss the ones that do. A junior engineer sees a warning and panics; a senior engineer asks, "Prove it."

SENTRY is the end of the False Positive.

It is a Deterministic Verification Engine that bridges the gap between Stochastic AI and Rigid Infrastructure.

AI as a Targeting System: We use LLMs (GPT-4o) only to scan the AST and generate a hypothesis (e.g., "The withdraw function lacks access control").

Foundry as the Judge: SENTRY spins up a sandboxed, ephemeral blockchain environment.

Automated Exploitation: It dynamically compiles a Solidity test harness, injects the specific attack vector, and executes it against the local fork.

If the test fails, the alert is discarded. If the test PASSES, the vulnerability is mathematically proven. SENTRY turns "Probability" into "Cryptographic Truth."

Challenges I ran into

The "Import Hell" (Dependency Virtualization)

The biggest engineering hurdle was Dependency Management in an Ephemeral Sandbox.

Real-world smart contracts rarely exist in a vacuum. They import massive libraries like OpenZeppelin (@openzeppelin/contracts/access/Ownable.sol). When a user pastes a single file into SENTRY, a standard forge build fails immediately because those dependencies aren't installed in the temporary container. Installing full NPM packages for every request would destroy our latency (taking 30s+ instead of <2s).

The Solution: The Virtualization Layer

I engineered a custom Sanitization & Mocking Pipeline:

Regex Interception: The engine scans the input code for standard import patterns.

Dynamic Remapping: We strip the heavy external references and map them to a local Mock Library (a lightweight, pre-compiled set of interfaces like MockOwnable and MockERC20) that lives inside the container.

AST Injection: We reconstruct the contract's inheritance tree in milliseconds, allowing the Foundry compiler to build the target without needing internet access or heavy node_modules.

This turned a 45-second "npm install" blocker into a 300ms compilation step, allowing SENTRY to verify code in near real-time.

Tracks Applied (3)

Blockchain

We solved the Hallucination Problem by making GenAI accountable to the Blockchain.

Generative AI

We solved the Hallucination Problem by making GenAI accountable to the Blockchain.

Ethereum Track

We are democratizing 'Trail of Bits' grade security for every Ethereum developer.
ETHIndia

ETHIndia

Discussion

Builders also viewed

See more projects on Devfolio