gchq / gchq/CyberChef

Bug report: Output search JSON Beautify fails

Open
#1,944 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
35.8k
Forks
4.1k
Avg merge
2d 26m
Merged PRs (30d)
33

Description

**Describe the bug**
Using Recipe 'JSON Beautify', the output can't be searched

**To Reproduce**
Steps to reproduce the behaviour or a link to the recipe / input used to cause the bug:

1. Add only recipe JSON Beautify
2. Place some JSON in the Input
3. Try searching for words in the Output

**Expected behaviour**
The searched word is highlighted when found and 'next' and 'previous' buttons do work.

**Screenshots**
![image](https://github.com/user-attachments/assets/dca693cd-9018-41ec-9044-f222e7deedcc)

**Desktop (if relevant, please complete the following information):**
- OS: Ubuntu Unity
- Browser: Google Chrome Version 131.0.6778.85 (Official Build) (64-bit)
- CyberChef version: 10.18.9

**Additional context**
If you add a 2nd recipe like 'Decode text', the search works again.

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in CyberChef using only the JSON Beautify recipe, JSON input, and the output search controls. Compare the behavior with a second recipe such as Decode text; done means output terms are highlighted and the next and previous buttons work with JSON Beautify alone.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.