We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83ff70b commit 8e10e19Copy full SHA for 8e10e19
java/ql/src/experimental/quantum/Analysis/UnknownIVorNonceInitialization.ql
@@ -0,0 +1,17 @@
1
+/**
2
+ * @name Unknown nonce/iv initialization
3
+ * @id java/quantum/unknown-iv-or-nonce-initialization
4
+ * @description A nonce/iv is generated from a source that is not secure. Failure to initialize
5
+ * an IV or nonce properly can lead to vulnerabilities such as replay attacks or key recovery.
6
+ * @kind problem
7
+ * @problem.severity error
8
+ * @precision high
9
+ * @tags quantum
10
+ * experimental
11
+ */
12
+
13
+import experimental.quantum.Language
14
15
+from Crypto::NonceArtifactNode nonce
16
+where exists(nonce.getSourceNode())
17
+select nonce, "Unknown (unobserved) IV/Nonce initialization."
0 commit comments