Skip to main content

Hardcoded ciphersuite choice

io.moderne.cryptography.FindHardcodedCiphersuiteChoice

Locate hardcoded ciphersuite choices in cryptographic code.

Recipe source

This recipe is only available to users of Moderne.

This recipe is available under the Moderne Proprietary License.

Used by

This recipe is used as part of the following composite recipes:

Usage

This recipe has no required configuration options. Users of Moderne can run it via the Moderne CLI:

You will need to have configured the Moderne CLI on your machine before you can run the following command.

shell
mod run . --recipe FindHardcodedCiphersuiteChoice

If the recipe is not available locally, then you can install it using:

mod config recipes jar install io.moderne.recipe:rewrite-cryptography:0.6.1

See how this recipe works across multiple open-source repositories

Run this recipe on OSS repos at scale with the Moderne SaaS.

The community edition of the Moderne platform enables you to easily run recipes across thousands of open-source repositories.

Please contact Moderne for more information about safely running the recipes on your own codebase in a private SaaS.

Data Tables

Cryptographic flow steps

org.openrewrite.table.CryptoFlowStepsTable

Tracks the flow of cryptographic operations from hardcoded values through various transformations.

Column NameDescription
Source fileThe source file containing the cryptographic flow
Anti-patternDescription of the cryptographic anti-pattern detected
Step 1First step in the cryptographic flow
Step 2Second step in the cryptographic flow
Step 3Third step in the cryptographic flow
Step 4Fourth step in the cryptographic flow
Step 5Fifth step in the cryptographic flow
Step 6Sixth step in the cryptographic flow
Step 7Seventh step in the cryptographic flow
Step 8Eighth step in the cryptographic flow
Step 9Ninth step in the cryptographic flow
Step 10Tenth step in the cryptographic flow