Skip to content
A

AgentShield

Autonomy with Financial Guardrails

Created on 29th August 2026

•

A

AgentShield

Autonomy with Financial Guardrails

The problem AgentShield solves

In a world powered by autonomous AI agents, standard API keys and cryptographic credentials are no longer enough. An agent might initiate a transaction that is technically valid and correctly signed, but contextually catastrophic—such as transfer limits being exceeded, capital sent to unverified external protocols, or the agent falling victim to prompt injection or behavioral overrides.

AgentShield acts as a risk-aware security gateway and control dashboard sitting directly between your autonomous financial agents and your actual assets.

Key Use Cases & Safety Features:

Contextual Risk Engine: Automatically scores proposed transactions based on agent roles, historical transaction baselines, daily spend velocity, and asset exposure limits.
Prompt Injection Protection: Scans natural-language instructions dynamically for urgency manipulation, secrecy, policy-bypass keywords, or conflicting developer roles before they are sent to the execution layer.
Tamper-Evident Ledgering: Stores all gateway decisions and security assessments in an immutable local SHA-256 cryptographic hash-chain. Any backend database tampering is immediately caught by the dashboard.
Policy Version Control: Permits granular configuration of per-agent allowances. Updating policy limits preserves previous policy versions and registers the change in the audit chain.
Web3 Security Anchoring: Optionally anchors audit hash chains to EVM-compatible testnets via Solidity smart contracts, ensuring public verifiability of high-risk actions.

Challenges we ran into

Dynamic Database Hash-Chain Integrity: Maintaining a sequential SHA-256 chain in a SQLite database was challenging when dealing with dynamic sandbox simulations. Simulating transaction tampering or resetting data could easily corrupt live database logs. We overcame this by separating the simulation audit verification checks—running tamper checks on isolated in-memory copies of the ledger state—and implementing strict database locks to prevent race conditions during block updates.
LLM Safety Pipeline Robustness: Depending purely on cloud LLMs (like Groq) for prompt analysis risks complete gateway failure during API rate-limits or network timeouts. We engineered a dual-pipeline approach using Groq server-side for detailed JSON-schema validated analysis combined with a robust local deterministic regex fallback engine. If the external API key is missing or fails, the gateway gracefully falls back to local parsing without failing open.
Deterministic Anomaly Baselines: Dynamic transactions would naturally shift the baseline payment averages, making sandbox tests like Scenario B (Amount Anomaly) non-deterministic over time. We solved this by establishing a rigid historical average baseline of ₹1,800 via seeded data, ensuring simulations evaluate consistently against historical limits.

Technologies used

Discussion

Builders also viewed

See more projects on Devfolio