opencode-js-bounty
v1.0.2
Published
Opencode plugin for automated JS bundle bug bounty analysis and UI tracking
Maintainers
Readme
🕷️ OpenCode JS Bounty Hunter Plugin

An official OpenCode plugin that automatically downloads js files, analyzes them for hidden API endpoints and local storage secrets, and spins up a beautiful local Bug Bounty Tracker UI to manage your hunt!
Installation
- Add the plugin to your OpenCode project by editing opencode.json:
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-js-bounty"]
}- Run
npm install opencode-js-bounty(or whatever your package manager uses to install it locally).
Note: The installation process will automatically register the /js-bounty command into your OpenCode CLI via a post-install hook.
Usage
Simply trigger the analysis inside OpenCode by passing a local file path or a remote URL:
/js-bounty https://example.com/assets/file.jsWhat happens next?
- OpenCode seamlessly intercepts the command and downloads the file.
- The plugin executes a high-speed extraction script, aggressively pulling out all `/api/`, `/v1/`, and `/jwt/` paths, along with cached `llab-` secrets.
- The data is saved to `tracker-state.json`.
- A stealthy local UI server boots up at http://localhost:49152.
- OpenCode replies with a single link to click. No terminal clutter!
Features
- Zero Configuration: Just pass a URL and get a full dashboard.
- Plannotator-Style UI: A dark-mode, split-pane React application built-in.
- Persistent State: Notes, statuses, and checkboxes are instantly saved to disk locally.
- Auto-Categorization: Automatically separates hidden localStorage keys from standard REST APIs.
Author & Support
Created with ❤️ by Ahmed Yasser
If this tool helped you secure a sweet bounty, consider starring the repo or reaching out on Twitter/X (@spxios)!
