Sluicing Scripts

(a sluice box is a thing used to filter gold and other precious metals out of running water)

Remember

Extract identifiers, object keys, strings etc to build target-specific wordlists.

Use jsluice's tree mode to help you write queries.

Leverage jq to extract things from objects so your queries stay simple.

Sometimes there's interesting stuff in comments.

Resources

Get jsluice:
https://github.com/BishopFox/jsluice

Tree-sitter queries:
https://tree-sitter.github.io/tree-sitter/using-parsers#query-syntax

Thanks :)