MedTech Terms
    The authoritative reference
    All terms

    Hardcoded Credentials

    Secrets - passwords, API keys, certificates - embedded in firmware or source code shipped on every device.

    Reviewed by Christian Espinosa, Founder, Blue Goat CyberLast reviewed May 5, 2026

    Definition

    Hardcoded credentials are authentication secrets - passwords, API keys, private keys, service tokens - embedded directly in firmware, binaries, or source code distributed across every unit of a device family. Because the secret is identical on every device, a single firmware extraction or source leak compromises the entire fleet. Hardcoded credentials have driven multiple high-profile FDA safety communications (Hospira infusion pumps, St. Jude implantables, GE imaging consoles) and remain a top finding in MedTech penetration tests.
    What the regulation says
    FDA flags hardcoded credentials as a critical cybersecurity weakness in multiple safety communications and the 2023 guidance. CWE-798 (Use of Hard-coded Credentials) is one of the CWE Top 25 most dangerous software weaknesses. CISA medical-device advisories regularly cite hardcoded credentials as the root cause. Eliminating them is non-negotiable for any modern submission.

    What this means in practice

    Eliminating hardcoded credentials means every device must provision its own unique key material at manufacture (often via a hardware secure element), or pull a unique credential from an authenticated bootstrap service on first boot. Service accounts that need credentials should rotate them through a secrets manager rather than embedding static values.
    Common pitfalls
    • Burning the same SSH or web-admin password into every shipped device.
    • Embedding cloud API keys in mobile companion apps - they can be extracted by anyone with the app binary.
    • Using a 'default password that the user must change' that, in practice, no one changes.

    Frequently asked questions

    They must be unique per device or unique per service session, generated by an authenticated key-issuance system. A single fleet-wide service password is the same vulnerability with a different label.
    Grouped by theme
    Cited by

    Where this term appears across MedTech Terms.

    Primary references

    3 sources
    Link health: 3 verified· last checked 2026-06-20
    MITRE·1FDA·1CISA·1
    1. 1
      CWE-798 Use of Hard-coded Credentials
      Verified
      MITREcwe.mitre.org
    2. 2
      FDA Cybersecurity Guidance (Sept 2023)
      Verified
      FDAfda.gov
    3. 3
      CISA - Healthcare and Public Health Sector
      Verified
      CISAcisa.gov

    Inline markers like [1] jump to the matching reference above.