Your agents are code. Find the weakness before it runs.
klyvra-sast is a static analyser for the AI paths in your application code: the prompts, the data flowing into and out of the model, the tools and permissions an agent holds, the MCP servers it connects to, the models and packages it loads, and the retrieval behind it. It runs on your own CI runner, makes no LLM call, uses no network during the scan, and produces an AI-SBOM with every run.
Static analysis. No model in the loop.
A red-team scan tells you what a deployed model will do when pushed. AI-SAST tells you where the code let it happen: the untrusted input that reached the system prompt, the model output that reached a shell, the MCP server nobody pinned. It is deterministic by design, tree-sitter and curated detectors rather than a model reading your repository, so the same commit always gives the same findings and every finding comes with the file, the line and the trace that produced it. 36 rules in six categories, each tagged with its OWASP LLM Top 10 2025 and NIST AI RMF reference, with cross-file data flow in Python (notebooks included), TypeScript and JavaScript, Java, C# and Go. Scope is the AI application code paths, not a replacement for your general SAST.
Six categories, one pass over the repository.
36 rules, AI-001 to AI-052, severities from info to critical, each tagged with its OWASP LLM Top 10 2025 and NIST AI RMF reference. Per-language coverage, and its gaps, is documented rule by rule for customers in the console; five languages, not every language.
Model output into dangerous places.
Follow LLM output across files into shell commands, SQL, HTML, URLs, package installs and file paths, and untrusted input into the system prompt. Seven data-flow rules, plus three retrieval rules for exposed vector databases and unfiltered retrieval.
Secrets and hidden instructions.
Keys, personal data and internal hosts inside prompts, attack phrasing, user input without delimiters or merged into the system role, hidden instructions in agent instruction files such as CLAUDE.md, AGENTS.md and SKILL.md, and, when you turn it on, hard-coded secrets in code and configuration. Eight rules for the text your agents trust most.
Agent tools and permissions.
Destructive tools with no approval step, wildcard scopes, and the lethal trifecta, private data plus untrusted content plus an outbound channel, evaluated per agent. Six rules that read the permissions you actually granted.
MCP servers in code and config.
Unpinned servers, broad secrets passed to servers, hidden instructions in tool descriptions, plaintext or unauthenticated remote MCP, DNS-rebinding exposure, token passthrough, and any server not on your approved list. Approval pins to a version or digest, so a moved pin is flagged again. Seven rules.
Models, packages and loaders.
Unpinned model revisions, trust_remote_code, unsafe pickle loads, and vulnerable or known-malicious AI packages. Five rules across the OpenAI, Anthropic, Google, Bedrock, Azure and MCP SDKs and frameworks from LangChain and Spring AI to Semantic Kernel, Genkit and ADK.
An AI-SBOM with every code scan.
Models, datasets, SDKs and providers, MCP servers, agents, skills, prompts and knowledge bases, one component per package with every location. Export as CycloneDX 1.6, SPDX 2.3, SPDX 3.0.1 with the AI and Dataset profiles, or CSV. The tenant-wide AI inventory folds every repository together and names the shadow AI: repositories that use AI but are linked to no red-team target.
Built for the teams who own the AI application code.
AI Code Security is for the AppSec and platform teams who review what ships, and the engineers shipping agents who would rather hear about a wildcard scope from CI than from an incident. It runs where your tests run, on the runner you already trust, and sends findings to your Klyvra platform, never source code. One issue record per repository and weakness tracks new, open, fixed and reopened, so a finding has a history, not just a timestamp.
Outcomes you can defend in a review.
Findings and an AI-SBOM leave the runner. Never source code.
By default the upload is rule id, file path, line, message, trace, fingerprint, scan statistics and the AI-SBOM. Never source code. Snippets travel only with an explicit opt-in, and the binary is downloaded from your own platform, not a public registry.
Gate the build by exit code.
0 pass, 1 gate failed, 2 error. Set the failing severity, carry a baseline, scan only the diff on pull requests, post findings as PR review comments, emit SARIF for the GitHub Security tab. A GitHub Actions composite action copied into your repository, a GitLab CI template and a shell wrapper for everything else. Gate, scope, rules and approved MCP servers are a policy per tenant, overridable per pipeline, and a run that deviates is recorded as a deviation.
Signed, verified, countersigned.
Each pipeline holds its own Ed25519 signing key, separate from its API key. The binary signs the findings, the SBOM, the config snapshot, the repository, the commit, the CI run, the gate result and its own checksum; the platform verifies and countersigns; klyvra-sast verify checks an exported bundle offline. This proves which pipeline sent a result and that nobody altered it. It does not prove the scan was honest; reproducibility does.
Code findings seed the red team.
Link the repository to a red-team target and, with the feature licensed and switched on by an admin, code findings steer the next red-team scan: predicted by code, confirmed at runtime. A fix in code is re-tested against the live model and marked holds or not effective.
Review one repository on your own runner.
Bring a repository with an agent or an LLM call in it. We will run klyvra-sast against it on the call, read the findings and the AI-SBOM together, and show the gate pass and fail in a real CI job.