-
Input: https://example.com
-
Output:
- Sensitive API detected
- Parameters auto-identified
- AI risk analysis (e.g. HARD-CODED TOKEN → exploitable)
Traditional JavaScript security scanning tools have clear limitations:
- ❌ Only extract API paths (no parameter awareness)
- ❌ Require manual fuzzing to find vulnerabilities
- ❌ Cannot understand business logic
- ❌ Hardcoded secrets lack exploit context
JScanner2 combines AST parsing + AI analysis to enable real-world vulnerability discovery:
- Parse JS using AST
- Extract API endpoints AND parameters
- AI infers parameter structure and meaning
👉 No more blind fuzzing
- Detect tokens, keys, credentials
- AI explains how to exploit them
👉 Not just detection, but exploitation guidance
In real-world SRC testing:
- APIs alone may seem safe
- BUT become vulnerable when combined with valid parameters
👉 JScanner2 bridges this gap
🎯 Three usage levels depending on your needs:
- Quick Scan → No config, fast results
- AI Scan (Recommended) → Full capability
- Automation Mode → Batch + notification
Run a basic scan without any configuration:
python main.py -u https://example.com -H 6- ✅ No API key required
- ✅ Fast execution
💡 Uses regex-based detection only (no AI)
Enable full functionality:
# install dependencies
pip install -r requirements.txt
playwright install
playwright install-deps
npm install prettier
# configure
vim config/config.py
# set: BASE_URL, API_KEY
# run(Recommended)
python main.py -u https://example.com -asia -fp -H 6- Intelligent parameter identification
- AI-based sensitive info detection
- Exploit suggestions
🔥 Recommended for real vulnerability discovery
Run large-scale scans with notification:
vim run_scan.sh
# configure FEISHU_WEBHOOK
echo urls.txt | ./run_scan.sh- Batch scanning
- Background execution (server)
- Feishu notification
💡 Ideal for VPS / long-running tasks
- Python 3.9+
pip install -r requirements.txt
playwright install-deps
playwright install
npm install prettierEdit:
config/config.pyModify:
- BASE_URL
- API_KEY
- Proxy (optional)
- FEISHU_WEBHOOK (optional)
| Parameter | Description |
|---|---|
| -asia | AI-based analysis |
| -asir | Regex-based detection |
| -fp | Parameter discovery |
| -fs | Fast scan |
| -H | Scan depth |
- API endpoints
- Parameters (auto-generated)
- Sensitive data findings
- Exploit suggestions (AI)
👉 Results are stored for analysis
For authorized security testing only.
- Obtain permission
- Follow laws
- No illegal usage
- Playwright
- LinkFinder
- NLTK
- 讯飞星辰
