GCP Vertex AI Prompt or Response Containing Credentials
Detects a GCP Vertex AI GenerateContent exchange whose prompt or model reply contains a known credential pattern (AWS access keys, GitHub tokens, PEM private keys, and similar), or whose assistant reply warns about…
Description
Detects a GCP Vertex AI GenerateContent exchange whose prompt or model reply contains a known credential pattern (AWS access keys, GitHub tokens, PEM private keys, and similar), or whose assistant reply warns about exposed keys and revocation. Secrets in prompt/response logs are visible to anyone with access to BigQuery prompt-response export and Elastic.
Detection logic
Its licence does not clear it for publishing here
Sunturai publishes a detection's own text where the licence it arrived under has been reviewed and permits it, and Elastic License 2.0 has not. The query as its source wrote it, its canonical form and the hash that pins this revision are in the workspace record.
Detection requirements
- Platform
- ContainersIaaSIdentity ProviderLinuxmacOSNetwork DevicesOffice SuiteSaaSWindows
The rule states no platform. This is derived from the ATT&CK technique it maps to.
Known benign triggers
- Documentation and unit tests that paste example keys (for example an AWS access key ending in EXAMPLE) match the token patterns. Confirm the value is live before rotating it.
MITRE ATT&CK mappings
0 exclusive techniques.This is coverage no other published rule has; it is not this rule's total technique count.
References
| Reference | Cited by |
|---|---|
| genai.owasp.org/llmrisk/llm06-sensitive-information-disclosure | 2 |
| github.com/elastic/integrations/issues/20740 | 2 |
| www.elastic.co/docs/reference/integrations/gcp_vertexai | 9 |
From the source
- At source
- Open at source
- Upstream identifier
- 4a1683ef-7f20-4c2a-bfa6-6eb7c3dc03d3
- Tagged by the source as
- Mitre Atlas: AML.T0055Mitre Atlas: AML.T0057Data Source: GCPData Source: GCP Vertex AIData Source: Google Cloud PlatformDomain: CloudDomain: GenAIPlatform: GCPResources: Investigation GuideRule Type: ES|QLService: GCP Vertex AITactic: Credential AccessThreat: LLMjackingThreat: Unauthorized AI UsageUse Case: Threat Detection
Licence
- Published under
- Elastic License 2.0Read the licence
- Attribution
- Required
Authorship
- Written by
- Published
- Oct 8, 2026
- Version
- 1