Skip to content
Wren

Wren

Security Gateway for AI Applications

Created on 8th March 2026

•

Wren

Wren

Security Gateway for AI Applications

The problem Wren solves

The Problem It Solves

AI assistants and agents accept natural language input, which makes them vulnerable to prompt injection attacks. Attackers can manipulate prompts to override system instructions, extract sensitive data, or trigger unintended tool actions.

Wren acts as a security gateway between applications and AI models. Every request is inspected before reaching the model, allowing Wren to detect malicious prompts, enforce policies, and block unsafe actions.

This enables developers to safely deploy AI features without building complex security layers themselves.

What People Can Use It For

  • Protect AI chatbots and copilots from prompt injection
  • Secure AI agents that can call tools or APIs
  • Monitor AI security events through a dashboard
  • Enforce custom policies for AI interactions

Challenges we ran into

One challenge was linking the gateway, authentication backend, and dashboard so API keys, logs, and blocked prompts could sync in real time. Since the gateway intercepts every AI request, it had to validate keys and log events correctly, which required debugging multiple request flows.

Another challenge was detecting prompt injection patterns. Attacks can be phrased in many ways, so we built a large suspicious phrase rule set and trained a fine-tuned DistilBERT model to detect semantic similarities and assign a suspicion score.

Discussion

Builders also viewed

See more projects on Devfolio