Environment:ARCANGEL0 EVA searchsploit Installed
| Knowledge Sources | |
|---|---|
| Domains | Security, Vulnerability_Research |
| Last Updated | 2026-10-29 12:00 GMT |
Overview
Local `searchsploit` CLI tool (Exploit-DB offline database) for querying exploit references during vulnerability research.
Description
This environment requires the `searchsploit` command-line tool to be installed on the host. `searchsploit` provides offline access to the Exploit-DB database, allowing Mitsu to search for known exploit references without internet access. Mitsu calls `searchsploit --json {query}` with a 20-second timeout and parses the JSON output for `RESULTS_EXPLOIT` entries. If `searchsploit` is not installed, the search gracefully degrades with a `"searchsploit is not installed"` status message.
Usage
Use this environment for local Exploit-DB searches via `search_exploitdb`. It is an optional dependency — when not installed, the vulnerability search pipeline skips local exploit references and continues with web and Vulnx results.
System Requirements
| Category | Requirement | Notes |
|---|---|---|
| OS | Linux (recommended) | Exploit-DB package available on Kali, BlackArch |
| Disk | ~2GB | Exploit-DB database files |
Dependencies
System Packages
- `exploitdb` (provides `searchsploit` command) — available via apt on Kali, pacman on BlackArch
Python Packages
None beyond the base Python environment.
Credentials
No environment variables required.
Quick Install
# Kali Linux / Debian
sudo apt-get install -y exploitdb
# Arch / BlackArch
sudo pacman -S --needed --noconfirm exploitdb
# Verify installation
searchsploit --version
Code Evidence
Executable detection from `search/vulnerabilities.py:102-103`:
executable = executable or shutil.which("searchsploit")
if not executable:
return [], "searchsploit is not installed"
JSON query from `search/vulnerabilities.py:106-112`:
result = subprocess.run(
[executable, *prefix, "--json", query],
capture_output=True,
text=True,
timeout=20,
check=False,
)
Result parsing from `search/vulnerabilities.py:121-132`:
rows = payload.get("RESULTS_EXPLOIT", []) if isinstance(payload, dict) else []
references = []
for row in rows[:8] if isinstance(rows, list) else []:
if not isinstance(row, dict):
continue
references.append({
"title": str(row.get("Title", "Untitled reference"))[:240],
"id": str(row.get("EDB-ID", ""))[:40],
"path": str(row.get("Path", ""))[:500],
})
Common Errors
| Error Message | Cause | Solution |
|---|---|---|
| `searchsploit is not installed` | Binary not on PATH | Install: `sudo apt-get install exploitdb` |
| `searchsploit returned unreadable output` | Non-JSON output from searchsploit | Update exploitdb package |
| Timeout after 20s | Database locked or very slow disk | Run `searchsploit --update` and retry |
Compatibility Notes
- Graceful degradation: When searchsploit is not installed, vulnerability search continues without local results.
- Result limit: Only the first 8 results are returned per query.
- Timeout: 20-second timeout per searchsploit invocation.
- JSON mode: Requires searchsploit to support `--json` flag (modern versions do).