security

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package security is the universal security sensor. It orchestrates the filtering pyramid — a language-agnostic regex layer for obvious secrets and the active provider's AST analysis (deterministic findings plus mapped surface) — and adjusts each finding's severity by the file's path criticality (RF-11). codefit runs no LLM layer: the surface is returned to the agent, which reasons over it with its own model.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sensor

type Sensor struct {
	// contains filtered or unexported fields
}

Sensor runs the security dimension against a project, driven by a language provider for the AST layer.

func New

New builds a security sensor backed by a language provider.

func (*Sensor) Dimension

func (*Sensor) Dimension() findings.Dimension

func (*Sensor) Name

func (*Sensor) Name() string

func (*Sensor) Run

Run walks the project's source files and returns the security findings.

Jump to

Keyboard shortcuts

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