What is static code scanning for cryptography?

Static code scanning for cryptography analyzes source code and binaries to find cryptographic calls, helping teams build the inventory a post-quantum migration needs.

On this page

What is static code scanning for cryptography?

Static code scanning for cryptography is analysis of source code and compiled binaries, performed without running the software, that finds cryptographic calls and records which algorithms and libraries they use. It is one method among several for building a cryptographic inventory, the record of where an organization uses cryptography, and it answers a narrower question than network observation does: what the code is written to do, not what a running system happens to negotiate. Engineers and security leads choosing an inventory method before a post-quantum migration usually weigh static scanning against runtime discovery and passive network scanning, because each sees different things and misses different things.

The term is most often met by inventory and vendor-risk teams. It appears in vendor questionnaires that ask whether a product's cryptographic usage has been documented, in tender requests that ask how a supplier will report its algorithms, and in the outputs of tools that emit a CBOM (cryptographic bill of materials). For CBOM output, the relevant specification is CycloneDX, which Ecma International publishes as ECMA-424; its specification lists the CBOM among the BOM types it supports, alongside SBOM, HBOM and ML-BOM. Readers should confirm the CycloneDX version a vendor emits, since the release history records 1.5 on 26 June 2023, 1.6 on 9 April 2024 and 1.7 on 21 October 2025, and field support differs between them.

When a vendor says it performs static scanning, ask for the concrete scope: which languages and build systems are covered, whether vendored or third-party libraries are analyzed or only the first-party code, whether binaries are scanned when source is unavailable, and how the scanner recognizes a cryptographic call it has not seen before. Ask how results are mapped to algorithms and key sizes, and whether the output is checked against a known list. A scanner that reports only the calls it recognizes can give a false sense of completeness, so request the coverage limits in writing. Static results are also a snapshot of the code at scan time, so ask how often scans run and how the inventory is kept current. The sources listed here do not establish how any particular scanner performs against these criteria, so confirm them with the vendor or in a test on your own codebase.

Names and standards that describe the output

This table lists the names practitioners use for static crypto scanning and the standard output formats those scanners may emit. Read each row as a term you may meet in a vendor document or tender, and use the CycloneDX rows to check which format version a tool produces. The main takeaway is that scanner output is often described as a CBOM, and the CycloneDX format version you receive should be confirmed with the vendor.

Name or standardWhat it refers toWhere it appears or what to confirm
Static analysis for cryptographyAnalysis of source or binary code, without running it, to find cryptographic calls and algorithm useUsed in vendor documents and tool descriptions; confirm whether the tool analyzes source, binaries or both
Crypto scanningInformal term for a scanner that reports cryptographic usage in a codebase or build artifactCommon in product marketing and questionnaires; ask which languages and artifact types are covered
Source or binary crypto discoveryDiscovery of cryptography by reading source code or compiled binariesUsed when describing inventory methods; confirm which of the two the tool performs
CycloneDX (ECMA-424)A BOM specification published by Ecma International as ECMA-424The specification repository README records the ECMA-424 publication
Cryptography Bill of Materials (CBOM)A BOM type listed among the types CycloneDX supports, alongside SBOM, HBOM and ML-BOMListed in the CycloneDX specification repository README; scanners may output CBOM data in this format
CycloneDX 1.5A CycloneDX release, dated 26 June 2023Release date per the CycloneDX specification repository README
CycloneDX 1.6A CycloneDX release, dated 9 April 2024Release date per the CycloneDX specification repository README
CycloneDX 1.7A CycloneDX release, dated 21 October 2025Release date per the CycloneDX specification repository README; confirm which version your tool emits

Where static crypto scanning shows up in practice

Static crypto scanning rarely appears as a standalone tool request. It surfaces inside vendor questionnaires, tender documents, audit requests and developer pipelines, each asking for a slightly different view of the same cryptographic inventory. Knowing which one you are answering tells you what evidence to produce and what to check before you respond.

Vendor questionnaires on inventory

Vendor-risk questionnaires often ask how a product inventories its cryptography and whether that inventory comes from code analysis, manual review or both. Static scanning is one answer to that question, and it covers only what is present in source or binaries at analysis time. Check whether the vendor states which languages, build targets and libraries the scan covers, and whether it reports cryptographic dependencies that are loaded at runtime rather than compiled in.

Tender requirements for a CBOM

Some tenders ask suppliers to deliver a cryptography bill of materials alongside the software bill of materials. CycloneDX, published by Ecma International as ECMA-424, lists the CBOM among its supported BOM types, so tender text may reference that format. Check whether the requested CBOM comes from static analysis, whether the supplier states which CycloneDX version it uses, and whether the output includes algorithms, key sizes and certificates or only library names.

CycloneDX specification

Audit requests for cryptographic evidence

Auditors and assessors may ask for evidence that an organization knows where its cryptographic assets are, such as an inventory export, the method used to produce it and its date. Static scan output is a candidate for that evidence, but the auditor will usually ask how completely it covers the in-scope systems. Check that the scan scope matches the audit boundary, that the scan date is current and that the report shows what the tool could not analyze.

Developer pipelines in CI

Internal platform teams often run cryptographic scanners in continuous integration to flag new uses of weak or legacy algorithms before merge. Here the question is less about reporting and more about whether the scanner fails builds, how it handles false positives and whether it is tuned to the algorithms your migration targets. Check the scanner's rule set and version, confirm which branches and build steps it runs on, and decide who reviews findings it cannot classify.

How static scanning finds cryptography in code

Static code scanning finds cryptography by reading software without running it. The scanner parses source code or compiled binaries, recognizes calls to cryptographic libraries and APIs, and records which algorithms, key sizes and protocols the code refers to. The result is a list of cryptographic references tied to specific files, functions and components, which is the raw material for a cryptographic inventory. For a migration team, the practical question is which of these references point to algorithms that need a post-quantum plan, so check that the scanner's output names the library and function involved, not just a generic label.

Two modes are used, depending on what the team can access. Source analysis reads code before it is built, so it can follow calls in the language the developers wrote and attach findings to exact lines and modules. Binary analysis reads compiled artifacts when source is unavailable, such as a vendor's shipped product or an inherited system with no repository. Binary results are usually less precise about intent and library versions, so treat them as a starting point and confirm them against the vendor's documentation or a build of the same version. Ask any scanning vendor which mode it uses, which languages and binary formats it supports, and how it reports library versions.

Static scanning only sees what is present in the analyzed code. Algorithms chosen at runtime from a configuration file, algorithm names read from a database, and libraries loaded dynamically may never appear in the scan output. Cryptography that a product's configuration enables, rather than its code, can also be missed. Plan to pair static results with other discovery methods and to review the scanner's coverage against a known list of the systems you operate. The sources listed on this page do not say how any particular scanner handles dynamic loading, so confirm that behavior with the tool's own documentation or a test on your own codebase before relying on it.

Where the standards and guidance stand on inventory

Static code scanning for cryptography is one of several ways to build a cryptographic inventory, and the standards and guidance that shape post-quantum migration do not require any particular discovery method. Teams should not read the NIST documents as prescribing a scanner, a passive network approach or any other technique. What they do set out is the set of algorithms an inventory has to account for, so a scan's output can be checked against that target list. Confirm the current status of each document on NIST's own pages before you cite it in a plan or a vendor response.

NIST IR 8547, Transition to Post-Quantum Cryptography Standards, was published as an Initial Public Draft on 12 November 2024. NIST's page for the draft records that it was obsoleted on 27 October 2026 by the final IR 8547. Any internal plan, policy or procurement question that still points to the draft should be updated to the final document. Check the final version directly for the deprecation and disallowance timelines it sets, since those dates decide when classical algorithms must be replaced in your inventory.

The algorithms an inventory must recognize come from NIST's post-quantum standards: FIPS 203 (ML-KEM), FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA). FIPS 203, titled Module-Lattice-Based Key-Encapsulation Mechanism Standard, was published as a final standard on 13 August 2024. A note dated 17 November 2025 on NIST's page says an identified issue will be corrected in a future revision, so confirm which revision your scanning rules and documentation reference. A scanner's rule set should match on the algorithm identifiers these standards define, and any mismatch between a rule and the standard's current text is worth logging.

If a scan reports a post-quantum algorithm, treat that as a finding about the code path, not a statement that the product is compliant or validated. Compare the detected algorithm against the standard and version it claims to implement, and record any gaps for review. Scanning results should feed the inventory record, and the record should keep the source of each finding so an auditor or vendor-risk reviewer can trace it back.

What static scanning means for a migration inventory

Static scanning produces a recorded list of cryptographic calls and dependencies in code and build artifacts, which teams then map to algorithms that need replacing and check against network and dependency discovery. The sequence turns source and binary analysis into an inventory that can be reviewed, compared and shared with vendors.

  1. Scope the repositories and build artifacts

    Engineering and security leads list the source repositories, build pipelines and compiled artifacts that are in scope for the migration, and record which teams own each one. Exclusions are written down with a reason, such as a vendor-supplied binary that cannot be rebuilt. The step is done when the scope list is signed off by the owners of each repository and the excluded items have a documented reason.

  2. Run the scan and record the output

    Engineers run a static analysis tool against each in-scope repository or artifact, using a configuration that covers the cryptographic libraries the team uses. The raw output is saved in a fixed, machine-readable format with the tool name, version, rule set and scan date attached, so the run can be repeated and compared later. The step is done when every in-scope item has a stored output file and the scan settings are recorded alongside it.

  3. Map findings to algorithms and libraries

    Analysts group the raw findings by the algorithm, key length, library and function they reference, and mark which ones are classical public-key or key-exchange uses that will need replacement or hybrid configuration. Each finding is tied to the component that calls it, so owners know what to change. The step is done when every finding has a classification and an owner, and unclassified findings are listed with the reason they could not be classified.

  4. Record the results as a structured bill of materials

    The mapped findings are written into a structured format so they can be shared, versioned and reviewed. CycloneDX, published by Ecma International as ECMA-424, includes the Cryptography Bill of Materials (CBOM) as one of its supported BOM types, and teams can check the specification to confirm the fields their tools emit. The step is done when the CBOM or equivalent record validates against the schema version the team has chosen and is stored with the scan it came from.

  5. Cross-check against network and dependency discovery

    Static analysis misses cryptography that is loaded at runtime, configured outside the code, or supplied by a service the code calls, so the team compares the static results with network observations and a dependency inventory. Gaps are added to the record with the method that found them. The step is done when each known service endpoint and dependency is either matched to a static finding or listed as a gap with an owner and a next action.

  6. Ask vendors for scan output or a CBOM

    For software the organization does not build, procurement or vendor-risk reviewers ask the supplier whether it can produce static scan output or a CBOM for the delivered version. The question should name the version and the BOM format the organization accepts. The step is done when each vendor has given a written answer, and any vendor that cannot produce the output is recorded with the compensating method the team will use.

Common confusions about static crypto scanning

Static scanning is a useful input to a cryptographic inventory, but it is easy to over-read. The four confusions below each lead teams to trust a scan result more than the method supports.

A static scan is not a complete inventory

A static scan reads code and binaries, so it finds cryptographic calls that exist in the artifacts it analyzes. It does not observe runtime behavior, such as which algorithm a service negotiates with a client at connection time, nor network traffic, such as cipher suites in use on a live endpoint. Cryptography loaded from configuration, pulled from a container at deploy time, or reached only through a third-party service can all be missed. Check which artifacts the scan covered, then pair it with runtime or network methods before treating the output as complete.

CycloneDX version numbers are not the CBOM feature

CycloneDX is a standard that publishes several BOM types, and the Cryptography Bill of Materials (CBOM) is one of them, alongside SBOM, HBOM and ML-BOM. A CycloneDX release number tells you which version of the specification a tool writes, not whether that tool produces CBOM data. Confirm that a scanner emits CBOM output and that its schema version matches what your downstream tools read. Ask the vendor which specification version their CBOM output uses.

CycloneDX specification

An algorithm list does not make a product quantum-safe

A scanner's report of the algorithms it found shows what cryptography the code references. It does not show that the product is quantum-safe, compliant or validated. A list may contain algorithms that are classical, post-quantum or hybrid, and it says nothing about how they are configured, how keys are handled or whether the implementation is correct. Use the list as an inventory input, and check the post-quantum status of each algorithm against the standard that defines it, such as NIST's published FIPS documents.

FIPS 203 record

Binary analysis is not reverse engineering

Binary analysis examines compiled artifacts to locate cryptographic library calls, imported symbols and algorithm identifiers, which is how a static scanner covers software it has no source for. Reverse engineering is a broader practice that aims to understand how a program works internally, often to modify or reproduce it. The two overlap in tooling, but a binary scan answers an inventory question and does not establish intent or full behavior. Scope your binary scan to finding cryptographic dependencies and calls, not to explaining program logic.

Questions readers ask about static code scanning for cryptography

What does static code scanning for cryptography mean?

Static code scanning for cryptography is an inventory method that analyzes source code or compiled binaries without running the program, looking for calls to cryptographic libraries, algorithm names, key sizes and protocol settings. The result is a list of the cryptographic functions a piece of software contains, which can then feed a cryptographic inventory or a CBOM. Because it reads the code itself, it can find cryptography that is compiled in but rarely executed in a test environment. It cannot see what a deployed system negotiates at runtime, so readers planning a migration should treat scan output as one input among several. The sources listed on this page do not define a standard tool or a required output format, so confirm the method and output fields with each vendor before relying on them.

Is static code scanning for cryptography the same as cryptographic discovery?

No. Cryptographic discovery is the broader term covering all methods used to locate cryptography in code, networks and devices, and static code scanning is one of those methods. Other methods named in this glossary include passive network scanning, which observes traffic to reveal protocols and cipher choices. Static scanning is limited to what is present in the artifacts it reads, so it complements rather than replaces network and runtime methods. Teams scoping an inventory should decide which discovery methods cover which parts of their estate. The sources listed on this page do not say how any particular product divides the work between methods, so ask the vendor directly.

Does CycloneDX define static code scanning for cryptography?

The sources listed on this page do not show that CycloneDX defines static code scanning as a method. CycloneDX is published by Ecma International as ECMA-424, and its specification lists the Cryptography Bill of Materials (CBOM) among the BOM types it supports alongside SBOM, HBOM and ML-BOM. A CBOM is a format for recording cryptographic assets, so it is an output structure that a scanning tool could populate, not a description of how scanning works. The current CycloneDX release listed in the sources is 1.7, released on 21 October 2025, following 1.6 on 9 April 2024 and 1.5 on 26 June 2023. Check the specification repository for the schema version a tool supports, since older versions may not carry the same CBOM fields. (CycloneDX specification repository)

Does DeployOpen cover static code scanning for cryptography in its services?

DeployOpen runs security testing of applications, APIs, cloud and infrastructure, and it prepares systems and evidence for compliance assessments, so inventory work can sit inside an engagement when the scope says so. DeployOpen also implements and hardens self-hosted open-source platforms inside a client's own infrastructure, which is where a cryptographic inventory is often needed. Whether static scanning of a particular codebase is in scope is decided in the written, fixed-scope agreement, which sets the deliverables and timelines before work begins. DeployOpen does not issue audit reports or certifications, and independent assessors handle those. Ask for the scope in writing and confirm which artifacts will be analyzed and what output format the client receives.

What does static code scanning change for a cryptographic inventory?

Static scanning adds a code-level view to the inventory, so algorithms and libraries referenced in source or binaries appear even when the running system never uses them in the environment tested. It also makes the inventory easier to repeat, since the same analysis can run again after each build or dependency change. Results still need review, because a detected algorithm name does not show whether it is used, configured correctly or exposed to outside traffic. Keys and certificates stored in configuration files may need separate checks. The sources listed on this page do not quantify how much coverage a scan adds, so measure it against a known sample before deciding how much weight to give it.

What should I ask a vendor about static code scanning output?

Ask which languages, frameworks and binary formats the tool analyzes, and what it cannot read, since coverage gaps show up as missed cryptography. Ask what fields the output contains and whether it can be exported in CycloneDX CBOM form, including the schema version. Ask how the tool distinguishes a cryptographic call from a name match, and what false positives and false negatives look like on a sample you supply. Ask who keeps the results, how they are updated when code changes, and whether the vendor retains copies of your source. Finally, ask what the tool does not see, such as runtime negotiation, so you can plan network and configuration checks alongside it. Confirm each answer in writing before the scope is agreed.

Do I need a vendor to run static code scanning for cryptography?

The sources listed on this page do not say whether a particular open-source or commercial tool is required, so this depends on your own environment. Your engineering team can run a scanner internally if it has the language coverage you need and staff who can review the results. A vendor or implementation partner adds value when the estate is large, spans many languages or needs evidence formatted for an assessor. Costs usually come from staff time for setup and review, tool licensing where it applies, and any recurring rescans after changes. Ask for a quote that separates one-time setup from ongoing rescans, and confirm who reviews the output.

Where can I check the current standards behind these inventory terms?

Start with the sources this page relies on. NIST IR 8547, Transition to Post-Quantum Cryptography Standards, was published as an Initial Public Draft on 12 November 2024, and NIST's page records that it was obsoleted on 27 October 2026 by the final IR 8547. NIST's post-quantum standards are FIPS 203 (ML-KEM), FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA), and FIPS 203 was published as a final standard on 13 August 2024, with a note dated 17 November 2025 that an identified issue will be corrected in a future revision. Read the final documents rather than drafts, and confirm the current revision before writing requirements into a contract. (NIST FIPS 203)

How DeployOpen works on this

DeployOpen treats static code scanning for cryptography as one input to a cryptographic inventory, not a complete answer on its own. We scope which repositories, build outputs and binaries to analyze, then document the findings in a form your security, compliance and platform teams can review. Engagements are fixed-scope, with the scope agreed in writing before work starts.

How we scope

  • We agree in writing which repositories, languages, build pipelines and binaries are in scope for scanning.
  • We confirm which cryptographic libraries and modules the code calls, so findings map to the dependencies your teams actually run.
  • We record what the scan cannot see, such as runtime configuration, vendor-supplied binaries and encrypted artifacts, so gaps are visible to reviewers.

How we build

  • We set up the scanning tooling inside your own infrastructure, including CI pipelines and self-hosted runners where your policy requires it.
  • We run analysis against the agreed scope and sort detected cryptographic calls by algorithm, library and location in the code.
  • We test the scan output against known cryptographic usage in a sample of your code to check for missed or false findings.

How we hand over

  • We deliver the findings as a structured inventory, with notes on which entries need manual review before they are trusted.
  • We document the scanning configuration, rules and limits so your team can rerun the process and explain results to auditors.
  • We walk your engineers through the results and the handling of ambiguous findings, so the inventory stays usable after handover.

How we support

  • Ongoing support and continuous scanning are available as a retainer, covering tool upgrades and rescans after major code changes.
  • We can extend the scan scope to new repositories or languages under a change to the written scope.
  • Your team keeps ownership of the inventory, and we advise on how findings feed into your wider migration plan.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.