Skip to content
vetkitChecksChangelogDocumentation

vetkit.java.crypto.hardcoded-key

A cryptographic key is hard-coded in the source code.

Last updated:

Suite: Security

java

A cryptographic key is hard-coded in the source code.

Category: SECURITY · Engine rule severity: ERROR

How to fix it

Load keys from a key store or secret manager at runtime and rotate the exposed key.

References

Source: packages/engine/rules/sast/java.yml.

Generated from shipped rule definitions at build time. Matching is a review signal, not proof of exploitability. “generic” denotes text matching, not complete language or framework coverage. Runtime configuration and available tools affect whether a rule runs.