Skip to content
OWASPPublic

Latest commit

 

History

122 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OWASP DecodeBox

OWASP Project: Incubator License Live Site Client-side

README · Contributing · Apache-2.0 License · Security · Changelog

OWASP-DecodeBox-Showcase-Final.mp4

OWASP DecodeBox is a browser-based workbench for identifying unknown data and tracing how it was encoded. Paste text or open a file to explore its layers. Each format suggestion comes with evidence you can inspect, and the steps that reach a layer can become an editable recipe.

  • Detection. Follow nested encodings, including encoded fields inside structured data. The analysis shows where it found each indicator and what triggered each security finding.
  • Recipes. Use the operation catalogue to convert formats, decompress data, compute hashes, or extract values. Adjust the arguments, reorder steps, and save the recipe for another input.
  • Capture the flag (CTF). Search decoded layers for flag patterns, review ranked hints for the next transformation, and copy the findings into a Markdown report.

JavaScript SDK

Use the workbench’s operations, recipes and multilayer analysis in browsers or Java-enabled GraalJS. Official SDK deployment is pending. Once published, add this snippet to an HTML page and open the console to see Hello. The hosted SDK runs in the browser without a local build.

<meta charset="utf-8">
<script src="https://decodebox.owasp.org/api.js"></script>
<script>
  DecodeBox.ready.then(async () => {
    const result = await DecodeBox.executeOperation("from-base64", "SGVsbG8=");
    console.log(result); // Hello
  });
</script>

The SDK guide explains the distribution paths and versioning. To use the SDK before deployment, follow local and offline setup.

Development

Use Node.js 24, run npm ci, then npm run dev. The development guide covers regression tests and builds for the site, standalone application and SDK. See the documentation index for the project layout and API reference.

Standalone Edition

Select Download DecodeBox on the live site, or open the locally built dist/decodebox.html. The file includes the engine, interface, and fonts. Large inputs can pause the tab because processing runs on the main thread. Download a new copy after security fixes.

Security & Privacy

Analysis runs in your browser. No application backend receives ordinary analysis input. Saved recipes use browser storage. Share links include the recipe and its custom arguments in the URL fragment. Input is excluded by default. If you select Include the input as well, anyone with the link can read it. Report vulnerabilities privately through the security policy.

How to Contribute

For decoding errors, include a small, non-sensitive sample, your recipe, and the expected result. Contributions to operations should include test vectors. Follow the OWASP contributing guidelines and Code of Conduct.

Project Leader

Mohammad Hossein Sadeghian

License

DecodeBox is licensed under the Apache License 2.0.

Releases

Packages

Used by

Contributors

Languages