Scan your whole stack
From OX Research Newsroom
Are you using geopdf-stac-extractor?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v1.0.0
geopdf-stac-extractor was last scanned on 1 Dec 2026 at version 1.0.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 1.0.0 LATEST | 1 Dec 2026 | No rules fired |
| 0.0.0-stage | 1 Dec 2026 | Not shown |
Findings for v1.0.0. 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 1.0.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Zero-dependency ISO 32000-2:2020 (§12.9) GeoPDF viewport parser and SpatioTemporal Asset Catalog (STAC v1.1.0) GeoJSON Feature Item generator and validator for Node.js (>= 18) and modern browsers.
National mapping agencies (USGS Topographic Quadrangles, Swisstopo, IGN France, BKG Germany, Geoscience Australia) distribute millions of georeferenced cartographic sheets as Geospatial PDFs (GeoPDF) encoding viewport footprints inside ISO 32000-2 /Measure (/Subtype /GEO) dictionaries rather than external .tfw / .xml sidecars.
geopdf-stac-extractor extracts /GPTS geographic coordinates, /LPTS viewport coordinates, /EPSG / /WKT coordinate reference systems, and PDF /CreationDate timestamps directly from raw Uint8Array buffers—without native GDAL/C++ bindings—and emits standards-compliant STAC v1.1.0 Feature Items ready for ingestion into STAC catalogs and APIs.
npm install geopdf-stac-extractor
Or invoke directly via npx:
npx geopdf-stac-extractor --help
| GeoPDF Binary Entry | STAC v1.1.0 Item Property |
|---|---|
/Subtype /GEO + /GPTS [lat1 lon1 ...] |
geometry (closed RFC 7946 GeoJSON Polygon in [lon, lat] order) + [west, south, east, north] bbox |
/GCS << /EPSG 4326 /WKT (...) >> |
stac_extensions (projection/v2.0.0) -> properties["proj:code"] & properties["proj:wkt2"] |
/CreationDate (D:YYYYMMDDHHmmSSZ) |
properties.datetime normalized to UTC RFC 3339 / ISO 8601 |
/Title (...) |
properties.title and assets.document.title |
%PDF-x.y & /Type /Page count |
properties["geopdf:pdf_version"] & properties["geopdf:page_count"] |
| Source PDF document path / URI | assets.document (type: "application/pdf", roles: ["data", "visual"]) |
import fs from "node:fs";
import {
extractGeoPdfMetadata,
buildStacItemFromGeoPdf,
validateStacItem,
} from "geopdf-stac-extractor";
const pdfBytes = new Uint8Array(fs.readFileSync("quadrangle.pdf"));
// 1. Inspect raw ISO 32000-2 /Measure & /GPTS viewports
const meta = extractGeoPdfMetadata(pdfBytes);
console.log(meta.epsg, meta.viewports[0].bbox);
// 2. Build a STAC v1.1.0 GeoJSON Feature Item
const stacItem = buildStacItemFromGeoPdf(pdfBytes, {
id: "usgs-quadrangle-2026",
assetHref: "https://example.org/maps/quadrangle.pdf",
collection: "topographic-quadrangles",
});
// 3. Validate against STAC v1.1.0 & RFC 7946 Polygon ring closure rules
const validation = validateStacItem(stacItem);
console.log(validation.valid, validation.errors);
# Generate a STAC v1.1.0 GeoJSON Item from a GeoPDF
npx geopdf-stac-extractor extract quadrangle.pdf --id usgs-quad-01 --out item.stac.json
# Inspect raw ISO 32000-2 /Measure & /GPTS geospatial metadata
npx geopdf-stac-extractor inspect quadrangle.pdf
# Validate any STAC v1.0.0 / v1.1.0 Item JSON file
npx geopdf-stac-extractor validate item.stac.json
npm test
Released under the MIT License. Maintained by Islam Ayoub (Utilvo).
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.