IntelOwl icon indicating copy to clipboard operation
IntelOwl copied to clipboard

[BUG] HudsonRock analyzer endpoints return 404 — analyzer non-functional

Open juandiego-bmu opened this issue 7 months ago • 5 comments

What happened

All three endpoints called by api_app/analyzers_manager/observable_analyzers/hudsonrock.py return HTTP 404 from HudsonRock's backend. The analyzer cannot complete a successful run against the live service.

Reproduction

curl -X POST -H "Content-Type: application/json" -H "api-key: ANY_KEY" \
     -d '{"ip":"1.1.1.1"}' \
     "https://cavalier.hudsonrock.com/api/json/v2/search-by-ip"
# HTTP/2 404 - "Cannot POST /api/json/v2/search-by-ip"

Same 404 for /search-by-domain and /search-by-login. Verified with multiple User-Agents (browser, default, "IntelOwl"). Response headers include x-powered-by: Express, confirming the backend itself is replying — not a Cloudflare/proxy error.

Result: when an IntelOwl user runs the HudsonRock analyzer, response.raise_for_status() (line 116 of hudsonrock.py) raises HTTPError: 404 Client Error and the analyzer reports failure for every input.

Apparent current API

A different free endpoint set does work:

curl "https://cavalier.hudsonrock.com/api/json/v2/osint-tools/search-by-ip?ip=1.1.1.1"
# HTTP 200 with real JSON data

Differences vs current code: GET instead of POST, osint-tools/ path prefix, query string instead of JSON body, no API key required. The parameters currently passed by the analyzer (installed_software, compromised_since, filtered, third_party_domains, page, etc.) do not appear in either the free osint-tools endpoints or in the documented paid Cavalier API (docs.hudsonrock.com, which uses a wholly different parameter set — additional_fields array, cursor pagination, etc.).

Possible directions

  1. Migrate to the free OSINT tools endpoints (drops API key requirement and most current params).
  2. Migrate to the documented paid Cavalier API (different parameter model entirely).
  3. Deprecate the analyzer.

Happy to submit a PR once the preferred direction is confirmed.

Environment

  • Branch: latest master / develop
  • Verified: 2026-04-26

juandiego-bmu avatar Apr 26 '26 17:04 juandiego-bmu

you need to provide proof of the error with a screenshot from a working intelowl installation

mlodic avatar Apr 26 '26 17:04 mlodic

Proof from a working IntelOwl v6.6.1 install (fresh Docker deploy on latest master). Configured the HudsonRock analyzer with a dummy api-key and ran it on one observable per supported type. All three endpoints return 404:

IP 1.1.1.1 → 404 Client Error: Not Found for url: https://cavalier.hudsonrock.com/api/json/v2/search-by-ip. domain example.com → 404 Client Error: Not Found for url: https://cavalier.hudsonrock.com/api/json/v2/search-by-domain. email [email protected] (generic) → 404 Client Error: Not Found for url: https://cavalier.hudsonrock.com/api/json/v2/search-by-login

Screenshots of each Full Report tab attached. The 404 doesn't depend on the api-key value; HudsonRock's Express backend doesn't expose these routes. Can open a PR once you tell me the direction (free OSINT tools endpoints, paid Cavalier API, or deprecate).

Image Image Image

juandiego-bmu avatar Apr 27 '26 14:04 juandiego-bmu

This issue has been marked as stale because it has had no activity for 30 days. If you are still working on this, please provide some updates.

github-actions[bot] avatar May 28 '26 12:05 github-actions[bot]

Hi @mlodic I would like to work on this

AnshSinghal avatar Sep 08 '26 04:09 AnshSinghal

Hi @mlodic , I read hudsonrock.py and the report above.

run() still POSTs to /api/json/v2/search-by-ip, /search-by-domain, and /search-by-login with an api-key header. Those are the routes that return 404. raise_for_status() then fails the analyzer for every input. The screenshots already on this issue show that from a running IntelOwl install.

The free endpoints that return 200 are GET, under /api/json/v2/osint-tools/, with the observable in the query string and no API key. The current parameters (installed_software, compromised_since, filtered, third_party_domains, page, and the rest) are not part of those endpoints or of the paid Cavalier API described in the issue.

I would switch this analyzer to those free OSINT endpoints and drop the API key and the unused parameters. Please confirm that before I open a draft PR. The other options are the paid Cavalier API, or deprecating the analyzer.

AnshSinghal avatar Sep 25 '26 18:09 AnshSinghal