---
title: "Discussion on \"How to stop a user's regex from freezing a browser tab, and two other log-viewer traps\" | Hashnode"
description: "Discussion on \"How to stop a user's regex from freezing a browser tab, and two other log-viewer traps\". A bad regex, a masked secret that leaks its length, and JSON.parse changing big IDs"
url: "https://hashnode.com/posts/how-to-stop-a-user-s-regex-from-freezing-a-browser-tab-and-two-other-log-viewer-traps/6b039724e3b48687529dd5b4"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to stop a user's regex from freezing a browser tab, and two other log-viewer traps](https://zhukovskyi.hashnode.dev/how-to-stop-a-user-s-regex-from-freezing-a-browser-tab-and-two-other-log-viewer-traps?utm_source=hashnode&utm_medium=feed)

A bad regex, a masked secret that leaks its length, and JSON.parse changing big IDs

4d ago · 4 min read · zhukovskyi.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#security](https://hashnode.com/tag/security)
-   [#browser-extension](https://hashnode.com/tag/browser-extension)
-   [#regex](https://hashnode.com/tag/regex)

## Written by

[Andrii Zhukovskyi](https://hashnode.com/@zhukovskyi)

@zhukovskyi · Barcelona, Spain

  
[View profile](https://hashnode.com/@zhukovskyi)

Platform engineer: Kubernetes, AWS, AI tooling. I write about bugs I hit in production and the open-source tools I build.

Platform engineer working with Kubernetes, AWS and AI tooling. I write about production bugs and the open-source tools I build: jvm-fit, FileForge and Health OS. More at https://zhukovskyi.space

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
