{
  "$schema": "https://raw.githubusercontent.com/oasis-tcs/sarif-spec/master/Schemata/sarif-schema-2.1.0.json",
  "version": "2.1.0",
  "runs": [
    {
      "tool": {
        "driver": {
          "name": "apk-scanner.com",
          "informationUri": "https://apk-scanner.com",
          "version": "1.0.0",
          "rules": [
            {
              "id": "APKSCAN-2-firebase_rtdb",
              "name": "FirebaseRtdb",
              "shortDescription": {
                "text": "Firebase Realtime Database reference"
              },
              "fullDescription": {
                "text": "Confirm the bucket/database denies anonymous read (enable auth / storage rules / RLS), then audit its contents for data already exposed while it was open."
              },
              "helpUri": "https://apk-scanner.com/finding/firebase_rtdb",
              "help": {
                "text": "Confirm the bucket/database denies anonymous read (enable auth / storage rules / RLS), then audit its contents for data already exposed while it was open."
              },
              "defaultConfiguration": {
                "level": "note"
              },
              "properties": {
                "tags": [
                  "security",
                  "CWE-200",
                  "CWE-284",
                  "MASVS-STORAGE-2"
                ],
                "security-severity": "2.0",
                "cwe": [
                  "CWE-200",
                  "CWE-284"
                ],
                "masvs": [
                  "MASVS-STORAGE-2"
                ]
              }
            },
            {
              "id": "APKSCAN-20-google_api_key",
              "name": "GoogleApiKey",
              "shortDescription": {
                "text": "Google API key (client-shipped; restriction unverified)"
              },
              "fullDescription": {
                "text": "Restrict the API key (application + API restrictions in Google Cloud Console); a client-shipped key is public, so restriction is the control."
              },
              "helpUri": "https://apk-scanner.com/finding/google_api_key",
              "help": {
                "text": "Restrict the API key (application + API restrictions in Google Cloud Console); a client-shipped key is public, so restriction is the control."
              },
              "defaultConfiguration": {
                "level": "note"
              },
              "properties": {
                "tags": [
                  "security",
                  "CWE-798",
                  "MASVS-STORAGE-1"
                ],
                "security-severity": "2.0",
                "cwe": [
                  "CWE-798"
                ],
                "masvs": [
                  "MASVS-STORAGE-1"
                ]
              }
            },
            {
              "id": "APKSCAN-53-firebase_storage",
              "name": "FirebaseStorage",
              "shortDescription": {
                "text": "Firebase Storage bucket reference"
              },
              "fullDescription": {
                "text": "Confirm the bucket/database denies anonymous read (enable auth / storage rules / RLS), then audit its contents for data already exposed while it was open."
              },
              "helpUri": "https://apk-scanner.com/finding/firebase_storage",
              "help": {
                "text": "Confirm the bucket/database denies anonymous read (enable auth / storage rules / RLS), then audit its contents for data already exposed while it was open."
              },
              "defaultConfiguration": {
                "level": "note"
              },
              "properties": {
                "tags": [
                  "security",
                  "CWE-200",
                  "CWE-284",
                  "MASVS-STORAGE-2"
                ],
                "security-severity": "2.0",
                "cwe": [
                  "CWE-200",
                  "CWE-284"
                ],
                "masvs": [
                  "MASVS-STORAGE-2"
                ]
              }
            },
            {
              "id": "APKSCAN-60-bg_location",
              "name": "BgLocation",
              "shortDescription": {
                "text": "Background location access"
              },
              "fullDescription": {
                "text": "Justify background location; request foreground-only where possible and disclose the use in the Play Data Safety form."
              },
              "helpUri": "https://apk-scanner.com/finding/bg_location",
              "help": {
                "text": "Justify background location; request foreground-only where possible and disclose the use in the Play Data Safety form."
              },
              "defaultConfiguration": {
                "level": "note"
              },
              "properties": {
                "tags": [
                  "security",
                  "CWE-359",
                  "MASVS-PRIVACY-1"
                ],
                "security-severity": "2.0",
                "cwe": [
                  "CWE-359"
                ],
                "masvs": [
                  "MASVS-PRIVACY-1"
                ]
              }
            },
            {
              "id": "APKSCAN-57-short_key",
              "name": "ShortKey",
              "shortDescription": {
                "text": "Short signing key"
              },
              "fullDescription": {
                "text": "Use an RSA key of at least 2048 bits or an EC P-256 key for signing."
              },
              "helpUri": "https://apk-scanner.com/finding/short_key",
              "help": {
                "text": "Use an RSA key of at least 2048 bits or an EC P-256 key for signing."
              },
              "defaultConfiguration": {
                "level": "warning"
              },
              "properties": {
                "tags": [
                  "security",
                  "CWE-326",
                  "MASVS-CRYPTO-1"
                ],
                "security-severity": "5.0",
                "cwe": [
                  "CWE-326"
                ],
                "masvs": [
                  "MASVS-CRYPTO-1"
                ]
              }
            }
          ]
        }
      },
      "automationDetails": {
        "id": "apk-scanner/pl.gswierczynski.motolog/5c737012-309a-45c1-948d-7785e8a21807"
      },
      "invocations": [
        {
          "executionSuccessful": true
        }
      ],
      "results": [
        {
          "ruleId": "APKSCAN-2-firebase_rtdb",
          "level": "note",
          "message": {
            "text": "Firebase Realtime Database reference"
          },
          "locations": [
            {
              "physicalLocation": {
                "artifactLocation": {
                  "uri": "resources.arsc"
                }
              }
            }
          ],
          "partialFingerprints": {
            "apkscanFingerprint": "4730f279a525fe645d27dcef82f74184c12d87c15da1257975362a6453276bb7"
          },
          "properties": {
            "severity": "low",
            "verified": false,
            "relationship": "gap-signal"
          }
        },
        {
          "ruleId": "APKSCAN-20-google_api_key",
          "level": "note",
          "message": {
            "text": "Google API key (client-shipped; restriction unverified)"
          },
          "locations": [
            {
              "physicalLocation": {
                "artifactLocation": {
                  "uri": "AndroidManifest.xml"
                }
              }
            }
          ],
          "partialFingerprints": {
            "apkscanFingerprint": "0ba365f8d9f13dadbc8b5ab00791dba80305a9f5cebd9c03b3184050db69237c"
          },
          "properties": {
            "severity": "low",
            "verified": false,
            "relationship": "gap-signal"
          }
        },
        {
          "ruleId": "APKSCAN-20-google_api_key",
          "level": "note",
          "message": {
            "text": "Google API key (client-shipped; restriction unverified)"
          },
          "locations": [
            {
              "physicalLocation": {
                "artifactLocation": {
                  "uri": "resources.arsc"
                }
              }
            }
          ],
          "partialFingerprints": {
            "apkscanFingerprint": "f8df1dd5f40f9114d3cb524c4ee5f2ad55feeea61ab1ae7f29a3c73c5b371456"
          },
          "properties": {
            "severity": "low",
            "verified": false,
            "relationship": "gap-signal"
          }
        },
        {
          "ruleId": "APKSCAN-20-google_api_key",
          "level": "note",
          "message": {
            "text": "Google API key (client-shipped; restriction unverified)"
          },
          "locations": [
            {
              "physicalLocation": {
                "artifactLocation": {
                  "uri": "classes2.dex"
                }
              }
            }
          ],
          "partialFingerprints": {
            "apkscanFingerprint": "1b6032a69c4438b38667ca4de10c0ad677f7bae6ed4f423af0ca4c4ec622843f"
          },
          "properties": {
            "severity": "low",
            "verified": false,
            "relationship": "gap-signal"
          }
        },
        {
          "ruleId": "APKSCAN-53-firebase_storage",
          "level": "note",
          "message": {
            "text": "Firebase Storage bucket reference"
          },
          "locations": [
            {
              "physicalLocation": {
                "artifactLocation": {
                  "uri": "resources.arsc"
                }
              }
            }
          ],
          "partialFingerprints": {
            "apkscanFingerprint": "75fd5768c988510435d0a5d7bf547b990c8c99e2b8c1085b75ac01e955ea77d4"
          },
          "properties": {
            "severity": "low",
            "verified": false,
            "relationship": "gap-signal"
          }
        },
        {
          "ruleId": "APKSCAN-60-bg_location",
          "level": "note",
          "message": {
            "text": "Background location access with advertising SDKs present"
          },
          "locations": [
            {
              "physicalLocation": {
                "artifactLocation": {
                  "uri": "pii:bgloc"
                }
              }
            }
          ],
          "partialFingerprints": {
            "apkscanFingerprint": "0c010d775be9542eee48043eb496c06888f9b8e8fcdf3af66a6b84e99192f6ce"
          },
          "properties": {
            "severity": "low",
            "verified": false,
            "relationship": "gap-confirmed"
          }
        },
        {
          "ruleId": "APKSCAN-57-short_key",
          "level": "warning",
          "message": {
            "text": "Short signing key (RSA 1024-bit)"
          },
          "locations": [
            {
              "physicalLocation": {
                "artifactLocation": {
                  "uri": "META-INF/signing:key"
                }
              }
            }
          ],
          "partialFingerprints": {
            "apkscanFingerprint": "eff7d2f7607ae274d531546d1e828faf234bca919325efac0bbe80b2f250d041"
          },
          "properties": {
            "severity": "medium",
            "verified": false,
            "relationship": "gap-confirmed"
          }
        }
      ],
      "properties": {
        "analysis": {
          "issues": [],
          "stages": {
            "pii": "complete",
            "sbom": "complete",
            "signing": "certificate_parsed",
            "strings": "complete",
            "manifest": "complete"
          },
          "status": "complete",
          "grading": {
            "policy": "static-coverage-v1",
            "blockers": [],
            "eligible": true
          },
          "timings_ms": {
            "total": 3311.094,
            "harvest": 1142.3019999999997,
            "detectors": 1807.3110000000065
          },
          "bytes_total": 23059950,
          "bytes_scanned": 23059950,
          "bytes_skipped": 0,
          "files_processed": 814,
          "coverage_version": 2,
          "string_encodings": [
            "ascii",
            "utf16le"
          ],
          "signature_validation": "not_performed"
        },
        "provenance": {
          "mode": "static",
          "artifacts": [
            {
              "name": "base.apk",
              "sha256": "f2294e8d18120999296a29748e4844232104a55448bdd39734bd691f9414516d"
            },
            {
              "name": "config.arm64_v8a.apk",
              "sha256": "190191c85d4c4663d741d3f702234a23c275aa46bdea6db055c8328370c34b7e"
            },
            {
              "name": "config.en.apk",
              "sha256": "7b85ccb43fd7f9fa06fa6232bafa724f4eb9d785b9a2335c5e547c161157a7ef"
            },
            {
              "name": "config.xxhdpi.apk",
              "sha256": "ec90d97b22aaafb11575480e8540b38608dfcce84c6d2b4a3eeaf89377b745b6"
            }
          ],
          "ruleset_sha256": "3bb79cc3710b0fb021feaa322578f4cffe08396a97c51b34df092b5a05891d5e"
        },
        "apk_sha256": "f2294e8d18120999296a29748e4844232104a55448bdd39734bd691f9414516d",
        "app_id": "pl.gswierczynski.motolog",
        "app_title": "Mileage Tracker & Vehicle Log",
        "app_version": "4.4.0",
        "scan_id": "5c737012-309a-45c1-948d-7785e8a21807",
        "scanned_at": "2026-10-06T17:12:46.373Z"
      }
    }
  ]
}