Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

geodb-client

Latest version: v0.3.11

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
PyPI package Publisher: jwgeo
0 Stars
0 Forks
7 Versions
510 Downloads
Python Repo language

Scan summary

geodb-client was last scanned on 29 Nov 2026 at version 0.3.11. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 7 versions; the latest 3 were published within 3 days (27–29 Nov 2026).
  • Findings: No rules fired in version 0.3.11.
  • Downloads: 510 downloads.

Versions

7 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.3.11 LATEST 29 Nov 2026 No rules fired
0.3.10 28 Nov 2026 No rules fired
0.3.9 27 Nov 2026 No rules fired
0.3.8 6 Nov 2026 Not shown
0.3.7 26 Oct 2026 Not shown

No rules fired in 0.3.11

Findings

Findings for v0.3.11. 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 0.3.11; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

geodb-client

The Python client for the geoDB Open Exploration Protocol — read a mining-exploration project's drill, assay, QA/QC, geophysics, raster, and document data as pandas DataFrames and files, and write changes back through one gated endpoint (dry run first, per-row answers, undo), over one authenticated, project-scoped API.

pip install "geodb-client>=0.3,<0.4"     # + geopandas extra: pip install "geodb-client[geo]>=0.3,<0.4"

Integrating for the first time? Read AGENTS.md in the protocol repo first. It names the handful of things in this domain that give you silently wrong answers — starting with the coordinate rule below — and carries the sync loop, the error codes and runnable examples in four languages.

20 lines to DataFrames

import geodb

gx = geodb.Client(token="gdbg_...", base_url="https://api.geodb.io")
gx.project()                                         # the companies + projects it reads
P = 12                                               # name the project on every read

# Records lane — relational data straight to pandas
collars       = gx.collars(project=P).to_dataframe()
samples       = gx.samples(project=P).to_dataframe()
results       = gx.assay_results(project=P).to_dataframe()   # flat: sample × element × method
methods       = gx.methods(project=P).to_dataframe()         # join on method_id
lithology     = gx.lithology(project=P, set="all").to_dataframe()  # or set=<id or name>
surveys       = gx.surveys(project=P).to_dataframe() # geophysical surveys + footprints

# Assets lane — walk the STAC catalog, download a Cloud-Optimized GeoTIFF
for item in gx.stac().items("rasters"):
    cog = item.asset("cog")
    if cog:
        cog.download("grid.tif")                     # short-SAS redirect, streamed
        break

# Bulk lane — a WHOLE table for analysis is one file (never a way to check an import)
gx.export("assay_results", project=P).wait().download("values.parquet")  # every value, every flag
job = gx.export("drill_samples", format="geoparquet", project=P)          # merged per the project
job.wait(on_progress=lambda j: print(j.rows_done, "/", j.rows_total)).download("samples.parquet")

Whole tables for analysis → export(); to check what an import will do, dry-run the write (validate), never export. Plan with gx.record_counts(project=P), then read only the records you need: name= / bhid= take one value or a list (gx.samples(project=P, set="all", name=["DH-1-001", "DH-1-002"]), sent comma-joined), and the reference lists (methods, laboratories, collars) take include_trashed=True (a key acting as a person: rows in the Trash come back marked in_trash: true; a vendor key is refused trash_needs_person_key). Filtered or modest reads → the list methods: once a list's first page states its total, the rest are fetched four pages at a time (geodb.Client(..., parallel=1) reads one at a time; skip_count=True asks the server not to count and follows next).

That's it — a vendor integrates a customer's project in an afternoon.

Auth

A project owner mints a revocable access grant in geoDB (Project Settings → API Access Grants) and shares the token; it reads the project(s) it was given (and writes, if the owner allowed it to), and every call is logged for the owner to see. The client sends it as Authorization: Grant <token>.

An AI connected to geoDB (its connector at https://api.geodb.io/mcp) gets a 1-hour session key (gdbs_…) from its session_key tool for code in its own sandbox; pass it as token= the same way. On a 401 grant_expired, ask for a new one.

geoDB keeps no current project. When the key reads several projects, name one on every read (project=<id or exact name>); otherwise the server answers geodb.ProjectRequired, whose .choices lists the projects by company. Company-level tables (methods, laboratories, standards, QC types) take company=; scope="company", company=<id> reads every project of one company. An interval table over a project with several sets raises geodb.SetChoiceRequired (.sets lists them) until you pass set=<id or name> or set="all".

Every refusal is a typed exception carrying the server's reason_code and remedy: ProjectRequired, CompanyRequired, SetChoiceRequired (InvalidRequest for any other 400), AuthError (401) / PermissionDenied (403), NotFoundError, Conflict, Throttled (.retry_after; ExportConcurrency for export_concurrency). Match on reason_code; act on remedy.

Client and server versions are paired. geodb-client is versioned in step with the protocol: 0.3.x speaks protocol 0.3 (0.2.x spoke 0.2). It sends the version it speaks (X-GeoDB-Protocol-Version) and checks the server's on the first response; a different major.minor raises geodb.ProtocolVersionMismatch, whose .install is the line that fetches the matching client (e.g. pip install "geodb-client>=0.4,<0.5"). Install with the range the server gives you — pip install "geodb-client>=0.3,<0.4" for protocol 0.3 — never unpinned. (check_protocol=False turns the check off.)

First-party callers can use a Knox token instead:

gx = geodb.Client(token="<knox>", base_url="https://api.geodb.io", auth_scheme="Token")

Behind the api. subdomain rewrite, pass api_prefix="/v2".

TLS behind antivirus or a corporate proxy (0.3.5). The client verifies HTTPS against the operating system's certificate store (truststore, Python 3.10+), so HTTPS-inspecting antivirus and corporate proxies whose root the OS trusts work without CERTIFICATE_VERIFY_FAILED. Only the client's own session is changed. Without truststore it uses certifi after one warning; geodb.Client(..., os_trust_store=False) opts out, and a session= you pass is used as it is (gx.tls_trust says "os", "certifi" or "caller").

API

Call Returns
Records lane — see the table list below a Paginated iterator — iterate rows, or .to_dataframe(), or .count() (the list's own count; no extra request once read). Takes project=, company=, scope= (+ set= on interval tables) and filter kwargs (e.g. gx.surveys(project=P, method="magnetics")).
gx.assay_results(project=P) · gx.methods(company=C) · gx.laboratories(company=C) the flat assay table and the lookup tables it names by id. assay_results(set=<pass id or name>) reads one sampling pass's values (0.3.11).
gx.readiness(project=P) whether the project is ready to model: {ready, attention: [...], clear, skipped_checks} (project-health/?preset=readiness, 0.3.11).
gx.modelling_samples(P, ["Au", "Cu"], merge_settings_id=M, source_type=None) compact flat sample rows for modelling (id, hole, depth_from/to, xyz_from/to, values {El: v}, units, and why a value is empty): ONE source per read (lab unless source_type= says otherwise); .envelope states source_type, sources_used, source_defaulted, field_xrf_left_out. Pages of up to 2,000 rows (fewer for more than 8 elements). 0.3.11.
gx.traces(project=P, include_trace=True) every hole's desurveyed trace in one paged read (trace_data, geometry_wgs84, coordinate_frames). 0.3.11.
gx.block_models(project=P) the block models of the project's 3D, metadata only (grid, attributes, the project file id to download). 0.3.11.
gx.fetch_terrain(P, data_source=None, dry_run=True, confirm=None) · gx.terrain_status(result) queue the project's terrain + imagery: the dry run states the area, source, size and what it replaces; after the user's yes resend with dry_run=False, confirm=<dry run's "confirm">, then poll terrain_status until COMPLETED. Needs the Manage Elevation right; not undoable. 0.3.11.
gx.stac() a StacCatalog: .landing(), .collections(), .items(collection_id) (yields StacItem), .item(cid, iid). StacItem.asset(key).download(path).
gx.export(model, format="geoparquet", include_assays=True, project=…, set=…) an ExportJob of ONE project's whole table, for analysis: .wait() then .download(path). Formats: geoparquet, parquet, csv. Models: the export() column below. See Waiting for an export.
gx.project() the credential's context: its companies and projects (with set counts), whether it may write, its limits.
gx.record_counts(project=P) how many records of each type the project holds (counts: {type: {live, in_trash}}, company_wide, not_readable) — one small read to plan with before reading any table (0.3.5).
gx.describe · gx.write · gx.validate · gx.retract · gx.restore · gx.undo · gx.writes the write half — see Writing below.
Tables

The drilling tables are the same ones geoDB serves to Leapfrog and Vulcan over ODBC — one definition of a project's drilling data, whichever door you come through.

Records lane export() model Sets What it is
gx.collars(project=…) drill_collars — Collar location, orientation, total depth (/drill-collars/)
gx.drill_surveys(project=…) drill_surveys — Downhole survey stations (depth, azimuth, dip) (/drill-surveys/)
gx.lithology(project=…) drill_lithology set= Downhole lithology intervals (/drill-lithologies/)
gx.alteration(project=…) drill_alteration set= Downhole alteration intervals (/drill-alterations/)
gx.samples(project=…) drill_samples set= Drill samples (the assay by id; expand="assay" for the record) (/drill-samples/)
gx.structures(project=…) drill_structure_point, drill_structure_zone — Structural measurements; point (a depth) vs zone (an interval) (/drill-structures/)
gx.mineralization(project=…) drill_mineralization set= Mineralization intervals + mineral percentages (/drill-mineralizations/)
gx.veins(project=…) drill_veins set= Vein intervals (type, width, mineral contents) (/drill-veins/)
gx.rqd(project=…) drill_rqd set= Geotech: core recovery + rock mass (/drill-rqds/)
gx.spectral(project=…) drill_spectral set= Spectral intervals (geounit abundances) (/drill-spectral-intervals/)
gx.custom_intervals(project=…) drill_custom_intervals set= User-defined intervals (TYPE IS DATA) (/drill-custom-intervals/)
gx.point_samples(project=…) point_samples — Surface / soil / rock-chip samples (/point-samples/)
gx.qc_samples(project=…) qc_samples — QA/QC (standards, blanks, duplicates) (/qc-samples/)
gx.assays(project=…) assay_results — Assay results (flat table: assay_results(); every value: export("assay_results")) (/assays/)
gx.surveys(project=…) geophysical_surveys — GEOPHYSICAL surveys (metadata + WGS84 footprint) — downhole surveys are drill_surveys() (/geophysical-surveys/)
Waiting for an export (0.3.5)

OX Radar and Response Center

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.

Where it’s listed

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).

  • pypi-releases geodb-client

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Frame 2085668439 (1)
Group 1261154229