CodeAnt AI home pagelight logodark logo
  • Dashboard
  • Dashboard
  • Documentation
  • Demo Call with CEO
  • Blog
  • Slack
  • Get Started
    • CodeAnt AI
    • Setup
    • Control Center
    • Pull Request Review
    • IDE
    • Compliance
    • Anti-Patterns
    • Code Governance
    • Infrastructure Security Database
    • Application Security Database
      • Apex
      • Bash
      • C
      • Clojure
      • Cpp
        • Lang
          • Correctness
          • Security
            • Containers
            • Crypto
            • Filesystem
            • Format-string
            • Ldap
            • Libraries
            • Memory
            • Misc
            • Rng
              • Predictable-seed-rng-constant
                • Predictable seed rng constant
              • Predictable-seed-rng-time
            • Sql
            • Strings
            • System-command
            • Uri
            • Use-after-free
        • Libxml2
      • Csharp
      • Dockerfile
      • Elixir
      • Fingerprints
      • Generic
      • Go
      • Html
      • Java
      • Javascript
      • Json
      • Kotlin
      • Ocaml
      • Php
      • Problem-based-packs
      • Python
      • Ruby
      • Rust
      • Scala
      • Solidity
      • Swift
      • Terraform
      • Typescript
      • Yaml
    Predictable-seed-rng-constant

    Predictable seed rng constant

    The seed value of a Pseudo Random Number Generator (PRNG) is a constant value. Do not use values from this PRNG to derive a secrets, such as passwords or cryptographic keys.
    Likelihood: LOW
    Confidence: HIGH
    CWE:
    - CWE-337: Predictable Seed in Pseudo-Random Number Generator (PRNG)
    OWASP:
    - A02:2021 - Cryptographic Failures

    Microsoft banned list wvsprintfwPredictable seed rng time
    twitterlinkedin
    Powered by Mintlify