🤖 LLM-powered agent for automated JS analysis in bug hunting & pentesting.
- Git clone
> git clone https://github.com/yee-yore/JsAgent.git
- Install packages
# python version = 3.11.9
> pip install -r requirements.txt # for macOS
- Configure API keys in the
.env
file
- You must set at least one LLM API key (e.g., OpenAI, Anthropic, or Gemini) depending on your preference
- You can also integrate other LLMs: https://docs.crewai.com/concepts/llms
OPENAI_API_KEY= # Optional - set if using OpenAI
ANTHROPIC_API_KEY= # Optional - set if using Anthropic
GEMINI_API_KEY= # Optional - set if using Gemini (free available)
- Run
jsagent.py
> python jsagent.py
- Targets (
task()
)
# You can add things that can be extracted from Javascript (e.g. PII, Credential, Comment, IP address, etc.) to the description.
- Agents (
agents()
)
# https://docs.crewai.com/concepts/agents
- 2025-04-22: JsAgent ver 1.0