---
title: "Comment by José Pablo Ramírez Vargas on \"How to invalidate a JWT using a blacklist\" | Hashnode"
description: "Saving JWT&#39;s in any medium is a security risk. The blacklist method needs to be stopped. The most straightforward example one can give: Hacker gains access"
url: "https://hashnode.com/posts/how-to-invalidate-a-jwt-using-a-blacklist/604603fc8458d42fc821d0cd/comment/6395781a9fa713176ab9dac3"
---

[Discussion](https://hashnode.com/posts/how-to-invalidate-a-jwt-using-a-blacklist/604603fc8458d42fc821d0cd)

Comment [How to invalidate a JWT using a blacklist](https://hashnode.com/posts/how-to-invalidate-a-jwt-using-a-blacklist/604603fc8458d42fc821d0cd)

[José Pablo Ramírez Vargas](https://hashnode.com/@webJose)

[Dec 11, 2022](https://hashnode.com/posts/how-to-invalidate-a-jwt-using-a-blacklist/604603fc8458d42fc821d0cd/comment/6395781a9fa713176ab9dac3)

Saving JWT's in any medium is a security risk. The blacklist method needs to be stopped.

The most straightforward example one can give:

1.  Hacker gains access to your database.
2.  Hacker reads all invalidated tokens in the blacklist.
3.  Hacker clears the blacklist. Now all blacklisted tokens are back to Active and Good state.
4.  Hacker does bad things with the stolen, previously-blacklisted-but-not-anymore, list of tokens.
