Skip to content
Foundations

Learn

Secrets security foundations

Understand the security problem before exploring any scanner. A secret is sensitive authentication or cryptographic material, such as an API token, password or private key. Exposure occurs when that material escapes its intended trust boundary.

1. What a secret is

Before finding or fixing exposure, know what kind of credential it is and who it belongs to.

Credential taxonomy

Distinguish a secret from the identity or public identifier it represents.

API tokens, passwords, connection strings, private keys and session tokens require different handling. A public certificate or access-key identifier is not necessarily secret; its corresponding private material may be.

OWASP §8.2

Identity and ownership

Understand human, service, workload and agent identities.

Track owners, purpose, privileges, environments and deprovisioning. Agent identities are an application of workload identity principles, not a distinct formal category in the cited guidance.

OWASP NHI Top 10 (2025); CI/CD identity lifecycle

Go deeper: the kinds of secret and how they’re found · non-human identities

2. Manage secrets throughout their lifetime

OWASP §2.7 identifies four lifecycle stages; they are not a mandatory linear sequence.

Creation

Generate appropriate credentials securely, assign minimum privileges and provision securely.

Rotation

Replace credentials according to their type, risk and applicable policy.

Revocation

Disable credentials when compromised or no longer needed.

Expiration

Limit credential lifetime where feasible.

Prevention comes first. Prefer managed storage, appropriately short-lived credentials, narrow permissions and preventive checks, and keep secret values out of logs. Preventive controls complement retrospective discovery (OWASP CI/CD Secrets Management).

Secure storage, access control, transport, inventory and audit are cross-cutting safeguards. Human passwords require different rotation policies from machine credentials. See OWASP §2.7 and NIST key-management guidance for cryptographic keys.

3. Atlas exposure response workflow

When a secret leaks, work through these six stages. The rest of the Atlas is organized the same way. Stage names and NIST CSF 2.0 alignments are Atlas’s interpretation of OWASP §§8–9 and NIST SP 800-61 Rev. 3.

  1. Stage 1 · CSF: Identify

    Discover

    Identify potential exposure locations and ownership.

    In practice

    Map where credentials are created, used and accidentally retained: source history, configuration, build logs, artifacts, local developer environments, cloud storage and SaaS integrations. Inventory scope before claiming coverage.

    OWASP CI/CD Secrets Management

    Explore connectors →
  2. Stage 2 · CSF: Detect

    Detect

    Identify candidate exposed credentials.

    In practice

    Combine format-based signatures with appropriate contextual signals while managing false positives and false negatives. Evaluate coverage with synthetic fixtures.

    OWASP §§8.1–8.4

    Explore detectors →
  3. Stage 3 · CSF: Detect

    Validate

    Establish validity where safe, authorized and supported; preserve uncertainty.

    In practice

    Only validate credentials with authorization and safe provider-specific methods. A result that cannot be established stays unknown rather than being treated as inactive.

    OWASP §§8.1–8.4

    Explore verification →
  4. Stage 4 · CSF: Identify / Respond

    Assess

    Determine potential impact, privileges and affected assets.

    In practice

    Prioritize by potential harm rather than match count alone: identity, privileges, environment, reachability, asset sensitivity, lifetime and evidence of misuse. Unknown access must remain unknown, not be treated as low risk.

    OWASP NHI Top 10; Atlas assessment synthesis

    Explore analyzers →
  5. Stage 5 · CSF: Respond

    Respond

    Triage, contain, revoke or replace credentials and remove exposed copies.

    In practice

    Coordinate replacement or revocation, dependent service recovery and removal of exposed material. Preserve incident records without retaining raw secrets.

    OWASP §§9.2–9.3

    Explore rotation guidance →
  6. Stage 6 · CSF: Recover / Detect

    Confirm

    Check remediation effectiveness, retain evidence and continue monitoring.

    In practice

    Track scope, ownership, remediation timestamps and evidence quality. Example Atlas metrics: time to containment, confirmed remediation rate and inventory coverage with explicit denominators. These are proposed metrics, not mandated framework KPIs.

    OWASP §2.6; CIS Controls 6 and 8

    Re-check with verification statuses →

Stages may overlap or repeat. Do not delay containment of a suspected compromise just to complete validation or assessment. Source: OWASP remediation guidance and NIST incident response.

4. Where tools fit

Atlas educational taxonomy. Categories overlap and implementations vary; no scanner alone establishes complete secrets security.

Secrets management
Secure issuance, storage and credential replacement
IAM / workload identity / PAM
Identity lifecycle, access boundaries and privileged access
Secret exposure scanning
Candidate discovery and supported validation
Access analysis / CIEM
Privileges and potential access impact
SOAR / ITSM
Case coordination and response automation
SIEM / GRC
Monitoring, evidence and governance

From guidance to implementation

Exposure scanners support selected parts of this workflow. Secrets managers, identity systems, response tooling and organizational controls address other parts. A scanner’s documented capability does not establish control effectiveness or compliance.

NIST CSF 2.0 functions, control alignment (CIS, NIST SP 800-53, ISO/IEC 27001) and the full source registry are on Standards & controls.

How to read the Atlas

  1. Start with the product, edition and deployment. Check which artifact the evidence covers and whether the product connects to the source directly or accepts the artifact as generic input.
  2. Read each capability on its own. Detection, verification, access analysis, prevention and remediation answer different questions. Use the technology landscape to see where each tool fits.
  3. Open the evidence and check its date or revision. Standards supply general guidance. Atlas classifications synthesize that guidance. Vendor documentation describes a stated capability, pinned source describes the inspected implementation, and tests establish behavior in the recorded test scope. Interpretations should explain their basis.
  4. Check limitations before applying a finding. Edition, permissions, artifact scope and collection method can affect what the evidence supports. See Atlas methodology for sourcing and limitations.

Comparison statuses

Supported
Evidence affirms the capability in the stated scope.
Unsupported
Evidence excludes the capability in the stated scope.
Unknown
The evidence is inconclusive or conflicting.
Not evaluated
The Atlas has yet to evaluate evidence for this scope.
Private preview
The source describes restricted preview availability.
Add-on
The source identifies the capability as an add-on for a named edition.

Glossary

Secret
Anything that lets software or a person prove who they are, or unlock data: an API key, a password, a private key. Secret types
Secret type
The kind of authentication or cryptographic material a rule looks for, such as an API key, a connection string or a private key. Secret types
Non-human identity (NHI)
An identity used by software instead of a person, such as a service account, a CI job or an AI agent. It usually proves who it is with a secret. Non-human identities
Exposure surface
A place a secret could be exposed. An artifact is the specific content there, such as repository history, a build log or a configuration file.
Detection
Identifying a candidate finding in an artifact.
Detector
The part of a scanner that looks for one kind of credential, such as GitHub tokens or Postgres connection strings. Browse detectors
Verification
Checking with the provider whether a found secret still works, where a supported, authorized check exists. It tells a live key from a revoked one or an example. How verification works
Access analysis
Using a working key to see what it can reach: the identity, permissions and resources behind it. Tools that do this are called analyzers. Analyzers
Prevention and monitoring
Prevention applies a control at a defined enforcement point. Monitoring looks for findings over time.
Response and remediation
Response coordinates triage and containment. Remediation addresses the exposure, for example through revocation, replacement and removal of exposed copies.
Rotation
Replacing a credential with a new one and turning the old one off, so a leaked copy stops working. Rotation guides