DecodeBox adds a workbench to ZAP for inspecting and transforming data from HTTP requests and responses.
DecodeBox website · Main DecodeBox repository · ZAP add-on repository
- Detection. Trace layers of encoding and inspect the evidence behind a suggested format.
- Operations. Search the catalogue to decode Base64, convert bytes to hexadecimal, or compute a hash.
- Recipes. Chain operations, adjust their arguments, and save the steps for use with another input.
- In ZAP 2.16.0 or later, open Manage Add-ons and install GraalVM JavaScript (
graaljs) 0.9.0 or later. - Download the latest
.zappackage from Releases. - Choose File → Load Add-on File… in ZAP and select the downloaded file.
By default, the add-on downloads the JavaScript SDK from decodebox.owasp.org/api. The SDK processes input locally in ZAP’s GraalJS runtime. To use your own endpoint, choose Self-hosted SDK under Tools → Options → DecodeBox.
SDK source · SDK documentation
Paste dXNlcj00Mg== into Input in the DecodeBox tab and select From Base64 in Operations. With Auto Bake enabled, Output shows user=42.
To inspect a value directly from an HTTP request or response, select it in the ZAP editor, right-click, and choose Send to DecodeBox.