Scan your whole stack
From OX Research Newsroom
Are you using kaggle-dataset-lint?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.4.0
kaggle-dataset-lint was last scanned on 26 Nov 2026 at version 0.4.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.4.0 LATEST | 26 Nov 2026 | No rules fired |
| 0.3.0 | 20 Nov 2026 | No rules fired |
Findings for v0.4.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 0.4.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Lint your Kaggle dataset before you upload it, plus the build scripts behind six public Kaggle datasets.

Kaggle accepts a dataset-metadata.json that is subtly wrong and then shows a broken dataset page. Four examples;
all but the cover crop were found in published datasets:
ng_<source>_mw in a description shows as
ng__mw.dataset-metadata.json with the system encoding, so on most Windows
machines a × in a UTF-8 description reaches Kaggle as two other characters. Set PYTHONUTF8=1 before uploading.pip install kaggle-dataset-lint
kaggle-dataset-lint path/to/my-dataset # the folder you pass to `kaggle datasets create -p`
No dependencies: it is a single standard-library file, so you can also just download
src/kaggle_dataset_lint.py and run python kaggle_dataset_lint.py my-dataset.
Install pyarrow too if you want Parquet columns checked.
my-dataset/dataset-metadata.json: error: [title-length] title is 51 characters; Kaggle allows 6-50
my-dataset/dataset-metadata.json: warning: [html-stripped] description contains <unit>: Kaggle's renderer drops unknown HTML tags, so the text disappears (`ng_<source>_mw` shows as `ng__mw`). Write {unit} or <unit>
my-dataset/dataset-metadata.json: warning: [cover-cropped] dataset-cover-image.png is 1600x800, but the Kaggle CLI always crops the top-left 560x280 pixels for the header and a 280x280 square at x=140 for the thumbnail. Resize it to 560x280, or set the cover in the web UI
my-dataset/dataset-metadata.json: error: [schema-mismatch] readings.csv: schema fields must list every column in file order, or Kaggle attaches the descriptions to the wrong columns (first difference at position 1: schema has 'station', file has 'time')
my-dataset/dataset-metadata.json: warning: [file-undeclared] no resource entry (so no file or column descriptions) for: notes.txt
my-dataset/dataset-metadata.json: warning: [subfolder-skipped] raw/ is skipped by `kaggle datasets create/version` unless you pass --dir-mode zip or tar
2 error(s), 4 warning(s) in 1 dataset(s)
| Level | Checks |
|---|---|
| Error: Kaggle rejects it, or the page comes out wrong | title 6-50 characters, subtitle 20-80, exactly one license, id is owner/slug (no INSERT_..._HERE placeholders), valid expectedUpdateFrequency, every declared file exists and is declared once, schema fields list every column in file order (CSV, TSV, Parquet), cover is .png/.jpg/.jpeg/.webp and at least 560x280 |
| Warning: silent problems and incomplete pages | <word> placeholders Kaggle strips, covers the CLI crops to a corner, subfolders kaggle datasets create/version skips, non-ASCII text the CLI would garble because it reads the file with the system encoding (cp1252 on most Windows machines), files and columns without descriptions, missing subtitle, description, tags, sources, update frequency or cover image, slugs kaggle datasets create rejects |
| Note: worth a look, never fails | license names that aren't in Kaggle's documented ids, column types outside Kaggle's best-effort list |
The rules come from the Kaggle CLI source and its
dataset metadata docs. It also reads the
{"info": ...} layout that kaggle datasets metadata downloads.
--strict: exit 1 on warnings as well as errors.--no-files: check only the metadata, not data files or the cover.--ignore cover-missing,keywords-missing: skip findings by code.--format github: print GitHub Actions annotations.With the GitHub Action, findings show up as annotations on the metadata file and as a table in the job summary. It runs on the runner's own Python 3.10+ and installs nothing.
# .github/workflows/kaggle-dataset-lint.yml
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: tb91117/kaggle-dataset-pipelines@v0
with:
paths: data/my-dataset # optional: one per line; empty checks every dataset-metadata.json in the repo
strict: "false" # optional: "true" fails on warnings too
ignore: cover-missing # optional: finding codes to skip
The step's errors and warnings outputs hold the counts. Without the Action:
- run: pip install kaggle-dataset-lint==0.4.0
- run: kaggle-dataset-lint --format github data/my-dataset
# .pre-commit-config.yaml
repos:
- repo: https://github.com/tb91117/kaggle-dataset-pipelines
rev: v0.4.0
hooks:
- id: kaggle-dataset-lint
Each pipeline downloads an official public source, builds tidy Parquet/CSV files with typed columns, writes a full
dataset-metadata.json (title, subtitle, description, per-column descriptions, license, keywords) and renders a cover
image. Re-running a pipeline refreshes the dataset, so the Kaggle version stays current with the source. Every build is
tested on small real-data samples and must pass the linter.
| Dataset on Kaggle | Source | Pipeline |
|---|---|---|
| US Flight Delays & On-Time Performance 2022–2026 | BTS Reporting Carrier On-Time Performance | fetch_bts.py → build_bts.py |
| US Electric Grid Hourly Data (EIA-930) | EIA Hourly Electric Grid Monitor, six-month BALANCE files | fetch_eia930.py → build_eia930.py |
| World Development Indicators 1960–2025 | World Bank WDI bulk CSV | fetch_wdi.py → build_wdi.py |
| San Francisco Street Tree Inventory | DataSF tkzw-k3nq (SODA API) |
fetch_sf_trees.py → build_v2.py trees |
| BTC/USDT 15-min Candles + Indicators 2017–2025 | Binance public market-data API (spot BTCUSDT, 15-minute klines) | build_v2.py binance |
| Query Intent Routing for AI Assistants | Written by the dataset author for an assistant tool-routing prototype | build_v2.py intent |
The last two are rebuilt from the author's own source files, so they have no fetch step.
pip install -e ".[pipelines]"
python -I tools/fetch_eia930.py # downloads into datasets/eia930-hourly-grid/source/ (resumable)
python -I tools/build_eia930.py # writes datasets/eia930-hourly-grid/v1/ (data + metadata + cover)
Nothing is uploaded by the build scripts. Publishing is a separate, explicit step:
kaggle datasets version -p datasets/eia930-hourly-grid/v1 -m "Refresh"
python -I tools/push_cover.py datasets/eia930-hourly-grid/v1 <owner>/<slug> # cover with a correct crop
Some sources are large (the BTS files are several GB). make_kaggle_pipeline.py assembles fetch + build + cover
into one self-contained Kaggle script kernel, so the download happens on Kaggle's servers:
python -I tools/make_kaggle_pipeline.py wdi none # bts | eia930 | wdi | trees; none = build only
kaggle kernels push -p pipelines/world-bank-wdi-dataset-pipeline
The kernel's output folder is the finished dataset: create or update the Kaggle dataset from it
(dataset page → New version → Notebook output). For eia930, wdi and trees the repo's scripts are embedded
verbatim and run as files with KDP_DATA_ROOT pointing at Kaggle's scratch disk, so a kernel run and a local run
produce the same files.
With private or public, the kernel reads a Kaggle Secret named KAGGLE_API_TOKEN (Notebook → Add-ons → Secrets).
| Script | What it does |
|---|---|
src/kaggle_dataset_lint.py |
The linter above (kaggle-dataset-lint). |
fetch_*.py |
Resumable downloaders with retries; complete files are skipped on re-run. |
KDP_DATA_ROOT |
Environment variable: where sources are downloaded and datasets are built (default ./datasets). |
build_*.py |
Clean, type and document a source into a Kaggle-ready folder. |
make_covers.py |
One distinct 2:1 cover design per dataset (no title text; Kaggle shows the title). |
push_cover.py |
Uploads metadata + cover with a crop that covers the whole image (the kaggle CLI crops the top-left corner). |
make_kaggle_pipeline.py |
Turns a fetch + build pair into a single Kaggle script kernel. |
make_notebooks.py |
Generates the example notebooks that accompany each dataset. |
profile_csv.py |
Prints a compact column profile of every CSV under a dataset folder. |
The code in this repo is MIT-licensed. The data keeps its source license: BTS and EIA data are US government works (public domain), World Bank WDI is CC BY 4.0, and DataSF publishes under ODC-PDDL. Check each source before reuse.
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.