This is the starter kit for a Caido workflow JS script.
Check out our documentation on workflows.
You don't need to use this to use worklows, this is really only to help you with more complex JS node scripts.
npm i- Make some modifications in
src npm run build- Copy the content of
script.jsindistinto the JS node - (Optional) Use the generated
workflow.jsonindist
If you have a stable workflow, you can Download it from Caido and use it as a template.
The build process will inject the script where you put the tag [REPLACE_SCRIPT].
You can take inspiration from workflow.template.json
