What it scans
- Android
- APK and AAB, split-APK bundles (.apkm, .xapk, .apks), or a Gradle/Kotlin source checkout.
- iOS
- An unencrypted IPA, or an Xcode/Swift source checkout.
- Web and backend source
- JavaScript/TypeScript, Python, PHP, Go, Ruby, Rust, Java/Kotlin and C#/.NET (secrets and dependencies).
It looks for hardcoded secrets, insecure configuration, weak cryptography, SSRF, injection and more.
Other commands
web-scan- Nuclei-based scan of a live URL, passive by default, --active on request.
host-audit- Agentless host audit over your own SSH access, with Lynis (GPL-3.0) as the hardening baseline.
cloud-scan- AWS account posture check with your own AWS credentials.
store-check- Google Play and App Store upload requirements for an APK, AAB, split-APK set or IPA, offline. Not a security scan.
The store-check results are explained one by one in the store errors library. Store errors
Install
pipx install narvy-cli # or: pip install narvy-cli
narvy doctor # checks Java / jadx / iOS tooling
python -m narvy scan app-release.apk # when narvy is not on PATH
If the shell does not find narvy, python -m narvy always works (py -m narvy on Windows). Android scans need Java 11 or later; if none is found, a JRE and jadx are downloaded into ~/.narvy/tools on the first APK scan.
Usage
# Android: APK/AAB, split bundle, or a Gradle/Kotlin source checkout
narvy scan app-release.apk
narvy scan ./my-android-app/
# iOS: unencrypted IPA, or a Swift/Xcode source checkout
narvy scan MyApp.ipa
# Web/backend source (Node, Python, PHP, Go, Ruby, Rust, Java/Kotlin, C#/.NET)
narvy scan ./my-api-repo/
# Google Play / App Store upload requirements, offline
narvy store-check app-release.aab
In CI
narvy scan app-release.apk --output sarif --file results.sarif --fail-on high
SARIF goes to GitHub or GitLab code scanning. Exit codes:
| Code | Meaning |
|---|---|
0 | Scan completed, nothing reached the --fail-on threshold |
1 | At least one finding at or above the threshold |
2 | Nothing reached the threshold, but part of the scan did not run, so it cannot be certified clean |
3 | Target or arguments not usable |
4 | Scan, login, upload or report write failed |
What leaves your machine
- Your code, binaries and findings are never uploaded unless you pass --upload.
- The dependency check sends package names and versions (never code, file paths or findings) to Narvy's EU-hosted mirror of OSV.dev. OSV_API_URL points it at another OSV-compatible server.
- One small anonymous usage event per command (store-check sends none). The exact fields are listed in the README. Turn it off with:
narvy telemetry off # or: export NARVY_TELEMETRY=0 / DO_NOT_TRACK=1
Results in your Narvy dashboard
narvy login links the CLI to a Narvy account. Adding --upload to a scan sends its findings, never your code or binary, to the account, where they are de-duplicated, filtered and kept in the history. It is never on by default. Plans
Free rules and premium rules
The CLI ships the community rule set under Apache 2.0: the language-level rules, every hardcoded-secret rule, and the Android and iOS rules. It is the same engine and the same community rules Narvy runs on its servers. Framework-specific rules (Django, Flask, FastAPI, Express, Laravel, Symfony, Rails, Spring, Gin) and the C#/.NET code rules run on Narvy paid plans; when a project uses one of those frameworks, the CLI says so at the end of the scan.
Known limitations
- Encrypted iOS binaries (the normal App Store state) are detected but not decrypted; only the checks that do not need the decrypted binary run.
- Rust and C#/.NET have a smaller rule set than the other languages, and the CLI says so when it applies.
- Only one architecture's native libraries are checked in a multi-ABI APK or split bundle.