Hisaab, an open-source AI agent created for the Agentware 2026 hackathon, functions as an automated overnight clerk designed to process household bills, bank exports, and renewal notices. Developed to operate with minimal friction while maintaining strict fiscal safety, the project enforces a foundational rule: unauthorized inputs can stop operations or trigger flags, but only the owner's verified ledger can authorize sandbox financial transactions. According to reports from the development team and repository documentation, the system integrates a local bank sandbox, strict JSON-schema planning via Groq models, and an automated evidence gate to verify every transaction before execution.
The Trap Pack and Evidence Gate Vulnerability
During evaluation using a specialized testing suite known as the Trap Pack—which embeds fictional canary tokens and adversarial inputs into standard files—developers uncovered a significant security near-miss. Although the system correctly flagged and blocked an unauthorized phone call transcript instruction, its safety feature inadvertently reproduced the attacker's payload within the morning report meant for the owner. Because the evidence gate required a citation for every security flag, the mechanism copied the hostile text directly into an output document. According to project disclosures, the team addressed this vulnerability by adjusting the gate to cite only speaker labels or risk-triggering keywords rather than echoing untrusted source content.
Audit Logs and Evaluation Contamination
Further scrutiny revealed two additional vulnerabilities during the evaluation phase. The project's hash-chained audit log, intended to maintain a transparent historical record of agent actions, was faithfully storing raw hostile input text and committing it to a public code repository. Developers mitigated this issue by modifying audit records to store only metadata, hashes, lengths, and flags rather than full document texts. A third issue involved evaluation inflation, where the model's performance acceptance jumped to an artificial 88 percent because the rules engine's verdict accidentally leaked into the planning prompt. The team removed this self-grading feedback loop to ensure independent reporting of model and rule agreements.
Architectural Lessons for Agentic Security
The security hurdles faced during the development of Hisaab highlight a critical architectural lesson for autonomous agent engineering: every output channel represents a potential data exfiltration path. When building systems that process untrusted external data—such as emails, scraped web pages, or voice call transcripts—developers frequently focus on securing outbound transmission endpoints while overlooking internal reporting layers, diagnostic logs, and automated citations. As demonstrated by the project's Trap Pack evaluations, safety mechanisms designed to provide transparency can inadvertently become vectors for prompt injection propagation if they mirror hostile strings back to human operators. Furthermore, the challenges surrounding audit log hygiene and evaluation self-contamination emphasize the difficulty of maintaining rigorous separation between trusted internal states and untrusted external inputs. Relying on strict metadata logging, local sandboxes, and immutable architectural boundaries—such as restricting outbound network requests to a strict allowlist and utilizing Python's standard library without external dependencies—offers a blueprint for minimizing surface area in financial automation agents. For the broader developer community building agentic workflows, these findings underscore that rigorous red-teaming and adversarial testing frameworks are indispensable for uncovering covert channels before deployment in production environments.
Cover: AI-generated illustration with headline text; not a documentary photograph.
Source: Our evidence gate leaked the secret it was built to protect · GitHub – kushagragupta2005/hisaab-agent: Overnight clerk for Indian household bills. Anyone can make it stop; only your ledger can make it pay. Agentware 2026 · Life Admin. · GitHub

Leave a Reply