Skip to content

    Type a page, a command such as keryn scan, or a rule id.

    azure-bedrock-vertex-ai-config-v2

    View as Markdown

    7 rules · Keryn Software Licence · rules 0.8.0 · all packs

    How to read a rule
    Severity
    How bad the finding is if it is real: error fails a default gate, warning and info do not.
    Confidence
    P0 exploitable as written; P1 dangerous in context; P2 a heuristic or a posture check: confirm by reading the code.
    False-positive risk
    low: an exact API or flag, so hits are almost always real; medium: the pattern is legitimate in many programs, so check each hit; high: it finds a lead to confirm, so expect benign hits.
    Edge
    The relationship the finding sits on. reaches: content or traffic gets to a thing; calls: one thing invokes another; reads: one thing reads from another; writes: one thing writes to another; sends: data leaves for another party; grants: authority is given or left unchecked; depends_on: something relies on a component it does not verify; trusts: one party believes another without evidence. The boundary it crosses, when there is one: user->prompt (untrusted input reaching a prompt); model->code (model output reaching code, a shell, a query or a page); secret->outside (a secret leaving the trusted side); supply-chain (code, models or prompts pulled in from outside).
    Taxonomy chips
    References for readers who work in OWASP LLM 2025, OWASP Agentic, CWE or NIST AI RMF. They say where a rule belongs, not that a framework is satisfied.

    seceng.cloudai.azure-openai-public-network-access

    Section titled “seceng.cloudai.azure-openai-public-network-access”

    info generic openai, google, aws-bedrock, azure-openai

    Azure OpenAI configuration appears to allow public network access or lacks private endpoint/network restrictions.

    Confidence P1: dangerous in context. False-positive risk high: it finds a lead to confirm, so expect benign hits.

    Edge inspected: reaches content or traffic gets to a thing; it crosses the user->prompt boundary (untrusted input reaching a prompt).

    CWE-306 LLM02 LLM06 LLM10 ASI10 ASI02 ASI08 GOVERN MANAGE

    seceng.cloudai.azure-openai-key-in-client-env

    Section titled “seceng.cloudai.azure-openai-key-in-client-env”

    warning typescript, javascript openai, google, aws-bedrock, azure-openai

    Azure/OpenAI credential appears exposed through public client env or frontend code.

    Confidence P2: a heuristic or a posture check: confirm by reading the code. False-positive risk low: an exact API or flag, so hits are almost always real.

    Edge inspected: grants authority is given or left unchecked.

    CWE-798 LLM02 LLM03 ASI03 GOVERN MANAGE

    seceng.cloudai.bedrock-broad-invoke-model-policy

    Section titled “seceng.cloudai.bedrock-broad-invoke-model-policy”

    warning generic google, aws-bedrock, azure-openai

    AWS Bedrock IAM policy grants broad bedrock:InvokeModel permissions. Restrict to approved models, regions, and principals.

    Confidence P2: a heuristic or a posture check: confirm by reading the code. False-positive risk medium: the pattern is legitimate in many programs, so check each hit.

    Edge inspected: grants authority is given or left unchecked.

    CWE-266 LLM03 LLM06 LLM10 ASI03 ASI04 ASI02 GOVERN MANAGE

    seceng.cloudai.bedrock-prompt-logging-or-tracing

    Section titled “seceng.cloudai.bedrock-prompt-logging-or-tracing”

    info typescript, javascript, python google, aws-bedrock, azure-openai

    Bedrock invocation logging/tracing appears to capture prompt, messages, completion, or request body without redaction controls.

    Confidence P1: dangerous in context. False-positive risk high: it finds a lead to confirm, so expect benign hits.

    Edge inspected: sends data leaves for another party; it crosses the secret->outside boundary (a secret leaving the trusted side).

    CWE-532 LLM02 LLM07 ASI01 GOVERN MANAGE

    seceng.cloudai.vertex-broad-aiplatform-permissions

    Section titled “seceng.cloudai.vertex-broad-aiplatform-permissions”

    warning generic google, aws-bedrock, azure-openai

    Google Vertex AI / AI Platform IAM appears to grant broad model invocation, endpoint, or job permissions.

    Confidence P1: dangerous in context. False-positive risk high: it finds a lead to confirm, so expect benign hits.

    Edge inspected: grants authority is given or left unchecked.

    CWE-266 LLM03 LLM06 LLM10 ASI03 ASI04 ASI02 GOVERN MANAGE

    seceng.cloudai.vertex-public-endpoint-or-logging

    Section titled “seceng.cloudai.vertex-public-endpoint-or-logging”

    warning python, typescript, javascript google, aws-bedrock, azure-openai

    Vertex AI endpoint/logging config appears public or logs raw prediction request/response data.

    Confidence P1: dangerous in context. False-positive risk high: it finds a lead to confirm, so expect benign hits.

    Edge inspected: reaches content or traffic gets to a thing; it crosses the user->prompt boundary (untrusted input reaching a prompt).

    CWE-200 CWE-306 LLM02 LLM06 LLM10 ASI10 ASI02 ASI08 GOVERN MANAGE

    seceng.cloudai-cross-account-model-invocation

    Section titled “seceng.cloudai-cross-account-model-invocation”

    warning generic google, aws-bedrock, azure-openai

    Cloud AI configuration appears to allow cross-account, allUsers, wildcard principal, or broad external model invocation.

    Confidence P1: dangerous in context. False-positive risk high: it finds a lead to confirm, so expect benign hits.

    Edge inspected: depends_on something relies on a component it does not verify.

    CWE-266 LLM03 LLM06 ASI04 ASI02 GOVERN MANAGE