5 ways to protect your data while using AI

|
Updated

Most users assume AI inference is a private transaction between themselves and the model provider. However, our recent five-month research project tracking nearly two million prompts seeded with canary tokens revealed widespread security failures, including provider compromises, unauthorized logging by marketplace resellers, ignored privacy settings, and hidden intermediate routing hops.

We also observed stolen credentials and secret URLs continuing to trigger access attempts weeks and months after a single request, proving that sensitive prompt data remains persistently exposed across the AI supply chain.

These findings point to a broader problem: organizations increasingly treat AI inference as a commodity service, but if you’re using AI routers to manage your model costs, every prompt passes through a complex supply chain of model providers, hosting partners, inference platforms, resellers, logging systems, and data pipelines. Our findings suggest that many organizations have far less visibility into that supply chain than they realize.

Here are five actionable strategies to protect your inference data when using LLM services, from cheapest (and complicated to expensive and easiest):

  1. Add your own canaries. Drop a fake credential into the context that your agents and pipelines already send, and treat any use of it as an incident. Explore free Canarytokens from Thinkst or others to get you started.

  2. Be careful with routers. Choose the upstream providers yourself rather than accepting the default pool, and confirm that your privacy settings actually change where your requests are routed. Steer clear of reseller marketplaces (some of that capacity comes from stolen keys).

  3. Turn on secret filtering. Some providers offer settings that automatically scrub known credential formats from prompt data. It won’t fully address this issue, but it can’t hurt, and can accidentally prevent you and your users from leaking a secret.

  4. Go straight to a first-tier provider. This streamlines the process by only having one company, one contract, and one privacy policy to read. Yes, data can still leak through data sharing agreements or a breach at the provider, but it presents the smallest exposure.

  5. Self-host, if you can afford it. This is the only option where nobody else can read your prompts, but the hardware is expensive. A Mac Studio with 512 GB of memory starts at $22,299, NVIDIA’s DGX Spark now runs $6,950, a DGX Station starts at roughly $105,000, and an eight-GPU B300 server lists for $570,000 or more. For most teams, it’s only worth it for the most sensitive work.

Ultimately, protecting your prompt data requires standardizing visibility and control across your entire AI infrastructure. By taking a proactive approach to provider selection, monitoring, and secrets management, organizations can safely leverage LLMs without compromising sensitive information.

Ready to take command of your attack surface in the AI era? Start your free 21-day trial with runZero today to gain continuous visibility, expose security blind spots, and safeguard your sensitive data.

Written by todb

Tod Beardsley is VP of Security Research at Dragos, where he "kicks assets and fakes frames." He joined Dragos following its acquisition of runZero, where he worked after leaving public service. Prior to 2025, he was the Section Chief for the Vulnerability Response section for CSD/VM/VRC at CISA, the Cybersecurity and Infrastructure Security Agency, part of the US government, and a seasonal Travis County Election Judge in Texas. He's also a founder and CNA point of contact for AHA!. Tod spends much of his time involved in vulnerability research and coordinated vulnerability disclosure (CVD). He has over 30 years of hands-on security experience, stretching from in-band telephony switching to modern ICS/OT implementations. He has held IT ops, security, software engineering, and management positions in large organizations such as the US Government, Rapid7, 3Com, Dell, and Westinghouse, as both an offensive and defensive practitioner. Tod is a CVE Board member, has authored several research papers, and is an internationally-tolerated horror fiction expert.

More about todb
Subscribe Now

Get the latest news and expert insights delivered in your inbox.

Welcome to the club! Your subscription to our newsletter is successful.

Explore more runZero

Product
runZero 5.1 is here: Secure AI workflows, enhanced integrations, and expanded autonomous discovery
runZero 5.1 takes on the heavy lifting across five key areas, enabling you to unmask and remediate exposures with less friction and more speed.
Podcasts
Know Your Adversary with HD Moore
runZero CEO HD Moore breaks down the myth of air-gapped networks, the impact of AI on security, and why asset connectivity is everything.
runZero Perspective
BOD 26-04: A new era of prioritized remediation
A complete breakdown of CISA's BOD 26-04 directive. Learn how the shift to SSVC, risk-based KEV prioritization, and 3-day remediation impacts your...
runZero Perspective
Dawn of the apex agentic adversary
When agentic AI can weaponize exploits in seconds, visibility is everything. Stop the predator with runZero’s exposure management for the AI-attack...
Webcasts
runZero Hour, Ep. 36: Agentic AI – because finding bugs manually is so 2025
HD Moore and Thai Duong joined the runZero Hour to discuss AI bug hunting, vulnerability disclosure, PHP2Shell mechanics, and the October 2026 PHP...
Podcasts
Risky Business: Tod Beardsley talks post-quantum cryptography
VP of security research Tod Beardsley joins Patrick Gray to chat about fear around the looming post-quantum cryptography crisis.
Webcasts
runZero Hour, Ep. 35: Dragos and the Research Cinematic Universe
Recap the runZero Hour crossover with Dragos, NetRise, and runZero. Discover insights on the PHPocalypse, OT/IT security research, and...
Podcasts
Risky Biz: HD Moore talks OT security, frontier fearmongering and more
Patrick Gray chats with industry legend HD Moore about how his company runZero wound up being used heavily to discover OT devices in enterprise...

See Results in Minutes

See & secure your total attack surface. Even the unknowns & unmanageable.