config

package
v0.4.13 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package config checks configuration posture: framework debug mode left on, shipped default credentials, and misconfigured sibling tools (Sentinel, Pulse) such as monitor-only WAF or in-memory storage in production. Every check is passive: it reads the in-process route table exported by scout.Mount and GET-only health/diagnostic endpoints, and sends no attack traffic.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultCreds

type DefaultCreds struct{}

DefaultCreds advises rotating shipped default credentials when a known admin login route is present in production. It never submits credentials (that would be an active auth check); it is a passive, route-table-driven nudge.

func (DefaultCreds) ASVS

func (DefaultCreds) ASVS() []string

func (DefaultCreds) Category

func (DefaultCreds) Category() core.Category

func (DefaultCreds) Description

func (DefaultCreds) Description() string

func (DefaultCreds) ID

func (DefaultCreds) ID() string

func (DefaultCreds) Mode

func (DefaultCreds) Mode() core.Mode

func (DefaultCreds) OWASP

func (DefaultCreds) OWASP() []string

func (DefaultCreds) Run

type GinDebug

type GinDebug struct{}

GinDebug flags a Gin app running in debug mode, detected by its default not-found response and the absence of production hardening. Debug mode is read from the route table when available, and confirmed over HTTP.

func (GinDebug) ASVS

func (GinDebug) ASVS() []string

func (GinDebug) Category

func (GinDebug) Category() core.Category

func (GinDebug) Description

func (GinDebug) Description() string

func (GinDebug) ID

func (GinDebug) ID() string

func (GinDebug) Mode

func (GinDebug) Mode() core.Mode

func (GinDebug) OWASP

func (GinDebug) OWASP() []string

func (GinDebug) Run

func (GinDebug) Run(ctx context.Context, t core.Target) ([]core.Finding, error)

type InMemoryStorageProd

type InMemoryStorageProd struct{}

InMemoryStorageProd flags a sibling tool reporting in-memory storage on a production target, where history and audit data are lost on restart.

func (InMemoryStorageProd) Category

func (InMemoryStorageProd) Category() core.Category

func (InMemoryStorageProd) Description

func (InMemoryStorageProd) Description() string

func (InMemoryStorageProd) ID

func (InMemoryStorageProd) Mode

func (InMemoryStorageProd) Mode() core.Mode

func (InMemoryStorageProd) OWASP

func (InMemoryStorageProd) OWASP() []string

func (InMemoryStorageProd) Run

type PulseMisconfig

type PulseMisconfig struct{}

PulseMisconfig reads a reachable Pulse health endpoint and flags default credentials being allowed in production.

func (PulseMisconfig) Category

func (PulseMisconfig) Category() core.Category

func (PulseMisconfig) Description

func (PulseMisconfig) Description() string

func (PulseMisconfig) ID

func (PulseMisconfig) ID() string

func (PulseMisconfig) Mode

func (PulseMisconfig) Mode() core.Mode

func (PulseMisconfig) OWASP

func (PulseMisconfig) OWASP() []string

func (PulseMisconfig) Run

type SentinelMisconfig

type SentinelMisconfig struct{}

SentinelMisconfig reads a reachable Sentinel health/config endpoint and flags a WAF left in log-only mode.

func (SentinelMisconfig) Category

func (SentinelMisconfig) Category() core.Category

func (SentinelMisconfig) Description

func (SentinelMisconfig) Description() string

func (SentinelMisconfig) ID

func (SentinelMisconfig) Mode

func (SentinelMisconfig) Mode() core.Mode

func (SentinelMisconfig) OWASP

func (SentinelMisconfig) OWASP() []string

func (SentinelMisconfig) Run

Jump to

Keyboard shortcuts

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