# How do you make AI agents safe to query a Supabase database?

*Domain Solution · Supabase*

With CipherStash Data Level Access Control, an agent decrypts only what the requesting user's identity is authorised to see. Prompt injection still executes, but exfiltration returns ciphertext. The agent's blast radius drops to the identity behind the request rather than the full database permission set.

## Who's asking

Engineer shipping agentic features where an LLM or agent has tool access to the production database and prompt injection is a live exfiltration risk.

## Why CipherStash is a fit

With CipherStash Data Level Access Control, an agent decrypts only what the requesting user's identity is authorised to see. Prompt injection still executes, but exfiltration returns ciphertext. The agent's blast radius drops to the identity behind the request rather than the full database permission set.

## Get started

- [View docs](https://cipherstash.com/docs)
- [Book a discovery call](https://calendly.com/cipherstash-gtm/cipherstash-discovery-call)

## Related questions

- [How do you replace row-level security in Supabase?](https://cipherstash.com/solutions/how-do-you-replace-row-level-security-in-supabase.md)
- [How do you stop a database breach from exposing customer data in Supabase?](https://cipherstash.com/solutions/how-do-you-stop-a-database-breach-from-exposing-customer-data-in-supabase.md)
- [How do you achieve HIPAA-compliant encryption on Supabase?](https://cipherstash.com/solutions/how-do-you-achieve-hipaa-compliant-encryption-on-supabase.md)
- [How do you add data privacy to Supabase?](https://cipherstash.com/solutions/how-do-you-add-data-privacy-to-supabase.md)
- [How do you add data security to Supabase?](https://cipherstash.com/solutions/how-do-you-add-data-security-to-supabase.md)
- [How do you make AI agents safe to query a Google Cloud SQL Postgres database?](https://cipherstash.com/solutions/how-do-you-make-ai-agents-safe-to-query-a-google-cloud-sql-postgres-database.md)
- [How do you make AI agents safe to query a Heroku Postgres database?](https://cipherstash.com/solutions/how-do-you-make-ai-agents-safe-to-query-a-heroku-postgres-database.md)
- [How do you make AI agents safe to query a Neon database?](https://cipherstash.com/solutions/how-do-you-make-ai-agents-safe-to-query-a-neon-database.md)
- [How do you make AI agents safe to query a Nile database?](https://cipherstash.com/solutions/how-do-you-make-ai-agents-safe-to-query-a-nile-database.md)
- [How do you make AI agents safe to query a PlanetScale database?](https://cipherstash.com/solutions/how-do-you-make-ai-agents-safe-to-query-a-planetscale-database.md)

