DEV Community

Cover image for Building an Information Firewall for AI Agents
T C
T C

Posted on

Building an Information Firewall for AI Agents

Published: true

Description:TrustBoost is an open source middleware that redacts PII and verifies payments on Solana for autonomous AI agents.
tags: aiagents, opensource, privacy, solana

πŸ›‘οΈ TrustBoost: Information Firewall for AI Agents

I've been building AI agents (local and cloud-based) and noticed a recurring problem: agents leak sensitive data.

Emails, passwords, private keys, internal hostnames β€” all sent directly to LLMs without any control.

So I built TrustBoost.

What It Does

TrustBoost sits between your agent and the LLM. It acts as an information firewall with three layers:

Layer Function
Payment verification Checks Solana Network transactions (149 USDC for 10,000 sanitizations) β€” no human approval
PII redaction Uses GPT-4o-mini to detect and redact emails, passwords, private keys
Audit logging Saves every operation to Google Sheets for traceability

Why Solana?

Agents transact with each other without humans. Solana is fast, cheap, and Helius API makes verification simple.

How to Test It (50 Free Requests)


bash
curl -X POST "https://hook.us2.make.com/h4xqu3de1qlzn9mbrf7npe8rkelpft36" \
-H "Content-Type: application/json" \
-d '{
  "tx_hash": "TRIAL",
  "wallet_address": "your_wallet",
  "text": "My email is john@doe.com and my password is Secret123"
}'
Response:

json
{
  "status": "success",
  "cleaned_text": "My email is [REDACTED] and my password is [REDACTED]",
  "safety_score": "0.85",
  "risk_category": "CRITICAL"
}
For AI Agents (MoltBook Compatible)
TrustBoost exposes a molt.json schema so agents can discover and use the service autonomously.

Endpoint: https://hook.us2.make.com/h4xqu3de1qlzn9mbrf7npe8rkelpft36

Trial: "tx_hash": "TRIAL" (50 free)

Paid: real Solana tx_hash (149 USDC for 10,000 sanitizations)

Health check: https://raw.githubusercontent.com/teodorofodocrispin-cmyk/TrustBoost-PII-Sanitizer/main/health.json

Open Source
MIT licensed. Full blueprint available.

πŸ”— GitHub: https://bit.ly/4tOjFEj

Roadmap (self-hosted version)
I'm aware Make.com is not ideal for privacy-critical workloads. The next version will be a self-hostable proxy (FastAPI + Ollama) that you can run on your own infrastructure.

Feedback Welcome
This is a prototype. I'm building in public and learning as I go.

What would make you trust this for production use?

Integration with LangChain? OpenClaw?

Solana payment model β€” yay or nay?

Leave a comment or open an issue on GitHub.

Thanks for reading.



Enter fullscreen mode Exit fullscreen mode

Top comments (0)