AgentShield

Autonomy with Financial Guardrails

Repo
AgentShield banner

About

## 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.

## The problem it 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.

Screenshots

AgentShield screenshot 1AgentShield screenshot 2AgentShield screenshot 3AgentShield screenshot 4AgentShield screenshot 5

Team

From the public Devfolio project page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.