Skip to main content

A terminal-first CLI tool that scans iOS, Android, and Web projects for launch-critical compliance risks.

Project description

Oncecheck CLI

A terminal-first CLI tool that scans iOS, Android, and Web projects for launch-critical compliance risks.

Features

  • 73+ compliance rules across iOS, Android, Web, and cross-platform categories
  • Auto-detection — identifies your project type automatically
  • Interactive browser — arrow-key driven UI to explore findings
  • Multiple export formats — JSON, SARIF 2.1, plain text
  • CI/CD ready — exit codes: 0 (pass), 1 (warnings), 2 (failures)
  • Cross-platform checks — COPPA, HIPAA, PCI-DSS, accessibility, supply chain
  • Rule suppression.oncecheckignore file and .oncecheckrc config
  • Shell completions — bash, zsh, and fish

Rule Categories

Platform Rules Covers
iOS 20 Info.plist, ATS, entitlements, privacy manifests, HealthKit, Keychain
Android 18 AndroidManifest, target SDK, permissions, ProGuard, Play Integrity
Web 27 CSP, CORS, OWASP Top 10, accessibility, privacy, cookies
Common 8 COPPA, HIPAA, PCI-DSS, color contrast, data retention, supply chain

Installation

pip install oncecheck

Development

git clone <repo-url>
cd oncecheck-cli
python -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"

Usage

Interactive mode

oncecheck

Launches the full interactive UI with welcome screen, menu navigation, and findings browser.

Direct scan

# Auto-detect platform
oncecheck scan ./my-project

# Force a specific platform
oncecheck scan ./my-project --platform ios

# Export as JSON (Team plan)
oncecheck scan ./my-project --format json --output results.json

# Export as SARIF (Team plan — for GitHub/VS Code)
oncecheck scan ./my-project --format sarif --output results.sarif

# Interactive findings browser
oncecheck scan ./my-project --interactive

# Fail CI on warnings or higher
oncecheck scan ./my-project --fail-on WARN

Authentication

# Sign in (opens browser)
oncecheck login

# Check status
oncecheck status

# Sign out
oncecheck logout

Configuration

# Generate config files in your project
oncecheck init ./my-project

This creates:

  • .oncecheckrc — YAML config for disabled rules, severity overrides, and fail threshold
  • .oncecheckignore — one rule ID per line to suppress

Example .oncecheckrc:

disabled_rules:
  - IOS-SEC-001
  - WEB-OWASP-003

severity_overrides:
  WEB-A11Y-001: INFO

fail_on: FAIL

Shell Completions

# Bash
oncecheck completions bash >> ~/.bashrc

# Zsh
oncecheck completions zsh >> ~/.zshrc

# Fish
oncecheck completions fish > ~/.config/fish/completions/oncecheck.fish

CI/CD Integration

# GitHub Actions example
- name: Compliance scan
  run: |
    pip install oncecheck
    oncecheck login
    oncecheck scan . --fail-on WARN

- name: Upload SARIF (Team plan)
  run: oncecheck scan . --format sarif --output results.sarif

Exit Codes

Code Meaning
0 No issues (or only INFO)
1 Warnings found
2 Failures found

Plans

Feature Starter (Free) Team ($19/mo or $190/yr)
Compliance rules 35 All 73+
Scans per day 3 Unlimited
Terminal output Yes Yes
JSON/text export Yes
SARIF export Yes
File export (--output) Yes
Priority support Yes

Testing

python -m pytest tests/ -v

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

oncecheck-0.5.2.tar.gz (62.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

oncecheck-0.5.2-py3-none-any.whl (66.6 kB view details)

Uploaded Python 3

File details

Details for the file oncecheck-0.5.2.tar.gz.

File metadata

  • Download URL: oncecheck-0.5.2.tar.gz
  • Upload date:
  • Size: 62.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for oncecheck-0.5.2.tar.gz
Algorithm Hash digest
SHA256 20309e4b13a33daa8f1fd8767912384a4ad9a5e4dd14aa3a9ed8e3a7d37cf8f1
MD5 243b2d09c295f026b5a2cc66df4d8c2d
BLAKE2b-256 095c29907d062beeeca9eddb9508eb5689b7b1c252f6e8cd0256cb3459df402b

See more details on using hashes here.

File details

Details for the file oncecheck-0.5.2-py3-none-any.whl.

File metadata

  • Download URL: oncecheck-0.5.2-py3-none-any.whl
  • Upload date:
  • Size: 66.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for oncecheck-0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1a3a9ab940840eb8d1e25cf4a3b0d8d3cd6f8a9b70b87ab5c4c54b23401a6f1c
MD5 7cef44e0d945f72e68911d4b98ba1c69
BLAKE2b-256 74bffe6ce0180e66c5c0056c85d099daad770011ecf13c40c5e3434f08445f76

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page