sensitive_api_fields_detect

package
v0.4.7 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModuleID    = "sensitive-api-fields-detect"
	ModuleName  = "Sensitive API Fields Detect"
	ModuleShort = "Flags JSON API responses containing sensitive field names like passwords, API keys, and PII"
)

Variables

View Source
var (
	ModuleDesc = `` /* 675-byte string literal not displayed */

	ModuleConfirmation = "Confirmed when JSON response body contains sensitive field names"
	ModuleSeverity     = severity.Medium
	ModuleConfidence   = severity.Tentative
	ModuleTags         = []string{"api", "info-disclosure", "light"}
)

Functions

This section is empty.

Types

type Module

type Module struct {
	modkit.BasePassiveModule
	// contains filtered or unexported fields
}

Module implements the Sensitive API Fields Detect passive scanner.

func New

func New() *Module

New creates a new Sensitive API Fields Detect module.

func (*Module) ScanPerRequest

func (m *Module) ScanPerRequest(ctx *httpmsg.HttpRequestResponse, scanCtx *modkit.ScanContext) ([]*output.ResultEvent, error)

Jump to

Keyboard shortcuts

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