secrets

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package secrets scans a target's source tree (Target.Repo) for credentials that should never be committed: cloud keys, private keys, tokens and obvious password/secret assignments. It reads files only — passive, no network — and reports each hit as a file:line finding with the secret value masked in the evidence.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scanner

type Scanner struct{}

Scanner finds committed secrets in a repository.

func (Scanner) ASVS

func (Scanner) ASVS() []string

func (Scanner) Category

func (Scanner) Category() core.Category

func (Scanner) Description

func (Scanner) Description() string

func (Scanner) ID

func (Scanner) ID() string

func (Scanner) Mode

func (Scanner) Mode() core.Mode

func (Scanner) OWASP

func (Scanner) OWASP() []string

func (Scanner) Run

Jump to

Keyboard shortcuts

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