llm

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2026 License: Apache-2.0 Imports: 13 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package llm sends a target's declared MCP surface (tool descriptions, prompt text, server instructions) to a configured model for semantic judgement. The surface is untrusted data: it is fenced from instructions, and the model receives no tools, filesystem, or MCP access.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Analyzer

type Analyzer struct{}

Analyzer is the "llm" analyzer

func (*Analyzer) Analyze

Analyze sends the declared surface to ac.LLM and turns its structured response into findings. A missing client or an empty surface is a clean skip; a provider failure or a response that does not parse is an error, never a silent pass.

func (*Analyzer) AppliesTo

func (a *Analyzer) AppliesTo(kind model.TargetKind) bool

AppliesTo excludes config targets: those fan out into per-server scans that already run this analyzer once per server

func (*Analyzer) Describe

func (a *Analyzer) Describe() analyzer.Description

func (*Analyzer) Name

func (a *Analyzer) Name() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL