AI systems in the cloud combine everything security teams already worry about (data stores, compute clusters, CI/CD and APIs) with new assets such as model weights, vector databases and autonomous agents.
This article sets out a vendor-neutral AI workload security framework across five layers: identity, data, model supply chain, inference and runtime, and governance. Each layer lists concrete controls, detection ideas and the framework references they map to.
The guidance applies whether you train your own models, fine-tune open-weight models or call a managed model API from your own applications.
Breaches involving AI are already common, and access control is the recurring failure. IBM’s Cost of a Data Breach Report 2025 found that 13% of organizations reported breaches of AI models or applications, and 97% of those lacked proper AI access controls (2025).
The same report found that organizations with high levels of shadow AI paid about $670,000 more per breach, and 63% of breached organizations had no AI governance policy or were still developing one.
Three properties make AI workloads different from ordinary applications:
The OWASP Top 10 for LLM Applications 2025 and MITRE ATLAS catalog these risks; NIST’s AI 600-1 Generative AI Profile maps them to the AI Risk Management Framework.
OWASP has since published a 2026 revision, summarized in this overview of the OWASP GenAI LLM Top 10 2026.
Identity is where most cloud AI incidents begin. Leaked cloud keys are tested by attackers within minutes; Entro Labs exposed working AWS keys publicly and saw first attacker API calls in 9 to 17 minutes, as reported in hackers hijacking cloud AI models with exposed keys.
The motive is often “LLMjacking”: using a victim’s account to run paid model inference.
This sequence follows a case documented by FortiGuard Labs and described in an LLMjacking attack using a leaked AWS IAM key:
An illustrative CloudTrail query (Amazon Athena) to spot unusual model invocation by identity:
SELECT useridentity.arn, sourceipaddress, eventname, count(*) AS calls
FROM cloudtrail_logs
WHERE eventsource = ‘bedrock.amazonaws.com’
AND eventname IN (‘InvokeModel’,’InvokeModelWithResponseStream’,’Converse’)
AND eventtime > date_format(current_timestamp – interval ‘1’ day, ‘%Y-%m-%dT%H:%i:%sZ’)
GROUP BY 1,2,3
HAVING count(*) > 500
ORDER BY calls DESC;
Pair this with alerts on new IAM users, new access keys, and model access or marketplace subscription changes. Enable model invocation logging where your provider supports it.
Training sets, fine-tuning corpora and retrieval-augmented generation (RAG) indexes often aggregate the most sensitive data a company holds.
They also introduce data and model poisoning (OWASP LLM04:2025) and sensitive information disclosure (LLM02:2025).
Models, notebooks, Python packages and container images move through the same kind of pipeline as application code, and they are attacked the same way.
Pickle-based model files are a specific hazard because deserialization can execute code.
ReversingLabs found malicious models on Hugging Face that abused Pickle serialization to evade platform scanning (2025).
This aligns with OWASP LLM03:2025 (Supply Chain) and with ATT&CK T1195 (Supply Chain Compromise).
Once a model is serving requests, the main risks are prompt injection (LLM01:2025), improper output handling (LLM05:2025), excessive agency (LLM06:2025) and unbounded consumption (LLM10:2025).
Indirect prompt injection is the hardest case: instructions hidden in a document, email or web page that the model reads.
See how prompt injection attacks bypass AI agents through user input for real examples.
| Risk | Control |
|---|---|
| Prompt injection | Treat all model output as untrusted; separate system instructions from retrieved content; use input and output classifiers as one layer, not the only one |
| Improper output handling | Encode or validate model output before it reaches browsers, shells, SQL or APIs |
| Excessive agency | Give agents minimal tools and scopes; require human approval for payments, deletions and external messages |
| Unbounded consumption | Per-identity rate limits, token quotas and budget alerts |
| System prompt leakage | Keep secrets and authorization logic out of prompts entirely |
Workflow automation increases exposure because agents act across systems. Review connectors and permissions in AI workflows with the same rigor as any privileged integration.
AI infrastructure still runs on ordinary cloud resources: GPU instances, Kubernetes clusters, storage buckets and managed notebooks. Misconfigured notebooks with public endpoints, over-permissive service accounts and unencrypted model buckets are frequent findings.
It is the set of controls that protect AI systems running in the cloud, including the identities they use, training and retrieval data, model artifacts, inference endpoints and the infrastructure underneath.
LLMjacking is the abuse of stolen cloud credentials or API keys to run paid AI model inference at the victim’s expense. It usually starts with a leaked long-lived access key.
Store models in a private registry, scan and sign them, load only safe formats, pin versions by hash, and restrict which identities can deploy or modify them.
It is an OWASP list of the most critical security risks for applications built on large language models, including prompt injection, sensitive information disclosure, supply chain and excessive agency.
There is no complete fix. Reduce impact by limiting model permissions and tools, validating outputs, separating instructions from untrusted content and requiring human approval for sensitive actions.
OpenAI has launched GPT-6 Cyber, a security-focused AI model that found 81 new high-severity Firefox…
Shopify is making IP allowlisting mandatory for public apps that call its Admin API, adding…
Microsoft’s Windows Paint vulnerability, CVE-2026-83844, could allow an unauthenticated attacker to execute code over a…
Melbourne, Florida, November 5th, 2026, CyberNewswire OpenMatter Network, a pioneer in decentralized infrastructure for agentic…
A new Android bug named GhostMap can leave a phone stuck in a crash loop…
A China-aligned hacking group is abusing Sogou Input Method, one of the most popular Chinese…