Jwt Jwt Exposed Credentials

The application is storing a password in the JWT token payload. Storing passwords in JWT token payloads is an insecure practice that can lead to compromised credentials. The password transmitted in the JWT payload is not encrypted and therefore visible to anyone who intercepts the token. It is recommended to avoid storing sensitive information like passwords

IndexedPublic repositoryHighMedium confidenceVerifiedLGPL-3.0-onlyJS
greprules fetch gitlab-sast-rules-lgpl-javascript-jwt-rule-jwt-exposed-credentials --engine opengrep

Description

The application is storing a password in the JWT token payload. Storing passwords in JWT token payloads is an insecure practice that can lead to compromised credentials. The password transmitted in the JWT payload is not encrypted and therefore visible to anyone who intercepts the token. It is recommended to avoid storing sensitive information like passwords