Skip to content
vetkitChecksChangelogDocumentation

vetkit.swift.crypto.weak-cipher

A broken or legacy cipher (DES, 3DES, RC2, RC4 or Blowfish) is used. Small keys or 64-bit blocks make the ciphertext practical to attack.

Last updated:

Suite: Security

swift

A broken or legacy cipher (DES, 3DES, RC2, RC4 or Blowfish) is used. Small keys or 64-bit blocks make the ciphertext practical to attack.

Category: SECURITY · Engine rule severity: WARNING

How to fix it

Use CryptoKit AES.GCM or ChaChaPoly.

References

Source: packages/engine/rules/sast/swift.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.