AIToday
Hacker NewsPublished: Nov 10, 2026, 06:00 JST

Humanet's airgap-check finds AI app offline downloads at 89.7% precision

Send on LINE
Humanet's airgap-check finds AI app offline downloads at 89.7% precision

3 Key Points

  1. What happened

    Humanet open-sourced airgap-check, which statically scans manifests and code patterns like tiktoken.get_encoding() and runs apps under docker --network none to log every lookup, with a --fix flag printing Dockerfile lines.

  2. Why it matters

    Tokenizer ranks, ONNX embedding weights, corpora, price maps and telemetry can fail or hang for tens of seconds on first use offline, so teams preparing for air-gapped networks get a pre-deployment list, though the tool is not a security certification.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, every morning.

Context & Analysis

The tool targets a gap between the assumption that pointing an LLM base URL at a local vLLM or Ollama instance makes an app offline-ready and what libraries actually do on first use. Humanet says many libraries fetch tokenizer ranks, ONNX embedding weights, corpora, price maps or telemetry once and cache them, so the problem only appears when the network is gone.

The benchmark ran probes against 20 open-source Python and TypeScript AI repositories in two phases, with the rules frozen before the held-out half. At component level it counted 35 true positives, 4 false positives and 5 false negatives; the false positives came from dev and test dependency groups in pyproject.toml, while the false negatives were downloads like OCR weight fetchers and FlagEmbedding that were not in the rule table. Humanet notes the --run mode is meant to catch such misses, but only on the paths it exercises.

The clearest caution in the write-up is about applying --fix: if your app loads Hugging Face models, pre-warm them at build time before setting HF_HUB_OFFLINE=1 and TRANSFORMERS_OFFLINE=1, or the app fails at startup instead of hanging. Humanet also states airgap-check is not a security certification, and that a clean result does not prove an application is safe to run in an isolated network.

FAQ
What does the --fix flag actually print?
It prints Dockerfile lines with offline ENV flags and build-time pre-warming commands, such as pre-warming tiktoken encodings and ChromaDB's ONNX model, that you can adapt for your own image.
What kinds of downloads does the static scan catch?
It covers runtime downloads like tiktoken, fastembed, whisper.load_model(), nltk.download() and playwright, plus build-time next/font/google, server and browser telemetry, and .env key names.
What are the limits of the --run mode?
It was validated on Python and Node targets; hardcoded IPs and DNS-over-HTTPS skip the resolver, and only the code paths you exercise with --run-cmd are tested.
Send on LINE

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Next articleKuken expects 90% search-time cut with OpenAI-based app