{
  "$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-37-allow_backup",
              "name": "AllowBackup",
              "shortDescription": {
                "text": "android:allowBackup=\"true\""
              },
              "fullDescription": {
                "text": "Backup is on by default on Android; this manifest states it explicitly. If the app stores sensitive local data, define dataExtractionRules/fullBackupContent to exclude it, or set android:allowBackup=false."
              },
              "helpUri": "https://apk-scanner.com/finding/allow_backup",
              "help": {
                "text": "Backup is on by default on Android; this manifest states it explicitly. If the app stores sensitive local data, define dataExtractionRules/fullBackupContent to exclude it, or set android:allowBackup=false."
              },
              "defaultConfiguration": {
                "level": "note"
              },
              "properties": {
                "tags": [
                  "security",
                  "CWE-530",
                  "CWE-312",
                  "MASVS-STORAGE-1",
                  "MASVS-STORAGE-2"
                ],
                "security-severity": "2.0",
                "cwe": [
                  "CWE-530",
                  "CWE-312"
                ],
                "masvs": [
                  "MASVS-STORAGE-1",
                  "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-35-exported_provider",
              "name": "ExportedProvider",
              "shortDescription": {
                "text": "Exported ContentProvider without permission"
              },
              "fullDescription": {
                "text": "Set android:exported=false, or require a signature-level android:permission, and scope grantUriPermissions narrowly."
              },
              "helpUri": "https://apk-scanner.com/finding/exported_provider",
              "help": {
                "text": "Set android:exported=false, or require a signature-level android:permission, and scope grantUriPermissions narrowly."
              },
              "defaultConfiguration": {
                "level": "note"
              },
              "properties": {
                "tags": [
                  "security",
                  "CWE-926",
                  "CWE-284",
                  "MASVS-PLATFORM-1"
                ],
                "security-severity": "2.0",
                "cwe": [
                  "CWE-926",
                  "CWE-284"
                ],
                "masvs": [
                  "MASVS-PLATFORM-1"
                ]
              }
            },
            {
              "id": "APKSCAN-72-sentry_dsn",
              "name": "SentryDsn",
              "shortDescription": {
                "text": "Sentry DSN"
              },
              "fullDescription": {
                "text": "A client DSN is low-risk but confirm it is a client (not internal) DSN and cannot be abused to spoof events."
              },
              "helpUri": "https://apk-scanner.com/finding/sentry_dsn",
              "help": {
                "text": "A client DSN is low-risk but confirm it is a client (not internal) DSN and cannot be abused to spoof events."
              },
              "defaultConfiguration": {
                "level": "note"
              },
              "properties": {
                "tags": [
                  "security",
                  "CWE-200",
                  "MASVS-STORAGE-2"
                ],
                "security-severity": "2.0",
                "cwe": [
                  "CWE-200"
                ],
                "masvs": [
                  "MASVS-STORAGE-2"
                ]
              }
            },
            {
              "id": "APKSCAN-85-supabase_anon_key",
              "name": "SupabaseAnonKey",
              "shortDescription": {
                "text": "Supabase anon key"
              },
              "fullDescription": {
                "text": "Remove the hard-coded credential from the app package, rotate/revoke it immediately, and move the secret to a backend the app calls with per-user authentication."
              },
              "helpUri": "https://apk-scanner.com/finding/supabase_anon_key",
              "help": {
                "text": "Remove the hard-coded credential from the app package, rotate/revoke it immediately, and move the secret to a backend the app calls with per-user authentication."
              },
              "defaultConfiguration": {
                "level": "note"
              },
              "properties": {
                "tags": [
                  "security",
                  "CWE-798",
                  "MASVS-STORAGE-1"
                ],
                "security-severity": "2.0",
                "cwe": [
                  "CWE-798"
                ],
                "masvs": [
                  "MASVS-STORAGE-1"
                ]
              }
            }
          ]
        }
      },
      "automationDetails": {
        "id": "apk-scanner/com.potally.app/c5170301-8199-482f-95aa-42ae51c97354"
      },
      "invocations": [
        {
          "executionSuccessful": true
        }
      ],
      "results": [
        {
          "ruleId": "APKSCAN-37-allow_backup",
          "level": "note",
          "message": {
            "text": "Application data is backup-enabled"
          },
          "locations": [
            {
              "physicalLocation": {
                "artifactLocation": {
                  "uri": "AndroidManifest.xml"
                }
              }
            }
          ],
          "partialFingerprints": {
            "apkscanFingerprint": "68d134f0bcd98a9559d6dd5275f80a3928e4a6490ac4a0f1bd16f87683bd49f8"
          },
          "properties": {
            "severity": "info",
            "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": "0c2a4e94aeff19cf2c645f10e1372b596062c6224f7a59e026d6495a3f5994a6"
          },
          "properties": {
            "severity": "low",
            "verified": false,
            "relationship": "gap-signal"
          }
        },
        {
          "ruleId": "APKSCAN-35-exported_provider",
          "level": "note",
          "message": {
            "text": "Exported content provider without permission (third-party library artifact, shared across 94 unrelated developers)"
          },
          "locations": [
            {
              "physicalLocation": {
                "artifactLocation": {
                  "uri": "AndroidManifest.xml:expo.modules.clipboard.ClipboardFileProvider"
                }
              }
            }
          ],
          "partialFingerprints": {
            "apkscanFingerprint": "16174738eecdf29a91b3eee50e26c4a1f48c411654c5978e8e441f026a27c0de"
          },
          "properties": {
            "severity": "low",
            "verified": false,
            "relationship": "gap-confirmed"
          }
        },
        {
          "ruleId": "APKSCAN-72-sentry_dsn",
          "level": "note",
          "message": {
            "text": "Sentry DSN"
          },
          "locations": [
            {
              "physicalLocation": {
                "artifactLocation": {
                  "uri": "assets/index.android.bundle"
                }
              }
            }
          ],
          "partialFingerprints": {
            "apkscanFingerprint": "6433d8f3d52456be230594710295d6d8d98c24dfc59bcc4fc6ba3d965239ad6c"
          },
          "properties": {
            "severity": "low",
            "verified": false,
            "relationship": "informational"
          }
        },
        {
          "ruleId": "APKSCAN-85-supabase_anon_key",
          "level": "note",
          "message": {
            "text": "Supabase anon key (public client key)"
          },
          "locations": [
            {
              "physicalLocation": {
                "artifactLocation": {
                  "uri": "assets/index.android.bundle"
                }
              }
            }
          ],
          "partialFingerprints": {
            "apkscanFingerprint": "f8881ecb9b16fb3d7f381f8b584e83043f773a3e6f1d238504af2e0609c10548"
          },
          "properties": {
            "severity": "low",
            "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": 16222.609,
            "harvest": 4252.521999999998,
            "detectors": 10396.392000000016
          },
          "bytes_total": 76854837,
          "bytes_scanned": 76854837,
          "bytes_skipped": 0,
          "files_processed": 2466,
          "coverage_version": 2,
          "string_encodings": [
            "ascii",
            "utf16le"
          ],
          "signature_validation": "not_performed"
        },
        "provenance": {
          "mode": "static",
          "artifacts": [
            {
              "name": "base.apk",
              "sha256": "fde1ab9c89d7ef16a81dfcf104d959a9f608fdb2a1148d6b6204aa1b7d1d1b96"
            },
            {
              "name": "config.arm64_v8a.apk",
              "sha256": "0c102a647118ff33cb58cc5414f23cd2a4836a6abcecfdcbdd960d767dc4b4ac"
            },
            {
              "name": "config.en.apk",
              "sha256": "231d4945320d654c285c2e29b7ad36f6eba9fa53b1cc8472e05f41f121ed8372"
            },
            {
              "name": "config.xxhdpi.apk",
              "sha256": "4fdefadeb4e62c11b1921491b668a3f9246d9a1458744b08cbc887cfd4787b60"
            }
          ],
          "ruleset_sha256": "3bb79cc3710b0fb021feaa322578f4cffe08396a97c51b34df092b5a05891d5e"
        },
        "apk_sha256": "fde1ab9c89d7ef16a81dfcf104d959a9f608fdb2a1148d6b6204aa1b7d1d1b96",
        "app_id": "com.potally.app",
        "app_title": "Potally: Plant Care Tracker",
        "app_version": "2.0.5",
        "scan_id": "c5170301-8199-482f-95aa-42ae51c97354",
        "scanned_at": "2026-10-12T19:35:48.054Z"
      }
    }
  ]
}