Environment:7onez Cti expert IntelX API
| Knowledge Sources | |
|---|---|
| Domains | OSINT, Leak_Corpus |
| Last Updated | 2026-10-28 14:00 GMT |
Overview
Environment with an `INTELX_KEY` credential for Intelligence X (intelx.io) selector search and leak-corpus phonebook lookup via the API.
Description
This environment provides the credential for the WebPivot IntelX client (`wp_intelx.py`). With a key, the tool performs selector searches against the IntelX leak corpus (breach data, stealer logs, pastes), with budget-proportional deadlines and monthly search caps. Without a key, the module still classifies the selector and emits the ready-to-run intelx.io / phonebook.cz URL for every artifact — an analyst with a free web account can run them manually. The key is sent as the `x-key` header.
= Usage
Use this environment for leak-corpus search and stealer-log priority pass planning. It is the mandatory prerequisite for `WP_IntelX_Search`. Without the key, the implementation degrades to a keyless query-builder mode (the Keyless_Fallback principle).
System Requirements
| Category | Requirement | Notes |
|---|---|---|
| OS | Any (stdlib Python) | Same as Python_Stdlib |
| Hardware | Any CPU | API calls only |
| Disk | Negligible | API responses stored in case data |
Dependencies
System Packages
- `python3` >= 3.10
Python Packages
None beyond the stdlib (uses urllib for API calls).
Credentials
The following environment variables must be set in `.env` (chmod 600):
- `INTELX_KEY`: Intelligence X API key (Account → Developer tab). Aliases: `INTELX_API_KEY`, `INTELLIGENCEX_KEY`.
- `INTELX_BASE_URL` (optional): API instance root (default `https://2.intelx.io`; free/public keys answer on a different instance).
- `INTELX_MAX_SEARCHES_PER_RUN` (optional): override per-run search budget.
- `INTELX_MONTHLY_SEARCHES` (optional): override monthly search cap.
Quick Install
# Get an API key from intelx.io (Account -> Developer tab), then:
printf 'INTELX_KEY=...\n' >> .env && chmod 600 .env
Code Evidence
Key resolution with aliases, from `intel_engine/WebPivot/tools/wp_intelx.py:198-201`:
def intelx_key():
"""The IntelX API key, or None. `INTELX_KEY` is the name Setup.md documents; the aliases are
..."""
return _secret("INTELX_KEY", "INTELX_API_KEY", "INTELLIGENCEX_KEY")
Keyless degradation, from `intel_engine/WebPivot/tools/wp_intelx.py:70-71`:
With no `INTELX_KEY` this module still classifies the selector and emits the ready-to-run
intelx.io / phonebook.cz URL for every artifact WebPivot extracted, so an analyst with a free web
Default API root, from `intel_engine/WebPivot/tools/wp_intelx.py:123`:
DEFAULT_API_ROOT = "https://2.intelx.io"
Common Errors
| Error Message | Cause | Solution |
|---|---|---|
| `INTELX_KEY missing` | No API key configured | Add `INTELX_KEY` to `.env`; keyless mode still builds queries |
| Search budget exceeded | Monthly/per-run cap reached | Raise `INTELX_MAX_SEARCHES_PER_RUN` or `INTELX_MONTHLY_SEARCHES` |
| Wrong API instance (404) | Free/public key on paid instance or vice versa | Set `INTELX_BASE_URL` to match the key's entitlement |
Compatibility Notes
- Keyless is safe: Without a key, no network calls are made — the module only classifies the selector and writes UI URLs. This is the Keyless_Fallback principle.
- Budget-proportional deadlines: The search deadline scales with the expected result bucket size, not a fixed timeout.
- API credit tracking: IntelX search calls are metered; credits are logged via `api_usage.record(...)` to `MEMORY/api_usage.jsonl`, separate from Anthropic model cost.