gchq/CyberChef

bug(From BCD): Uncaught TypeError can'nt access property indexOf, n is undefined

Open

#2.489 aberto em 4 de jun. de 2026

Ver no GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (3.944 forks)batch import
bughelp wanted

Métricas do repositório

Stars
 (34.843 stars)
Métricas de merge de PR
 (Mesclagem média 53d 1h) (68 fundiu PRs em 30d)

Description

To reproduce that use a direct url https://gchq.github.io/CyberChef/#recipe=From_BCD('',true,false,'Nibbles')&input=MTAwMA&oeol=VT, then as you can see

From BCD - TypeError in blob:https://gchq.github.io/7f68ce91-b78c-4bad-92a1-2f639f10c891 on line 2.<br><br>Message: can't access property "indexOf", n is undefined

the issue is simple issue the first parameter not checked is empty or not, that persists, because after that a code try to use indexOf in n, and simply n is undefined, will throw an error

Guia do colaborador