WhoBuilt

AI + Security & Safety

Apr 19, 2025· 18 min· 1.4K views·Watch on YouTube

Speaker

Don Bosco Durai, co-founder and CTO of Privacera and creator and PMC member of Apache Ranger, explains how to build safer, more reliable AI agents.

Why agents expand the security risk

Durai defines agents as autonomous systems that reason, create workflows, and call tasks and tools. Because many frameworks run agents, tasks, tools, and credentials in one process, a tool or third-party library may reach credentials or prompts used elsewhere. Agents’ unpredictable workflows add to the attack surface and can lead to unauthorized access or data leaks.

Treat production readiness as a governance problem

Durai says unreliable models, unsafe environments, and changed prompts can undermine safety and trust. A customer at a top-three credit bureau had built many agents but faced challenges moving them into production. The customer treated agents like human users who need onboarding and must follow rules governing access to California and European data.

Evaluate agents before deployment

Durai recommends a layered approach, starting with security and safety evaluations that produce a risk score for production decisions, including for third-party agents. Tests should cover use cases and ground truth, changes to prompts and dependencies, model and library vulnerabilities, prompt injection, data leakage, unauthorized actions, and agents caught in tight loops. He gives an HR example: an employee should see their own salary and benefits, while an HR admin may have broader access.

Enforce identity, permissions, and approvals

Durai says agents need authentication and authorization from the initial request through every task, tool, API, and database access. The user’s identity and permissions must reach the final data access point so an agent cannot exceed either its role or the user’s access. For approvals, he suggests automatic thresholds and human review for requests that exceed them.

Monitor behavior in production

Durai recommends tracking agent behavior because models, frameworks, libraries, and user inputs can change outcomes after testing. Teams can monitor failures and the amount of PII or confidential data sent, then set thresholds that trigger alerts when failures exceed tolerance. He describes anomaly detection as an emerging area for assessing whether agents stay within accepted boundaries.

Takeaways

  • Give each agent, task, and tool only the credentials and access it needs.
  • Gate production on security evaluations, including leakage, injection, and unauthorized-action tests.
  • Carry the user's identity and permissions through to every API and database access.
  • Set approval thresholds so high-impact agent actions receive human review.
  • Monitor failure rates and sensitive-data flows, with alerts for unusual behavior.

Mentioned in this talk

Search inside this talk

What was claimed 5

  • built
    creator and PMC member
    “creator and a PMC member of the Apache Ranger open-source project”
    YouTube
    Verified2 sources· Talk, Web· archived
  • founded
    Co-founder and CTO
    “co-founder and CTO of Privacera”
    YouTube
    Verified4 sources· Talk, Web· archived
  • feature
    Apache Ranger: Provides data governance for big data
    “It provides data governance for big data”
    YouTube
    Unverified1 source· Talk
  • feature
    AI agents: Can reason, create workflows, and call tasks and tools to perform actions
    “They can do their own reasoning, create their own workflows, and call tasks to perform actions”
    YouTube
    Unverified1 source· Talk
  • launched
    Page AI: Open-sourced safety and security solution for generative AI agents
    “we open-sourced our safety and security solutions. It's called Page AI”
    YouTube
    Unverified1 source· Talk

Related talks