gchq/CyberChef

bug(Swap Endianness): an uncaught TypeError "u.push is not a function"

Open

#2,495 opened on Jun 4, 2026

View on GitHub
 (1 comment) (0 reactions) (0 assignees)JavaScript (3,944 forks)batch import
buggood first issuehelp wanted

Repository metrics

Stars
 (34,843 stars)
PR merge metrics
 (Avg merge 53d 1h) (68 merged PRs in 30d)

Description

To reproduce that use a direct link https://gchq.github.io/CyberChef/#recipe=Swap_endianness('',2,true)&input=aGVsbG8&oenc=65001&oeol=VT

as you can see an uncaught type error appear like

Swap endianness - TypeError in blob:https://gchq.github.io/ca665e42-4811-40fc-9d6a-a868c6bd8271 on line 2.<br><br>Message: u.push is not a function

the issue simple the first parameter not validated is empty or not

Contributor guide