You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A unified shared library which aids in building fuzzers for browsers or as complement for an already existing fuzzing framework.
Octo.js bundles core functions and generic boilerplate code commonly used in most frameworks for fuzzing browsers. It is designed for the sharing of improvements between our individual fuzzers, and with the purpose of reducing the maintainability of those core features with minimal effort.
Octo's future aims to be a stable, well-tested and well-documented standard library for fuzzing in a JavaScript environment.
const{ random, make }=require("@mozillasecurity/octo");random.init();// Common Operationsmake.number.any();make.text.any();// WebCryptomake.crypto.randomAlgorithm();// WebGLmake.webgl.randomSamplerParameter();
Take a look into the API documentation for further use cases.
Usage in the Browser
yarn install
yarn build
A bundled production build (octo.js) is placed into the local dist directory.
Development
yarn lint
yarn test
yarn build
Testing
Octo.js uses Jest for testing. Each directory should contain a __tests__ folder containing the tests.