October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PCOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk5 min

OWASP Top 10 CI/CD Security Risks Explained: Why Credential Hygiene Matters

OWASP’s CI/CD risk list includes insufficient credential hygiene. Learn how to keep secrets out of pipelines and limit the damage if one is exposed.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Credential hygiene is central to CI/CD security because a pipeline secret can let an attacker move from a compromised build step into source repositories, artifact stores, cloud resources, or deployment targets. Preventing exposure is essential; limiting a credential’s permissions, scope, and lifetime helps contain the damage if exposure still occurs.

What the OWASP Top 10 CI/CD list covers

OWASP’s Top 10 CI/CD Security Risks is a dedicated list for continuous integration and continuous delivery systems. It is separate from OWASP’s web-application Top 10, which is an awareness document for web application security and has its own categories, including Software Supply Chain Failures and Software or Data Integrity Failures (OWASP Top 10:2025).

As an Amazon Associate I earn from qualifying purchases.

The CI/CD project describes its work as helping defenders identify focus areas for securing a CI/CD ecosystem. Its ten areas are not presented here as a statistical ranking of incident frequency; the project page does not provide prevalence figures for them.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  1. CICD-SEC-1: Insufficient Flow Control Mechanisms. Weak controls over how code and changes move through a pipeline can make unauthorized or unsafe changes easier to introduce.
  2. CICD-SEC-2: Inadequate Identity and Access Management. Poorly managed identities or permissions can give users, services, or compromised components access they do not need.
  3. CICD-SEC-3: Dependency Chain Abuse. An attacker may exploit dependencies or other links in the software supply chain.
  4. CICD-SEC-4: Poisoned Pipeline Execution (PPE). Malicious changes to pipeline execution can cause builds or deployment workflows to run attacker-controlled actions.
  5. CICD-SEC-5: Insufficient PBAC (Pipeline-Based Access Controls). Pipeline-specific access restrictions may fail to isolate projects, jobs, or resources adequately.
  6. CICD-SEC-6: Insufficient Credential Hygiene. Exposed, persistent, or over-privileged secrets can give an attacker useful access beyond the compromised step.
  7. CICD-SEC-7: Insecure System Configuration. Unsafe configuration of pipeline systems or their underlying infrastructure can create exploitable weaknesses.
  8. CICD-SEC-8: Ungoverned Usage of 3rd Party Services. Uncontrolled use of external services can introduce security and governance risks.
  9. CICD-SEC-9: Improper Artifact Integrity Validation. If the integrity of build outputs is not checked, altered artifacts may be trusted or deployed.
  10. CICD-SEC-10: Insufficient Logging and Visibility. Inadequate records and monitoring can make suspicious pipeline activity harder to detect and investigate.

These areas interact. Credential hygiene is a specific risk category, but credentials are also affected by identity and access management, pipeline-based controls, system configuration, artifact integrity, and monitoring. A secret store alone cannot compensate for an identity or runner that has excessive authority.

#1 Best Overall
Yubico - Security Key C NFC - Basic Compatibility - Multi-Factor authentication (MFA) Security Key and passkey, Connect via USB-C or NFC, FIDO Certified
  • POWERFUL SECURITY KEY: The Security Key C NFC is the essential physical passkey for protecting your digital life from phishing attacks. It ensures only you can access your accounts.
  • WORKS WITH 1000+ ACCOUNTS: Compatible with Google, Microsoft, and Apple. A single Security Key C NFC secures 100 of your favorite accounts, including email, password managers, and more.
  • FAST & CONVENIENT LOGIN: Plug in your Security Key C NFC via USB-C and tap it, or tap it against your phone (NFC) to authenticate. No batteries, no internet connection, and no extra fees required.
  • TRUSTED PASSKEY TECHNOLOGY: Uses the latest passkey standards (FIDO2/WebAuthn & FIDO U2F) but does not support One-Time Passwords. For complex needs, check out the YubiKey 5 Series.
  • BUILT TO LAST: Made from tough, waterproof, and crush-resistant materials. Manufactured in Sweden and programmed in the USA with the highest security standards.

What credential hygiene means in a pipeline

CI/CD jobs often need secrets such as API keys or passwords to retrieve dependencies, publish artifacts, or deploy software. OWASP’s CI/CD Security Cheat Sheet warns against hardcoding secrets in source repositories or CI/CD configuration files, and recommends scanning for accidental exposure, preventing commits where possible, and monitoring for deviations.

Storage is only one part of the problem. OWASP recommends encrypting secrets at rest, whether they are held in a filesystem, vault, or similar store. But a secret can still be disclosed or left behind while a job uses it. Review how pipeline steps handle credentials, as well as where build outputs may preserve them.

Rank #2
Yubico - YubiKey 5C NFC - Multi-Factor authentication (MFA) Security Key and passkey, Connect via USB-C or NFC, FIDO Certified - Protect Your Online Accounts
  • POWERFUL SECURITY KEY: The YubiKey 5C NFC is the most versatile physical passkey, protecting your digital life from phishing attacks. It ensures only you can access your accounts
  • WORKS WITH 1000+ ACCOUNTS: Compatible with popular accounts like Google, Microsoft, and Apple. A single YubiKey 5C NFC secures 100+ of your favorite accounts, including email, password managers, and more
  • FAST & CONVENIENT LOGIN: Plug in your YubiKey 5C NFC via USB and tap it, or tap it against your phone (NFC), to authenticate. No batteries, no internet connection, and no extra fees required
  • MOST SECURE PASSKEY: Supports FIDO2/WebAuthn, FIDO U2F, Yubico OTP, OATH-TOTP/HOTP, Smart card (PIV), and OpenPGP. That means it’s versatile, working almost anywhere you need it
  • PRIMARY & SPARE KEYS: Just like having a spare house key, we recommend buying two YubiKeys - one for daily use and one as a spare. That way you’ll never get locked out of your accounts
  • Source and configuration: Check repositories and pipeline definitions for committed credentials.
  • Runtime output: Inspect console output and logs for commands or error messages that reveal secrets.
  • Runner residue: Check shell command-history files and other files a job may leave on its runner.
  • Build outputs: Examine container images and compiled binaries for embedded credentials.

The cheat sheet names HashiCorp Vault, AWS Secrets Manager, Akeyless, and CyberArk as examples of third-party secret-management solutions. Those examples are not a comparative ranking or endorsement; the right fit depends on the organization’s platform and operating requirements.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Why credential hygiene changes the impact of a compromise

Think about two separate security questions: how likely a secret is to be exposed, and what an attacker can do if it is. Scanning, commit prevention, encryption, and careful handling reduce opportunities for disclosure. Temporary credentials and access restrictions reduce the usefulness of a credential that is nevertheless stolen.

Rank #3
Yubico - YubiKey 5 NFC - Multi-Factor authentication (MFA) Security Key and passkey, Connect via USB-A or NFC, FIDO Certified - Protect Your Online Accounts
  • POWERFUL SECURITY KEY: The YubiKey 5 NFC is the most versatile physical passkey, protecting your digital life from phishing attacks. It ensures only you can access your accounts
  • WORKS WITH 1000+ ACCOUNTS: Compatible with popular accounts like Google, Microsoft, and Apple. A single YubiKey 5 NFC secures 100+ of your favorite accounts, including email, password managers, and more
  • FAST & CONVENIENT LOGIN: Plug in your YubiKey 5 NFC via USB and tap it, or tap it against your phone (NFC), to authenticate. No batteries, no internet connection, and no extra fees required
  • MOST SECURE PASSKEY: Supports FIDO2/WebAuthn, FIDO U2F, Yubico OTP, OATH-TOTP/HOTP, Smart card (PIV), and OpenPGP. That means it’s versatile, working almost anywhere you need it
  • PRIMARY & SPARE KEYS: Just like having a spare house key, we recommend buying two YubiKeys - one for daily use and one as a spare. That way you’ll never get locked out of your accounts

Reduce the opportunity for exposure

Keep secrets out of source code and pipeline configuration, and use secret scanning to find accidental commits. Check runtime output and artifacts rather than assuming a protected vault keeps a secret safe after a job retrieves it. Monitor for deviations that could indicate credentials are being handled unexpectedly.

Make exposed credentials less useful

Where feasible, use temporary credentials or one-time passwords rather than long-lived secrets. Restrict where and how a credential can be used, including IP-based restrictions where appropriate. A credential should authorize only the specific action and resource the pipeline step needs.

Rank #4
Yubico - Security Key NFC - Basic Compatibility - Multi-Factor Authentication (MFA) Key, Connect via USB-A or NFC, FIDO Certified
  • POWERFUL SECURITY KEY: The Security Key NFC is the essential physical passkey for protecting your digital life from phishing attacks. It ensures only you can access your accounts.
  • WORKS WITH 1000+ ACCOUNTS: Compatible with Google, Microsoft, and Apple. A single Security Key NFC secures 100 of your favorite accounts, including email, password managers, and more.
  • FAST & CONVENIENT LOGIN: Plug in your Security Key NFC via USB-A and tap it, or tap it against your phone (NFC) to authenticate. No batteries, no internet connection, and no extra fees required.
  • TRUSTED PASSKEY TECHNOLOGY: Uses the latest passkey standards (FIDO2/WebAuthn & FIDO U2F) but does not support One-Time Passwords. For complex needs, check out the YubiKey 5 Series.
  • BUILT TO LAST: Made from tough, waterproof, and crush-resistant materials. Manufactured in Sweden and programmed in the USA with the highest security standards.

Apply least privilege beyond the secret itself

Limit authority at three levels: the credentials pipeline steps use to access external resources, each pipeline or step’s access to other CI/CD platform resources, and the permissions of the operating-system user running the pipeline. If a job or runner is compromised, unnecessary permissions can turn a limited foothold into wider access.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Manage identities throughout their lifecycle

Credential cleanup depends on knowing which identities exist and why. OWASP recommends maintaining an inventory that records each identity’s owner, identity provider, last-used and last-updated information, granted permissions, and permissions actually used.

Best Value
FIDO2 U2F Security Key Passkey Two-Factor Authentication (2FA) USB Key PIN+Touch (Non-Biometric) USB-A Type TrustKey T110
  • Security Key : Protect your online accounts against unauthorized access by using FIDO2 and U2F authentication with T110. It's the world's most protective security key that works with windows, Mac OS, Linux as well as Chrome, Firefox, Edge and many other major browsers.
  • Certified with the new FIDO2 standard, T110 provides the benefit of fast login and strong protection against phishing, account takeover as well as many other online attactks.
  • Works with : Bank of America, Github, Google, Microsoft, DUO, Twitter, Facebook, Dropbox, Apple, ebay, BINANCE, mor and more.
  • Fits USB-A port : Insert the T110 security key into the USB-A port of each service and log in conveniently with one touch
  • For the driver download and user guide, please visit TrustKey Solutions Home support page.

Use that inventory to investigate identities with no clear owner, obsolete credentials, and permissions that exceed actual use. Remove access that is no longer needed, and keep ownership and lifecycle information current as teams, jobs, and systems change.

A practical CI/CD credential checklist

This checklist synthesizes the controls in OWASP’s CI/CD guidance:

  • Keep secrets out of source code and CI/CD configuration; scan for accidental exposure and monitor for it.
  • Review console output, logs, shell history, container layers, and compiled artifacts for unintended disclosure or persistence.
  • Encrypt secrets at rest and use a managed secret store when appropriate.
  • Prefer temporary credentials where feasible, and restrict where and how credentials can be used.
  • Limit permissions for the credential, the pipeline step, and the runner’s operating-system identity.
  • Track identity ownership, use, permissions, and lifecycle so unused or excessive access can be removed.
  • Address credential hygiene as part of a broader CI/CD security program that also covers the other nine OWASP risk areas.

How to choose a secrets-management approach

OWASP’s examples do not establish which vendor or deployment model is best for a particular team. When evaluating an approach, use the controls your pipeline needs as the criteria:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • Does it integrate with your CI/CD platform and identity provider?
  • Can it issue short-lived credentials for jobs that need them?
  • Can policies restrict access at the required level of detail?
  • Does it support the audit and logging your team needs?
  • Does its operational model fit your team and deployment requirements?

A secret-management product is one component, not a substitute for controlling pipeline permissions, runner access, artifact handling, and monitoring.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Crashes, No Sound, or Screen Glitches?Free driver scan
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.