Environment:ARCANGEL0 EVA vulnx Installed
| Knowledge Sources | |
|---|---|
| Domains | Security, Vulnerability_Research |
| Last Updated | 2026-10-29 12:00 GMT |
Overview
Local `vulnx` CLI tool for searching vulnerability databases (CVEs, exploits, PoCs) during vulnerability research.
Description
This environment requires the `vulnx` command-line tool to be installed on the host. Vulnx provides a vulnerability database search that returns CVE details, descriptions, remediation info, severity scores, PoC URLs, and exploit references. Mitsu calls `vulnx search {query} --limit 8 --json --silent` with a 30-second timeout and parses the JSON output. Results are compacted to a maximum of 32,000 characters. If `vulnx` is not installed, the search gracefully degrades with a `"vulnx is not installed"` status message.
Usage
Use this environment for Vulnx database searches via `search_vulnx`. It is an optional dependency — when not installed, the vulnerability search pipeline skips Vulnx results and continues with web and Exploit-DB results.
System Requirements
| Category | Requirement | Notes |
|---|---|---|
| OS | Linux | Python-based tool, typically installed via pipx or source |
| Python | 3.x | Vulnx runtime |
Dependencies
System Packages
- `vulnx` (on PATH)
Python Packages
None beyond the base Python environment.
Credentials
No environment variables required.
Quick Install
# Install vulnx (check upstream for current install method)
pipx install vulnx
# Verify installation
vulnx --version
Code Evidence
Executable detection from `search/vulnerabilities.py:141-142`:
executable = executable or shutil.which("vulnx")
if not executable:
return "", "vulnx is not installed"
JSON query from `search/vulnerabilities.py:145-151`:
result = subprocess.run(
[executable, *prefix, "search", query, "--limit", "8", "--json", "--silent"],
capture_output=True,
text=True,
timeout=30,
check=False,
)
Result compaction from `search/vulnerabilities.py:164-204`:
fields = (
"cve_id", "name", "description", "remediation", "severity", "cvss_score",
"version", "affected_version", "affected_versions", "vulnerable_versions",
"product", "vendor", "vuln_status",
"poc", "poc_url", "exploit", "exploit_url", "references", "links",
"url", "source_url",
)
compact_records = []
for record in records[:8]:
if not isinstance(record, dict):
continue
compact = {key: record[key] for key in fields if key in record}
Output size limit from `search/vulnerabilities.py:204`:
return output[:32_000], None
Common Errors
| Error Message | Cause | Solution |
|---|---|---|
| `vulnx is not installed` | Binary not on PATH | Install vulnx via pipx or from source |
| `vulnx exited with status {code}` | Runtime error in vulnx | Check vulnx database and configuration |
| Timeout after 30s | Database locked or slow query | Retry with a simpler query |
Compatibility Notes
- Graceful degradation: When vulnx is not installed, vulnerability search continues without Vulnx results.
- Result limit: Only the first 8 records per query, truncated to 32,000 characters.
- Query limit: Only the first 2 queries from the vulnerability query list are sent to Vulnx.
- Timeout: 30-second timeout per vulnx invocation.
- JSON mode: Requires `--json` and `--silent` flags (modern vulnx versions support these).