> ## Documentation Index
> Fetch the complete documentation index at: https://docs.codeant.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Security

<AccordionGroup>
  <Accordion title="scala-jwt-hardcoded-secret">
    Hardcoded JWT secret or private key is used. This is a Insufficiently Protected Credentials weakness: [https://cwe.mitre.org/data/definitions/522.html](https://cwe.mitre.org/data/definitions/522.html) Consider using an appropriate security mechanism to protect the credentials (e.g. keeping secrets in environment variables)<br />**Likelihood**: MEDIUM<br />**Confidence**: HIGH<br />**CWE**: <br />- CWE-522: Insufficiently Protected Credentials
    <br />**OWASP**: <br />- A02:2017 - Broken Authentication
    <br />- A04:2021 - Insecure Design
  </Accordion>
</AccordionGroup>
