Severities
Every finding has a severity: CRITICAL, HIGH, MEDIUM or LOW. Vulnerabilities take theirs from the advisory; for Jarsight's own rules, this page explains the criteria and lists the severity of each rule.
Criteria
There is no standard severity for configuration and code issues: OWASP's MASVS and MASTG describe what to test, not how much each issue weighs, and every tool decides for its own checks. Jarsight weighs how easy an issue is to exploit against what an attacker gains, a simplified form of the OWASP Risk Rating Methodology:
| Severity | Criterion |
|---|---|
| CRITICAL | Anyone who downloads the app can use it against the company directly, with no other condition: embedded credentials. |
| HIGH | Exploitable without unusual conditions, with a serious impact on the app or its data. |
| MEDIUM | A real risk that needs one more condition (being on the same network, another app installed), or an insecure setting chosen on purpose. |
| LOW | Needs malware on the device or an old Android version, is Android's default rather than a choice, or is a missing good practice. |
When a rule covers both a setting chosen explicitly and Android's default, the explicit one is one level
higher: it is a decision, and it applies on every Android version. If you disagree with a finding for your
app, review it and leave it out with --ignore-rule; the report says how many findings were left
out.
Severity of each rule
CRITICAL
| Rule | Title | When |
|---|---|---|
JRS-SECRET-AWS-ACCESS-KEY-ID | AWS access key ID | always |
JRS-SECRET-GOOGLE-OAUTH-CLIENT-SECRET | Google OAuth client secret | always |
JRS-SECRET-STRIPE-LIVE-SECRET-KEY | Stripe live secret key | always |
JRS-SECRET-STRIPE-LIVE-RESTRICTED-KEY | Stripe live restricted key | always |
JRS-SECRET-GITHUB-TOKEN | GitHub token | always |
JRS-SECRET-GITHUB-FINE-GRAINED-TOKEN | GitHub fine-grained personal access token | always |
JRS-SECRET-SLACK-TOKEN | Slack token | always |
JRS-SECRET-SENDGRID-API-KEY | SendGrid API key | always |
JRS-SECRET-OPENAI-API-KEY | OpenAI API key | always |
JRS-SECRET-ANTHROPIC-API-KEY | Anthropic API key | always |
JRS-SECRET-PRIVATE-KEY | Private key | always |
JRS-SECRET-GL-* | 84 token formats imported from gitleaks | always |
HIGH
| Rule | Title | When |
|---|---|---|
JRS-MANIFEST-001 | Application is debuggable | always |
JRS-MANIFEST-006 | User-installed CAs trusted | the base-config of the network security configuration trusts user certificates for every connection |
JRS-SIGN-003 | APK signed with a weak key | an RSA or DSA key under 1024 bits, or an EC key under 224 bits |
JRS-CORDOVA-001 | Cordova WebView can navigate to any site | always |
MEDIUM
| Rule | Title | When |
|---|---|---|
JRS-MANIFEST-002 | Application data can be backed up | android:allowBackup="true" is set explicitly, without backup rules |
JRS-MANIFEST-003 | Cleartext traffic permitted | cleartext traffic is enabled explicitly for all domains (android:usesCleartextTraffic="true" or cleartextTrafficPermitted="true" in base-config) |
JRS-MANIFEST-004 | Exported component not protected by a permission | a service, broadcast receiver or content provider |
JRS-MANIFEST-006 | User-installed CAs trusted | user certificates are trusted by default (targetSdkVersion below 24), only for some domains, or by debug-overrides in a debuggable build |
JRS-SIGN-001 | APK signed with the Android debug certificate | always |
JRS-SIGN-002 | APK signed only with the v1 (JAR) scheme | always |
JRS-SIGN-003 | APK signed with a weak key | an RSA or DSA key of 1024 to 2047 bits |
JRS-SIGN-004 | v1 signature uses a weak digest | MD5 |
JRS-CORDOVA-004 | Cordova app loads its pages from file:// URLs | always |
JRS-CORDOVA-005 | Cordova WebView can navigate to a cleartext site | always |
JRS-NATIVE-001 | Native libraries with an executable stack | always |
JRS-NATIVE-002 | Native libraries with writable and executable segments | always |
JRS-NATIVE-003 | Native libraries with text relocations | always |
JRS-SECRET-SLACK-WEBHOOK | Slack incoming webhook | always |
LOW
| Rule | Title | When |
|---|---|---|
JRS-MANIFEST-002 | Application data can be backed up | android:allowBackup is not set (it defaults to true), or backup rules are defined |
JRS-MANIFEST-003 | Cleartext traffic permitted | it is enabled by default (targetSdkVersion below 28), or only for some domains |
JRS-MANIFEST-004 | Exported component not protected by a permission | an activity |
JRS-MANIFEST-005 | Supports Android versions older than 7.0 | always |
JRS-MANIFEST-007 | Application is a test build | always |
JRS-MANIFEST-008 | Activities open to task hijacking (StrandHogg) | always |
JRS-MANIFEST-009 | Opts out of scoped storage | always |
JRS-MANIFEST-010 | Web links not verified | always |
JRS-SIGN-004 | v1 signature uses a weak digest | SHA-1 |
JRS-SIGN-005 | Signing certificate has expired | always |
JRS-CORDOVA-002 | Cordova app can reach any network origin | always |
JRS-CORDOVA-003 | Cordova app can open any URL in other apps | always |
JRS-NATIVE-004 | Native libraries without RELRO | always |
JRS-NATIVE-005 | Native libraries without stack canaries | always |
JRS-NETWORK-001 | Cleartext HTTP URLs | always |
JRS-SECRET-GOOGLE-API-KEY | Google API key | always |
JRS-SECRET-FIREBASE-DATABASE-URL | Firebase Realtime Database URL | always |
JRS-TRACKER | Tracker | always |
JRS-SECRET-GL-* | 4 public or test keys imported from gitleaks | always |
Vulnerabilities
Known vulnerabilities in the app's libraries take the severity of their advisory:
- Advisories from OSV.dev: the severity of the GitHub Advisory Database when it has one (MODERATE is shown as MEDIUM), otherwise the CVSS v3 base score, in the bands of the CVSS specification: 9.0–10.0 CRITICAL, 7.0–8.9 HIGH, 4.0–6.9 MEDIUM, 0.1–3.9 LOW.
- JavaScript libraries: the severity Retire.js gives each vulnerability.
In SARIF reports, GitHub code scanning ranks alerts by a score: the CVSS score of vulnerabilities, and 9.5, 8.0, 5.5 or 2.0 for the other findings, by severity.