airgap-check
A tool for checking offline execution failures and possible external communication in AI repositories.
What does it do?
airgap-check scans a repository for points where libraries might try to download files or stall when the network is unavailable. With --run, Docker starts a container without network access and mounts the repository read-only to test library calls identified by the static scan. The results report behavior observed along the tested paths, helping developers decide whether to prepare model files or tokenizer data before deployment.
Key features
- Detect first-use downloads and external connection attempts in AI repositories when offline
- Check telemetry and paths through which .env secrets could be transmitted
- Test library calls in a Docker container using --network none with --run
- Mount the repository read-only during tests
- Build the core tool using only the Go standard library