Jarsight
See what's inside the jar.
An open source vulnerability scanner for Android apps. Give it an APK and it lists the libraries inside, their known vulnerabilities, insecure manifest settings, hard-coded secrets and tracking SDKs.
Note Jarsight is in early development. The first release is not out yet.
Know what ships in your app
App stores know which SDKs and versions each app contains. Developers and auditors usually don't. Jarsight rebuilds that list from the APK itself, as a standard SBOM.
Find vulnerabilities before attackers do
Every library it finds is checked against public vulnerability data, with severity and the version that fixes it.
Make it part of every build
One static binary that fits in CI pipelines and reports to the tools teams already use, free for anyone, including commercially.
How it works
Jarsight reads the APK on your machine. The app is never uploaded: the only network
request sends the names and versions of the open source libraries it found to OSV.dev, and
--offline turns even that off. The results go wherever your team already looks.
What it checks
An APK is a ZIP archive. Jarsight reads each part of it:
Manifest
Debuggable builds, backups, cleartext traffic, components exported without a permission, trust in user-installed CAs and old minimum SDKs, following Android's own defaults for the app's SDK levels.
Code
Library versions from string tables, tracking SDKs from their class names, and API keys compiled into the app.
Native libraries
OpenSSL, SQLite, curl and other C libraries bundled inside, with the exact version they were built from.
Resources
Secrets hidden in string resources and config files, and the network security configuration.
Build metadata
Versions of AndroidX, Kotlin, Google Play services and Firebase recorded at build time.
Known vulnerabilities
Every library with a version is checked against OSV.dev, with severity, fixed version and references.
APKs can be built to attack the tools that open them, so Jarsight uses its own parsers with size limits, never runs code from the app, and escapes anything it prints.
Usage
$ jarsight scan demo.apk Package: com.example.demo 1.4.2 · minSdk 24 · targetSdk 34 Findings: 5 (HIGH: 3, MEDIUM: 1, LOW: 1) HIGH Application is debuggable JRS-MANIFEST-001 AndroidManifest.xml › application (line 4) HIGH AWS access key ID JRS-SECRET-AWS… classes2.dex · AKIAFA…FNO6 HIGH OkHttp can accept the wrong cert GHSA-3cqm-mf7h-prrj okhttp 3.12.0 (fixed in 4.9.2) MEDIUM Exported service, no permission JRS-MANIFEST-004 LOW Tracker: AppsFlyer JRS-TRACKER-12 Components: 2 com.squareup.okhttp3:okhttp 3.12.0 classes2.dex openssl 1.1.1w lib/arm64-v8a/libcrypto.so
- table
The default, for reading in a terminal.
- sarif
SARIF 2.1.0, for GitHub code scanning.
- cyclonedx
CycloneDX 1.6 SBOM, for Dependency-Track and similar tools.
- json
Everything in one file, for your own scripts.
- --exit-code
Fail a CI job when findings reach
--severity.
Jarsight is open source
Jarsight is licensed under the Apache License 2.0 and is free for anyone to use, including commercially. It has no paid edition and needs no account.
Found a bug, a missed library or a false positive, or have an idea? Open an issue or send a pull request.