What it flags
Reports a DES string literal passed tojavax.crypto.Cipher.getInstance or to Cipher.getInstance with an unshadowed JCA import. A DES constant or other computed transformation is outside this check.
The check identifies the mode when the factory call initializes a local variable and the next statement calls init on that variable with JCA’s Cipher.ENCRYPT_MODE or Cipher.DECRYPT_MODE, including their fully qualified forms. Observed decryption is contextual. Other matches report the DES selection and ask you to verify how the cipher is used.
Legacy ciphertext migration may require retaining a decryption path while new writes use a different format. Review the data retention and compatibility requirements before changing the transformation. The rule leaves the ciphertext format and source unchanged.
Configuration
Set the rule to"off" in loadwise.config.json to drop its findings: