Redbot Labs / Attack Intelligence

AI Inference Supply Chain Prompt Theft

Record ID
RB-084
Severity
High
Category
Data Leakage
Confidence Score
95

Summary

AI Inference Supply Chain Prompt Theft occurs when attackers obtain prompts, responses or embedded secrets through compromised infrastructure that receives, routes, processes or retains AI requests. The model may behave as expected while provider systems expose sensitive content. Credentials found in that content can create a path into separate business systems.

Executive Summary

Enterprise AI requests can cross several security boundaries before a response reaches the user. Gateways, inference providers, diagnostic systems and retained datasets may each handle sensitive content. Approving an application or model does not establish that every component in this processing chain applies the same access, retention and monitoring controls.

This attack pattern involves unauthorized collection through infrastructure supporting AI inference. An attacker may access stored prompts, responses or diagnostic records without manipulating the model or causing it to reveal information through its output.

Provider disclosures illustrate the exposure. Together AI reported unauthorized retrieval of retained prompt samples following credential exposure. GMI Cloud separately disclosed unauthorized access to logging and monitoring infrastructure supporting its inference service.

Organizations should establish where request content can be retained, which identities can access it and what authority any embedded credentials would provide. Validation must examine those controls independently of model refusals, system instructions and response filtering.

Attack Overview

Primary objective

Obtain sensitive information or credentials from systems that process or retain AI inference requests.

Entry conditions

The attacker gains unauthorized access to a component in the processing chain. Entry conditions may include compromised operational credentials, vulnerable administrative services or ineffective access controls. The actual entry mechanism must be established for each incident.

Collection opportunity

Prompts, responses, request traces, support exports and retained samples may contain confidential documents, internal application details or credentials. Access to these records can expose information that users believed was confined to their interaction with an approved AI application.

Potential follow-on activity

Credentials found in collected content may enable attempts against connected enterprise services. Successful downstream access is a separate finding and should not be assumed merely because a credential was exposed.

Distinction from related techniques

Prompt Leakage focuses on information disclosed through model responses. Exposed AI Data Store addresses inadequately protected persistent storage. This narrative focuses on compromise across the inference processing chain, including trusted provider infrastructure and operational identities.

Prompt injection is not required for this attack pattern.

Attack Flow

  1. Request submission: An application sends content through an approved AI service or intermediary.
  2. Processing and retention: Infrastructure processes the request and may retain content in diagnostic systems, support tools or sample repositories.
  3. Unauthorized access: An attacker compromises an identity or component with access to that content.
  4. Collection: The attacker retrieves available prompts, responses or associated records.
  5. Sensitive-content discovery: Collected material is examined for confidential information or credentials.
  6. Potential downstream access: Exposed credentials may be used to attempt access to other systems.
  7. Containment: Defenders close the access path, assess exposure and revoke affected credentials.

This is a generalized sequence. Not every documented incident includes every stage.

Affected Systems

  • AI inference gateways and routing services.
  • Managed model-serving infrastructure.
  • Diagnostic logs and request-tracing systems.
  • Monitoring consoles and administrative interfaces.
  • Stored prompt samples and support exports.
  • Service accounts with access to inference content.
  • Enterprise systems accessible through exposed credentials.

Business Impact

Compromise of inference-processing infrastructure can expose confidential business information, customer data and credentials entrusted to AI workflows.

Potential consequences include:

  • Disclosure of sensitive prompts, responses or supporting context.
  • Unauthorized access to services through exposed credentials.
  • Investigation and containment costs.
  • Disruption during credential rotation or provider replacement.
  • Loss of confidence in approved AI processing arrangements.
  • Contractual or compliance obligations arising from confirmed data exposure.

Impact depends on the actual content accessed, credential permissions, retention window and evidence of subsequent use. A provider incident does not establish that every customer or request was affected.

Testing Methodology

Processing-chain review

Identify the application, gateways, inference providers, fallback routes and operational systems handling requests. Document where sensitive content may be retained and who controls each boundary.

Controlled content tracing

Use synthetic markers in authorized test requests to identify where content appears in available logs, traces and exports. Examine successful requests and error-handling paths.

Access-control validation

Test permitted and denied access using scoped customer, support and service identities. Determine whether an identity can retrieve content beyond its intended responsibilities.

Retention and deletion validation

Compare configured retention with observed behavior. Check for secondary copies in diagnostic stores, exports and support workflows after the primary record is deleted.

Credential exposure and revocation

Use isolated test credentials without production access when assessing secret handling. Verify that revocation prevents subsequent use and generates appropriate audit evidence.

Reporting

Document the affected boundary, supporting evidence, control effectiveness and remediation priorities. Clearly identify provider-side controls that could not be independently tested.

Testing must remain within written authorization. Access to a provider’s public API does not authorize testing its internal infrastructure.

Detection Guidance

  • Monitor unusual reads, downloads and exports from request-content stores.
  • Investigate unexpected administrative sessions and changes to diagnostic access permissions.
  • Correlate operational credential use with abnormal data retrieval.
  • Alert on interactions with controlled canaries.
  • Review unexpected use of credentials associated with AI workflows.
  • Monitor changes that enable content logging, extend retention or introduce new routing destinations.
  • Preserve access and configuration evidence needed to establish the exposure window.

Routine detection should favor identity, access and configuration metadata. Where content capture is necessary, apply data minimization, restricted access and defined retention to avoid creating another sensitive repository.

Mitigation Guidance

Minimize sensitive content

Keep production credentials and unnecessary confidential information out of prompts. Use scoped application integrations for authorized actions rather than placing secrets in conversational context.

Limit retention

Disable unnecessary prompt and response logging. Verify retention settings across gateways, providers, diagnostic systems and support workflows.

Separate operational access

Isolate administrative and diagnostic systems from inference workloads. Restrict access to retained content according to job function and service requirements.

Strengthen identity controls

Use least-privilege permissions and short-lived credentials where supported. Review service-account scope and remove unused access paths.

Protect development workflows

Scan repositories and build artifacts for secrets. Treat credential exposure as requiring revocation and investigation, even when the exposed content is quickly removed.

Prepare for provider incidents

Maintain an inventory of AI processing dependencies. Include downstream credential review, revocation and exposure assessment in incident-response procedures.

Verify assurance

Request evidence of provider access, retention and isolation controls appropriate to the sensitivity of the workload. Document gaps that remain outside the organization’s testing scope.

MITRE Mapping

MITRE ATT&CK T1530: Data from Cloud Storage Applicable where attackers collect retained prompt or request content from cloud storage. MITRE ATT&CK T1552.001: Unsecured Credentials: Credentials In Files Applicable where attackers search retained files for embedded credentials. These are contextual mappings. Their applicability depends on the behavior documented in each incident.

OWASP Mapping

MITRE ATT&CK T1530: Data from Cloud Storage Applicable where attackers collect retained prompt or request content from cloud storage. MITRE ATT&CK T1552.001: Unsecured Credentials: Credentials In Files Applicable where attackers search retained files for embedded credentials. These are contextual mappings. Their applicability depends on the behavior documented in each incident.

Technical References

Together AI: Security event involving retained prompt samples
Provider disclosure describing credential exposure and unauthorized retrieval of stored prompt samples. Published November 21, 2026.
https://www.together.ai/blog/security-event-prompt-leakage-for-requests-in-june-and-july-of-2026

GMI Cloud: Security incident affecting inference endpoints
Provider disclosure describing unauthorized access to inference logging and monitoring infrastructure. Published November 24, 2026.
https://www.gmicloud.ai/en/blog/security-incident-affecting-gmi-cloud-endpoints-on-openrouter

MITRE ATT&CK T1530: Data from Cloud Storage
https://attack.mitre.org/techniques/T1530/

MITRE ATT&CK T1552.001: Credentials In Files
https://attack.mitre.org/techniques/T1552/001/

OWASP LLM02:2025: Sensitive Information Disclosure
https://genai.owasp.org/llmrisk/llm022025-sensitive-information-disclosure/

OWASP LLM03:2025: Supply Chain
https://genai.owasp.org/llmrisk/llm032025-supply-chain/

Related Attack Intelligence