gchq / gchq/CyberChef

Bug report: TypeError: cannot use 'in' operator to search for "id" in "{\"args\":{\"frameI..."

Open
#2,054 0 comments 1 reaction 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**

When opening CyberChef, I'm prompted with the following error, which only lasts about one second before CyberChef loads normally.

```
CyberChef encountered an error while loading.

The following browser versions are supported:

Google Chrome 50+
Mozilla Firefox 38+

Your user agent is:
Mozilla/5.0 (X11; Linux x86_64; rv:138.0) Gecko/20100101 Firefox/138.0

If your browser is supported, please raise an issue including the following details:

TypeError: cannot use 'in' operator to search for "id" in "{\"args\":{\"frameI..."
Filename: https://gchq.github.io/CyberChef/assets/main.js
Line: 2
Column: 8379345
Error: TypeError: cannot use 'in' operator to search for "id" in "{\"args\":{\"frameI..."
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:138.0) Gecko/20100101 Firefox/138.0
CyberChef version: 10.19.4

Download CyberChef file_download
Last build: 10 days ago - Version 10 is here! Read about the new features here
Options settings About / Support help
```

**To Reproduce**

I'm using Zen Browser, version: 1.12.7b (Firefox 138.0.4) (64-bit)

There are no special actions to perform for the issue to appear, I just need to visit CyberChef or refresh an already opened instance of CyberChef in my browser.

**Expected behaviour**
The error does not happen.

**Screenshots**

![Image](https://github.com/user-attachments/assets/8c4140d6-9957-4dc0-b806-01ea8b503a4f)

**Desktop:**
- OS: Arch Linux
- Browser: Zen Browser 1.12.7b (Firefox 138.0.4) (64-bit)
- CyberChef version: 10.19.4

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.