Skip to content

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

    vector-db-auth-isolation-v2

    View as Markdown

    11 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.vectordb.pinecone-query-without-namespace-or-filter

    Section titled “seceng.vectordb.pinecone-query-without-namespace-or-filter”

    warning python, typescript, javascript pinecone

    Pinecone query appears without namespace or metadata filter. RAG retrieval should enforce tenant/user boundaries.

    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-639 LLM08 ASI03 ASI06 MAP MANAGE

    Also reported under the older id seceng.llm08.pinecone-query-without-namespace-or-filter.

    seceng.vectordb.qdrant-query-without-filter

    Section titled “seceng.vectordb.qdrant-query-without-filter”

    warning python qdrant

    Qdrant search/query appears without filter or tenant/user condition.

    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-639 LLM08 ASI03 ASI06 MAP MANAGE

    Also reported under the older id seceng.llm08.qdrant-search-without-filter.

    seceng.vectordb.qdrant-query-without-filter-js

    Section titled “seceng.vectordb.qdrant-query-without-filter-js”

    warning javascript, typescript qdrant

    Qdrant search/query appears without filter or tenant/user condition.

    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-639 LLM08 ASI03 ASI06 MAP MANAGE

    seceng.vectordb.weaviate-query-without-where-filter

    Section titled “seceng.vectordb.weaviate-query-without-where-filter”

    warning python, typescript, javascript weaviate

    Weaviate query appears without where/tenant filter.

    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-639 LLM08 ASI03 ASI06 MAP MANAGE

    seceng.vectordb.chroma-query-without-where

    Section titled “seceng.vectordb.chroma-query-without-where”

    warning typescript, javascript chroma

    Chroma collection query appears without where/tenant metadata filter.

    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-639 LLM08 ASI03 ASI06 MAP MANAGE

    Also reported under the older id seceng.llm08.chroma-query-without-where, seceng.llm08.chroma-query-without-where-js.

    seceng.vectordb.chroma-query-without-where-python

    Section titled “seceng.vectordb.chroma-query-without-where-python”

    warning python chroma

    Chroma collection query appears without where/tenant metadata filter.

    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-639 LLM08 ASI03 ASI06 MAP MANAGE

    seceng.vectordb.milvus-search-without-expr

    Section titled “seceng.vectordb.milvus-search-without-expr”

    warning python vector-db-auth-isolation

    Milvus search/query appears without expr/filter tenant condition.

    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-639 LLM08 ASI03 ASI06 MAP MANAGE

    seceng.vectordb.milvus-search-without-expr-js

    Section titled “seceng.vectordb.milvus-search-without-expr-js”

    warning typescript, javascript vector-db-auth-isolation

    Milvus search/query appears without expr/filter tenant condition.

    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-639 LLM08 ASI03 ASI06 MAP MANAGE

    seceng.vectordb.lancedb-search-without-filter

    Section titled “seceng.vectordb.lancedb-search-without-filter”

    warning python, typescript, javascript vector-db-auth-isolation

    LanceDB vector search appears without tenant/user filter.

    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-639 LLM08 ASI03 ASI06 MAP MANAGE

    warning python, typescript, javascript vector-db-auth-isolation

    Vector database client appears initialized with empty, default, public, or placeholder credentials.

    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-798 CWE-306 LLM03 LLM08 ASI03 ASI06 GOVERN MANAGE

    info python, typescript, javascript vector-db-auth-isolation

    Vector collection/index name appears static or shared without tenant namespace.

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

    Edge inspected: writes one thing writes to another.

    CWE-639 LLM08 ASI03 ASI06 MAP MANAGE