惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园_首页
大猫的无限游戏
大猫的无限游戏
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Apple Machine Learning Research
Apple Machine Learning Research
B
Blog
B
Blog RSS Feed
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
P
Proofpoint News Feed
MyScale Blog
MyScale Blog
Engineering at Meta
Engineering at Meta
量子位
H
Hackread – Cybersecurity News, Data Breaches, AI and More
T
Tailwind CSS Blog
Stack Overflow Blog
Stack Overflow Blog
N
Netflix TechBlog - Medium
T
The Blog of Author Tim Ferriss
U
Unit 42
aimingoo的专栏
aimingoo的专栏
博客园 - 叶小钗
博客园 - 【当耐特】
云风的 BLOG
云风的 BLOG
博客园 - Franky
博客园 - 聂微东

Forbes - Innovation

Why Do Humans Have Fingerprints? Hint: It’s Not What You Think Booking.com Confirms Data Breach, Reservation PIN Codes Changed Why Major News Sites Are Blocking The Internet Archive’s Wayback Machine iPhone Fold Release Date: New Report Details Frustrating Apple News Comet Tracker: How To See Pan-STARRS And Three Planets On Wednesday NYT Mini Crossword Today: Tuesday, April 14 Hints And Answers Today’s NYT Strands Hints, Spangram, Answers: Tuesday, April 14 (It’s A Little Unclear) Today’s Wordle #1760 Hints And Answer For Tuesday, April 14 Most Of The Microplastics In Urban Air Come From Tires Today’s Wordle #1759 Hints And Answer For Monday, April 13 NYT Mini Crossword Today: Monday, April 13 Hints And Answers NYT Pips Today: Hints, Answers And Walkthrough For Monday, April 13 The YC Chief Who Codes 10,000 Lines A Day Has A Simple Secret Samsung Expands One UI 8.5 Beta To More Galaxy Owners Why You Should Stop Using Your iPhone If It’s On This List Chamath Says Firms That Treat AI As A Strategy Hand Rivals Their Edge 3 Unexpected Habits Of Secure Couples, By A Psychologist The First Lamp That Folds Your Clothes Samsung’s Disappointing Price Update For Galaxy Phone Buyers 3 Subtle Signs Someone Is Falling In Love With You, By A Psychologist Do Mantis Shrimp See More Colors Than Humans? A Biologist Explains NYT Connections Answers Explained For Monday, April 13 (#1,037) NYT Connections Hints Today: Monday, April 13 Clues And Answers (#1,037) LEGO Luigi & Mach 8 (72050) Review: 2026’s Best Set Yet? Marc Andreessen Says AI Productivity Will Trigger A Hiring Boom 3D Printing Is The Ultimate Hack To Reduce Household Spending Apple iPhone Fold: Striking Design Revealed In Leaked Photos Apple Smart Glasses: New Leak Reveals A Major Design Twist To Beat Meta Tested: The AI Coming To The Rivian R2 Quordle Hints Today: Monday, April 13 Clues And Answers
Data Security Considerations For Building Enterprise AI A...
Quang Tuan D · 2026-05-11 · via Forbes - Innovation

Tony Dang is co-founder & CTO at Infisical, an identity and security infrastructure platform.

getty

AI agents and custom AI-powered applications are rapidly becoming commonplace in production. But to implement them, engineering teams are connecting large language models (LLMs) to internal databases, customer records, proprietary codebases and operational systems.

This, of course, expands the data security surface. Each time an enterprise sends a query to an LLM provider, it starts a data pipeline that flows sensitive information outside organizational boundaries. And every time an agent acts on untrusted input, it creates an opportunity for that pipeline to be exploited.

As CTO of Infisical, I spend a lot of time thinking about security infrastructure. In this article, I explore the data security risks that enterprises should be thinking about when building custom AI applications and agents, and the practical controls that can reduce exposure today.​

Building Classification And Redaction Into The Data Pipeline

When an enterprise builds a custom AI application, whether it's a support agent, a code review tool or an internal knowledge assistant, it typically connects to an LLM provider via API. Any data you want the model to reason over must be sent to the provider.

This means that if your agent summarizes customer support tickets, the contents of those tickets leave your infrastructure. If it searches internal documentation to answer employee questions, the relevant documents are included in the request payload.

Organizations need to internalize a simple principle: Calling an LLM API is a data transfer. You're trusting the provider with every piece of information included in that context window. The data leaves your perimeter, transits their infrastructure and is processed on their systems.

Some providers also retain API inputs by default and may use them for model training unless you explicitly opt out or use specific API tiers with different data handling terms. Enterprises should review these policies carefully before production data flows through the pipeline.

This doesn't mean enterprises should avoid using LLM providers. It means they should be deliberate about what they send. Sensitive fields like personally identifiable information, financial records, credentials, health data and internal access tokens should be stripped or redacted before data reaches the provider. This is a necessary control any time proprietary or regulated data is involved.

I've seen teams move quickly to prototype an AI feature and only later realize that production data flowing through the application includes information that should never have left the organization. The earlier data classification and redaction are built into the pipeline, the less painful the remediation.​

Data And Credential Exfiltration Through Prompt Injection​

Beyond the inherent data exposure of LLM API calls, there's a more adversarial risk: prompt injection leading to data exfiltration.

LLMs are probabilistic systems. They don't follow instructions the way traditional software executes code. When an agent processes external content such as emails, documents, web pages or user-submitted text, that content can contain adversarial instructions designed to manipulate the model's behavior.

Through prompt injection, an attacker can attempt to cause an agent to leak sensitive data it has access to. This could mean extracting customer records, internal documents or API responses that the agent retrieves as part of its workflow. In the worst case, attackers can target credentials themselves, attempting to exfiltrate secrets, API keys or tokens that the agent uses to authenticate with internal systems. If successful, this gives the attacker direct access to the organization's infrastructure without ever needing to breach a network boundary.

Security researchers have demonstrated prompt injection attacks that cause agents to embed sensitive data in outbound requests, encode credentials into URLs or exfiltrate information through tool calls that the agent is authorized to make. These attacks exploit the agent's own permissions and capabilities, so from the system's perspective, the agent appears to be behaving normally even though its intent has been subverted.​

Practical Controls For Reducing Exposure​

Given these risks, there's no single solution because the right approach depends on the application, the data involved and the threat model. But several principles apply broadly.

1. Classify and redact before anything leaves your perimeter.

Build data classification into the pipeline early. Identify which fields contain sensitive information and ensure they're stripped, masked or replaced with placeholders before being included in any LLM request.

2. Centralize secrets management and prefer short-lived credentials.

If an agent requires credentials to interact with internal systems, those credentials shouldn't be hardcoded, embedded in environment variables or statically provisioned. They should be managed through centralized secrets management infrastructure that supports audit logging, access policies and automated rotation. Where possible, use dynamic or short-lived credentials that are issued on demand and expire after use. If an attacker manages to exfiltrate a credential through prompt injection, a dynamically issued secret with a short TTL dramatically limits the window of exploitation compared to a static API key that's been active for months.

3. Enforce constraints outside the model.

Don't rely on prompt engineering alone to prevent misuse. Security controls for tool invocation, allowlists for sensitive operations, output filtering and verification steps for high-impact actions should exist in the application layer, not inside the prompt. The model shouldn't be the last line of defense for preventing unauthorized data access or credential exposure.​

Moving Forward​

The industry hasn't yet converged on a standardized framework for securing AI agent data flows, and the threat landscape around prompt injection continues to evolve. But that isn't a reason to delay action. Data redaction, centralized secrets management with dynamic credentials and application-layer security constraints are available today and can materially reduce risk.

Organizations that treat data security as a foundational concern will be far better positioned as agents become more capable, more autonomous and more deeply integrated into critical systems.​


Forbes Technology Council is an invitation-only community for world-class CIOs, CTOs and technology executives. Do I qualify?