Scan your whole stack
From OX Research Newsroom
Are you using crimson-crawler-client?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v5.0.1
crimson-crawler-client was last scanned on 1 Dec 2026 at version 5.0.1. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 5.0.1 LATEST | 1 Dec 2026 | No rules fired |
| 5.0.0 | 24 Nov 2026 | No rules fired |
Findings for v5.0.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 5.0.1; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Turn a CVE into a complete, typed attack briefing with one async call. The client also covers package, IOC, CWE, and ATT&CK enrichment, artifact and inventory workflows, grounded reports, and every v1 endpoint without hand-written request models.
pip install crimson-crawler-client
# or
uv add crimson-crawler-client
Python 3.11+.
Published on PyPI; the commands above install the latest release.
Set your key in the environment:
export CRIMSON_CRAWLER_API_KEY=your-api-key
Or pass it directly (preferred for tests and multi-tenant code):
async with CrawlerClient(api_key="your-api-key") as client:
...
The constructor argument wins over the env var. Generate a key at crimsoncrawler.com/dashboard.
The hosted API at https://crimsoncrawler.com is the default. Point the
official package at a local or self-hosted deployment with either form:
export CRIMSON_CRAWLER_BASE_URL=http://localhost:8000
client = CrawlerClient(base_url="http://localhost:8000")
The SDK sends its apikey header to the selected origin. Use a local or
development key when overriding the endpoint; do not reuse a production key
with an origin you do not control. Custom non-loopback endpoints must use
HTTPS. Plain HTTP is accepted only for loopback development URLs such as the
example above. TLS verification stays enabled by default; trust the
deployment's CA when possible. verify_ssl=False or
CRIMSON_CRAWLER_VERIFY_SSL=false is only for isolated local development with
a self-signed certificate. The SDK emits a warning for either override.
import asyncio
from crimson_crawler_client import CrawlerClient
async def main() -> None:
async with CrawlerClient() as client:
result = await client.enrich_cve_full("CVE-2024-3400")
if result.cve:
print(result.cve.cvss_v3_score, result.cve.cvss_v4_score)
for technique in result.techniques or []:
print(technique.technique_id, technique.name)
asyncio.run(main())
Every list-valued field on an enrichment response can be None if that layer wasn't requested or had no data. The or [] guard is the standard pattern.
OSV advisories may span pages. Use iter_cve_osv_pages(cve_id) or
iter_vulnerability_exposure_osv_pages(cve_ids) to stream them without collecting the full walk.
Pass an explicit include containing osv_restricted for restricted or unknown-licence records.
An expired snapshot raises UnexpectedStatus; restart the walk rather than appending a new
snapshot to pages already consumed.
CrawlerClient(
api_key: str | None = None,
base_url: str | None = None,
verify_ssl: bool | None = None,
max_retries: int = 2,
)
| Parameter | Type | Default | Description |
|---|---|---|---|
api_key |
str \| None |
env CRIMSON_CRAWLER_API_KEY |
Sent as the apikey header on every request. |
base_url |
str \| None |
env CRIMSON_CRAWLER_BASE_URL, then https://crimsoncrawler.com |
Custom, self-hosted, or local API origin. |
verify_ssl |
bool \| None |
env CRIMSON_CRAWLER_VERIFY_SSL, then True |
Disable only for isolated local development; prefer trusting the deployment CA. |
max_retries |
int |
2 |
Number of automatic retries on transient failures (see Retry & rate limits). 0 disables. |
Raises MissingCredentials if neither api_key nor the env var is set. Raises ValueError for a malformed or insecure non-loopback base_url, or if max_retries < 0.
api — pass this to any endpoint function when calling endpoints directly (see Beyond the convenience surface).base_url — read-only; the resolved hosted, custom, or local endpoint.max_retries — read-only; the configured retry budget (see Retry & rate limits).CrawlerClient is an async context manager. The recommended pattern:
async with CrawlerClient() as client:
result = await client.enrich_cve_full("CVE-2024-3400")
Entering opens the HTTP client. Exiting closes it.
If you need finer control:
client = CrawlerClient()
try:
result = await client.enrich_cve_full("CVE-2024-3400")
finally:
await client.aclose()
A single CrawlerClient can issue many concurrent requests. TCP connections are reused across calls, so don't construct one per request.
Every /v1 operation has a method — 38 of them, plus the search_techniques shortcut. The seven documented in full below cover the highest-traffic patterns; the rest are grouped after them with their signatures. The 17 enrich_*_full methods call their endpoint with a full-walk include=[...] preset baked in (pass include= to override); the others take no preset. Every method is async, returns a typed response model, and raises UnexpectedStatus on a non-2xx.
| Group | Methods |
|---|---|
| Full-walk enrichment (17) | enrich_cve_full · enrich_ioc_full · enrich_cwe_full · enrich_technique_full · enrich_product_full · enrich_package_full · enrich_capec_full · enrich_group_full · enrich_software_full · enrich_campaign_full · enrich_atlas_full · enrich_disarm_full · enrich_defend_full · enrich_f3_full · enrich_cloak_full · enrich_location_full · enrich_sector_full |
| Enrichment, no preset (2) | enrich_batch · enrich_poc_source |
| Search (9 + 1) | search_cve · search_cti · search_csaf · search_kev · search_misp · search_knowledgebase · search_vendor · search_poc · search_d3fend · search_techniques |
| Assessment (4) | assess_technique_coverage · assess_vulnerability_exposure · assess_group_exposure · assess_ioc_portfolio |
| Async engines (6) | artifact_enrich · artifact_enrich_status · inventory_enrich · inventory_enrich_status · event_enrich · event_enrich_status |
enrich_cve_full(cve_id, *, include=None)Returns CVE details, EPSS, KEV, weaknesses, attack patterns, ATT&CK techniques, TIE predictions and other default-on source layers. MISP and knowledge-base context require explicit includes.
async with CrawlerClient() as client:
result = await client.enrich_cve_full("CVE-2024-3400")
if result.cve:
print(f"CVSS v{result.cve.cvss_v3_version}: {result.cve.cvss_v3_score} ({result.cve.cvss_v3_severity})")
print(f"Description: {result.cve.description}")
if result.epss:
print(f"EPSS: {result.epss.epss} (percentile {result.epss.percentile})")
if result.kev and result.kev.in_kev:
print(f"KEV: added {result.kev.date_added}")
print(f"Weaknesses: {len(result.weaknesses or [])} CWE(s)")
print(f"Attack patterns: {len(result.attack_patterns or [])} CAPEC(s)")
for t in result.techniques or []:
print(f" Technique: {t.technique_id} - {t.name}")
for p in result.predictions or []:
print(f" TIE prediction: {p.technique_id} ({p.probability})")
| Parameter | Type | Default | Description |
|---|---|---|---|
cve_id |
str |
required | CVE identifier, e.g. "CVE-2024-3400". |
include |
list[str] \| None |
presets.CVE_FULL_WALK |
Override the default include list. |
Returns: EnrichCVEResponse.
enrich_ioc_full(value, ioc_type="ip-dst", *, include=None)Returns MISP attribute matches, linked ATT&CK techniques, defensive context, sightings, warninglists and list/network context for an indicator. Request other layers explicitly.
async with CrawlerClient() as client:
result = await client.enrich_ioc_full("203.0.113.5", "ip-dst")
for attr in result.misp_attributes or []:
print(f"MISP event: {attr.event_info}")
for t in result.techniques or []:
print(f"Linked technique: {t.technique_id}")
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
str |
required | Indicator value. |
ioc_type |
str |
"ip-dst" |
MISP-style attribute type: ip-dst, ip-src, domain, hostname, md5, sha1, sha256, url, etc. |
include |
list[str] \| None |
presets.IOC_FULL_WALK |
Override the default include list. |
Returns: EnrichIOCResponse.
enrich_cwe_full(cwe_id, *, include=None)Returns the weakness, mapped CAPEC attack patterns, ATT&CK techniques, and TIE predictions. Use it when you start from a weakness ID.
async with CrawlerClient() as client:
result = await client.enrich_cwe_full("CWE-79")
if result.weakness:
print(f"Weakness: {result.weakness.name}")
print(f"CAPEC patterns: {len(result.attack_patterns or [])}")
print(f"Techniques: {len(result.techniques or [])}")
| Parameter | Type | Default | Description |
|---|---|---|---|
cwe_id |
str |
required | CWE identifier, e.g. "CWE-79". |
include |
list[str] \| None |
presets.CWE_FULL_WALK |
Override the default include list. |
Returns: EnrichCWEResponse.
enrich_technique_full(technique_ids=None, *, framework="enterprise", asset_id=None, include=None)Returns technique details, TIE predictions, attributed groups, software, campaigns, and a Navigator JSON layer for one or more ATT&CK techniques.
async with CrawlerClient() as client:
result = await client.enrich_technique_full(
["T1190", "T1059.001"],
framework="enterprise",
)
for t in result.techniques or []:
print(f"{t.technique_id}: {t.name}")
for g in result.groups or []:
print(f"Group using these: {g.name}")
| Parameter | Type | Default | Description |
|---|---|---|---|
technique_ids |
list[str] |
optional | ATT&CK technique IDs. Omitted (sent UNSET) when you look up by asset_id. |
framework |
str |
"enterprise" |
ATT&CK matrix variant: enterprise, ics, or mobile. asset_id requires "ics". |
asset_id |
str \| None |
None |
ICS asset id (^A\\d{4}$) — looks a technique up FROM an asset instead. Mutually exclusive with technique_ids / technique_id / search (the API answers 422). The response carries the resolved asset plus its real targets in techniques[]. |
include |
list[str] \| None |
presets.TECHNIQUE_FULL |
Override the default include list. |
Returns: EnrichTechniqueResponse.
enrich_product_full(product, *, version=None, vendor=None, include=None, limit=2, offset=0, snapshot_id=None)Returns a page of enriched CVEs for a product and version.
The product bundle lookup sends the CPE identifier verbatim, so CPE 2.2 URIs and identifiers
containing /, ?, #, %, or their backslash escapes resolve exactly. A lookup that cannot
reach the source reports service vulnerability-data in errors[] rather than a confirmed empty
result, and the failure is not cached.
async with CrawlerClient() as client:
async for page in client.iter_product_cves("http_server", version="2.4.51", vendor="apache"):
for row in page.cves or []:
print(row.discovered_cve_id) Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.