Jarsight

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:

SeverityCriterion
CRITICALAnyone who downloads the app can use it against the company directly, with no other condition: embedded credentials.
HIGHExploitable without unusual conditions, with a serious impact on the app or its data.
MEDIUMA real risk that needs one more condition (being on the same network, another app installed), or an insecure setting chosen on purpose.
LOWNeeds 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

RuleTitleWhen
JRS-SECRET-AWS-ACCESS-KEY-IDAWS access key IDalways
JRS-SECRET-GOOGLE-OAUTH-CLIENT-SECRETGoogle OAuth client secretalways
JRS-SECRET-STRIPE-LIVE-SECRET-KEYStripe live secret keyalways
JRS-SECRET-STRIPE-LIVE-RESTRICTED-KEYStripe live restricted keyalways
JRS-SECRET-GITHUB-TOKENGitHub tokenalways
JRS-SECRET-GITHUB-FINE-GRAINED-TOKENGitHub fine-grained personal access tokenalways
JRS-SECRET-SLACK-TOKENSlack tokenalways
JRS-SECRET-SENDGRID-API-KEYSendGrid API keyalways
JRS-SECRET-OPENAI-API-KEYOpenAI API keyalways
JRS-SECRET-ANTHROPIC-API-KEYAnthropic API keyalways
JRS-SECRET-PRIVATE-KEYPrivate keyalways
JRS-SECRET-GL-*84 token formats imported from gitleaksalways

HIGH

RuleTitleWhen
JRS-MANIFEST-001Application is debuggablealways
JRS-MANIFEST-006User-installed CAs trustedthe base-config of the network security configuration trusts user certificates for every connection
JRS-SIGN-003APK signed with a weak keyan RSA or DSA key under 1024 bits, or an EC key under 224 bits
JRS-CORDOVA-001Cordova WebView can navigate to any sitealways

MEDIUM

RuleTitleWhen
JRS-MANIFEST-002Application data can be backed upandroid:allowBackup="true" is set explicitly, without backup rules
JRS-MANIFEST-003Cleartext traffic permittedcleartext traffic is enabled explicitly for all domains (android:usesCleartextTraffic="true" or cleartextTrafficPermitted="true" in base-config)
JRS-MANIFEST-004Exported component not protected by a permissiona service, broadcast receiver or content provider
JRS-MANIFEST-006User-installed CAs trusteduser certificates are trusted by default (targetSdkVersion below 24), only for some domains, or by debug-overrides in a debuggable build
JRS-SIGN-001APK signed with the Android debug certificatealways
JRS-SIGN-002APK signed only with the v1 (JAR) schemealways
JRS-SIGN-003APK signed with a weak keyan RSA or DSA key of 1024 to 2047 bits
JRS-SIGN-004v1 signature uses a weak digestMD5
JRS-CORDOVA-004Cordova app loads its pages from file:// URLsalways
JRS-CORDOVA-005Cordova WebView can navigate to a cleartext sitealways
JRS-NATIVE-001Native libraries with an executable stackalways
JRS-NATIVE-002Native libraries with writable and executable segmentsalways
JRS-NATIVE-003Native libraries with text relocationsalways
JRS-SECRET-SLACK-WEBHOOKSlack incoming webhookalways

LOW

RuleTitleWhen
JRS-MANIFEST-002Application data can be backed upandroid:allowBackup is not set (it defaults to true), or backup rules are defined
JRS-MANIFEST-003Cleartext traffic permittedit is enabled by default (targetSdkVersion below 28), or only for some domains
JRS-MANIFEST-004Exported component not protected by a permissionan activity
JRS-MANIFEST-005Supports Android versions older than 7.0always
JRS-MANIFEST-007Application is a test buildalways
JRS-MANIFEST-008Activities open to task hijacking (StrandHogg)always
JRS-MANIFEST-009Opts out of scoped storagealways
JRS-MANIFEST-010Web links not verifiedalways
JRS-SIGN-004v1 signature uses a weak digestSHA-1
JRS-SIGN-005Signing certificate has expiredalways
JRS-CORDOVA-002Cordova app can reach any network originalways
JRS-CORDOVA-003Cordova app can open any URL in other appsalways
JRS-NATIVE-004Native libraries without RELROalways
JRS-NATIVE-005Native libraries without stack canariesalways
JRS-NETWORK-001Cleartext HTTP URLsalways
JRS-SECRET-GOOGLE-API-KEYGoogle API keyalways
JRS-SECRET-FIREBASE-DATABASE-URLFirebase Realtime Database URLalways
JRS-TRACKERTrackeralways
JRS-SECRET-GL-*4 public or test keys imported from gitleaksalways

Vulnerabilities

Known vulnerabilities in the app's libraries take the severity of their advisory:

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.