Skip to content

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

    inventory-aibom-v1

    View as Markdown

    29 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.

    info generic openai

    References the OpenAI SDK.

    Confidence P1: dangerous in context.

    Edge inspected: depends_on something relies on a component it does not verify; it crosses the supply-chain boundary (code, models or prompts pulled in from outside).

    info generic anthropic

    References the Anthropic SDK.

    Confidence P1: dangerous in context.

    Edge inspected: depends_on something relies on a component it does not verify; it crosses the supply-chain boundary (code, models or prompts pulled in from outside).

    info generic google

    References a Google generative-AI SDK.

    Confidence P1: dangerous in context.

    Edge inspected: depends_on something relies on a component it does not verify; it crosses the supply-chain boundary (code, models or prompts pulled in from outside).

    info generic langchain

    References LangChain.

    Confidence P1: dangerous in context.

    Edge inspected: depends_on something relies on a component it does not verify; it crosses the supply-chain boundary (code, models or prompts pulled in from outside).

    info generic langgraph

    References LangGraph.

    Confidence P1: dangerous in context.

    Edge inspected: depends_on something relies on a component it does not verify; it crosses the supply-chain boundary (code, models or prompts pulled in from outside).

    info generic llamaindex

    References LlamaIndex.

    Confidence P1: dangerous in context.

    Edge inspected: depends_on something relies on a component it does not verify; it crosses the supply-chain boundary (code, models or prompts pulled in from outside).

    info generic vercel-ai-sdk

    References the Vercel AI SDK.

    Confidence P1: dangerous in context.

    Edge inspected: depends_on something relies on a component it does not verify; it crosses the supply-chain boundary (code, models or prompts pulled in from outside).

    info generic huggingface

    References Hugging Face transformers/hub.

    Confidence P1: dangerous in context.

    Edge inspected: depends_on something relies on a component it does not verify; it crosses the supply-chain boundary (code, models or prompts pulled in from outside).

    info generic ollama

    References Ollama.

    Confidence P1: dangerous in context.

    Edge inspected: depends_on something relies on a component it does not verify; it crosses the supply-chain boundary (code, models or prompts pulled in from outside).

    info generic litellm

    References LiteLLM gateway.

    Confidence P1: dangerous in context.

    Edge inspected: depends_on something relies on a component it does not verify; it crosses the supply-chain boundary (code, models or prompts pulled in from outside).

    info generic crewai, autogen

    References a multi-agent framework.

    Confidence P1: dangerous in context.

    Edge inspected: depends_on something relies on a component it does not verify; it crosses the supply-chain boundary (code, models or prompts pulled in from outside).

    ASI02 ASI07

    info generic inventory-aibom

    References a vector database client.

    Confidence P1: dangerous in context.

    Edge inspected: depends_on something relies on a component it does not verify; it crosses the supply-chain boundary (code, models or prompts pulled in from outside).

    ASI06

    info generic mcp

    References the Model Context Protocol SDK or a FastMCP server.

    Confidence P1: dangerous in context.

    Edge inspected: depends_on something relies on a component it does not verify; it crosses the supply-chain boundary (code, models or prompts pulled in from outside).

    ASI02

    info generic inventory-aibom

    References an LLM guardrail/injection-defence library.

    Confidence P1: dangerous in context.

    Edge inspected: depends_on something relies on a component it does not verify; it crosses the supply-chain boundary (code, models or prompts pulled in from outside).

    ASI01

    info generic openai

    Hard-coded OpenAI model identifier.

    Confidence P1: dangerous in context.

    Edge inspected: depends_on something relies on a component it does not verify; it crosses the supply-chain boundary (code, models or prompts pulled in from outside).

    info generic anthropic

    Hard-coded Anthropic model identifier.

    Confidence P1: dangerous in context.

    Edge inspected: depends_on something relies on a component it does not verify; it crosses the supply-chain boundary (code, models or prompts pulled in from outside).

    info generic google

    Hard-coded Gemini model identifier.

    Confidence P1: dangerous in context.

    Edge inspected: depends_on something relies on a component it does not verify; it crosses the supply-chain boundary (code, models or prompts pulled in from outside).

    info generic inventory-aibom

    Hard-coded open-weights model identifier.

    Confidence P1: dangerous in context.

    Edge inspected: depends_on something relies on a component it does not verify; it crosses the supply-chain boundary (code, models or prompts pulled in from outside).

    info generic inventory-aibom

    References a hosted LLM API endpoint.

    Confidence P1: dangerous in context.

    Edge inspected: depends_on something relies on a component it does not verify; it crosses the supply-chain boundary (code, models or prompts pulled in from outside).

    info generic inventory-aibom

    Model loaded with trust_remote_code enabled.

    Confidence P1: dangerous in context.

    Edge inspected: depends_on something relies on a component it does not verify; it crosses the supply-chain boundary (code, models or prompts pulled in from outside).

    ASI04

    info generic openai, browser-extension

    Declared in a Python project manifest.

    Confidence P1: dangerous in context.

    Edge inspected: depends_on something relies on a component it does not verify; it crosses the supply-chain boundary (code, models or prompts pulled in from outside).

    info generic anthropic, browser-extension

    Declared in a Python project manifest.

    Confidence P1: dangerous in context.

    Edge inspected: depends_on something relies on a component it does not verify; it crosses the supply-chain boundary (code, models or prompts pulled in from outside).

    info generic litellm, browser-extension

    Declared in a Python project manifest.

    Confidence P1: dangerous in context.

    Edge inspected: depends_on something relies on a component it does not verify; it crosses the supply-chain boundary (code, models or prompts pulled in from outside).

    info generic langchain, browser-extension

    Declared in a Python project manifest.

    Confidence P1: dangerous in context.

    Edge inspected: depends_on something relies on a component it does not verify; it crosses the supply-chain boundary (code, models or prompts pulled in from outside).

    info generic langgraph, browser-extension

    Declared in a Python project manifest.

    Confidence P1: dangerous in context.

    Edge inspected: depends_on something relies on a component it does not verify; it crosses the supply-chain boundary (code, models or prompts pulled in from outside).

    info generic huggingface, browser-extension

    Declared in a Python project manifest.

    Confidence P1: dangerous in context.

    Edge inspected: depends_on something relies on a component it does not verify; it crosses the supply-chain boundary (code, models or prompts pulled in from outside).

    info generic mcp, browser-extension

    Declared in a Python project manifest.

    Confidence P1: dangerous in context.

    Edge inspected: depends_on something relies on a component it does not verify; it crosses the supply-chain boundary (code, models or prompts pulled in from outside).

    ASI02

    info generic browser-extension

    Declared in a Python project manifest.

    Confidence P1: dangerous in context.

    Edge inspected: depends_on something relies on a component it does not verify; it crosses the supply-chain boundary (code, models or prompts pulled in from outside).

    info generic browser-extension

    Declared in a Python project manifest.

    Confidence P1: dangerous in context.

    Edge inspected: depends_on something relies on a component it does not verify; it crosses the supply-chain boundary (code, models or prompts pulled in from outside).

    ASI06