storebound scan: offline rejection-risk scan of the project itself

Detects the stack (native iOS / Android, React Native, Expo, Capacitor, Cordova,
Flutter, Unity, Godot) and the SDKs from a maintained table with versions,
file:line and each vendor's disclosure page, then reports App Store and Google
Play rejection risks with guideline, evidence, fix, severity and skill: 2.1(a)
demo account and placeholder text, 5.1.1(v) account deletion, 4.8 login
services, 3.1.1 restore and outside payments, 3.1.2 subscription info, 5.1.2(i)
ATT, purpose strings, privacy link, privacy manifest, 2.3.10, 2.3.7, 2.3.8, 4.2
web wrappers, 2.5.1, 2.5.5, ATS, export compliance, 1.3 kids ads, review
prompts, privacy labels vs SDKs; Play target SDK 36, delete-account URL, App
access, foreground services, exact alarms, QUERY_ALL_PACKAGES, SMS / call log,
com.example package name.

Proposes Data safety / App Privacy / ATT / privacy manifest answers (detected
file:line or ask owner) as a diff against the config; --write adds only the
detected ones. scan.ignore records owner-accepted findings. MCP tool scan
(read-only), validate includes open findings, desktop Checks tab shows them.
Fixtures for iOS, Android, Capacitor, Unity, Flutter, clean and teaser.
This commit is contained in:
CRTkafa 2026-10-11 15:20:55 +00:00
parent 02d90de77a
commit 00a38cd305
109 changed files with 3103 additions and 31 deletions

6
tests/fixtures/scan/flutter/README.md vendored Normal file
View file

@ -0,0 +1,6 @@
# flutter fixture
A made-up Flutter subscription app: Google Sign-In without Sign in with Apple, sign-up without deletion, a
subscription without Terms of Use (config and listing) or renewal wording, app_tracking_transparency without
NSUserTrackingUsageDescription, a location foreground service without FOREGROUND_SERVICE_LOCATION, and a targetSdk
that comes from the Flutter SDK. Not a buildable project.

View file

@ -0,0 +1,9 @@
android {
namespace "com.example.habitcoach"
compileSdk flutter.compileSdkVersion
defaultConfig {
applicationId "com.example.habitcoach"
minSdk flutter.minSdkVersion
targetSdk flutter.targetSdkVersion
}
}

View file

@ -0,0 +1,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<application android:label="Habit Coach">
<service android:name=".WalkTracker" android:foregroundServiceType="location" android:exported="false" />
</application>
</manifest>

View file

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDisplayName</key>
<string>Habit Coach</string>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
</dict>
</plist>

View file

@ -0,0 +1,14 @@
import 'package:firebase_auth/firebase_auth.dart';
import 'package:google_sign_in/google_sign_in.dart';
import 'package:app_tracking_transparency/app_tracking_transparency.dart';
Future<void> signInWithGoogle() async {
final account = await GoogleSignIn().signIn();
final auth = await account!.authentication;
await FirebaseAuth.instance.signInWithCredential(GoogleAuthProvider.credential(idToken: auth.idToken));
}
Future<void> signUp(String email, String password) =>
FirebaseAuth.instance.createUserWithEmailAndPassword(email: email, password: password);
Future<void> askTracking() => AppTrackingTransparency.requestTrackingAuthorization();

View file

@ -0,0 +1,19 @@
packages:
firebase_auth:
dependency: "direct main"
description:
name: firebase_auth
source: hosted
version: "5.3.1"
google_mobile_ads:
dependency: "direct main"
description:
name: google_mobile_ads
source: hosted
version: "5.1.0"
google_sign_in:
dependency: "direct main"
description:
name: google_sign_in
source: hosted
version: "6.2.1"

View file

@ -0,0 +1,19 @@
name: habit_coach
description: A made-up habit app for storebound tests.
version: 2.1.0+21
environment:
sdk: ">=3.5.0 <4.0.0"
dependencies:
flutter:
sdk: flutter
firebase_auth: ^5.3.0
google_sign_in: ^6.2.1
purchases_flutter: ^8.1.0
google_mobile_ads: ^5.1.0
app_tracking_transparency: ^2.0.6
dev_dependencies:
flutter_test:
sdk: flutter

View file

@ -0,0 +1,23 @@
# Habit Coach · App Store listing copy
## en-US · English (U.S.)
### subtitle
```
Small habits, every day
```
### promotionalText
```
Build a streak that sticks.
```
### keywords
```
habit,streak,routine,goals,tracker
```
### description
```
Habit Coach helps you build small daily habits with reminders and streaks. Coach Plus adds unlimited habits.
```

View file

@ -0,0 +1,22 @@
// Fixture config (made up, example.com placeholders only).
export default {
app: {
name: 'Habit Coach',
profile: 'subscription-app',
privacyPolicyUrl: 'https://example.com/privacy',
supportUrl: 'https://example.com/support',
website: 'https://example.com',
contactEmail: 'support@example.com',
},
reviewAccess: { signInRequired: false },
languages: [{ id: 'en', play: 'en-US', apple: 'en-US' }],
play: { packageName: 'com.example.habitcoach' },
apple: { bundleId: 'com.example.habitcoach', usesNonExemptEncryption: false },
subscriptions: [{
name: 'Coach Plus',
listings: { en: { name: 'Coach Plus' } },
subscriptions: [
{ id: 'com.example.habitcoach.plus_monthly', period: 'P1M', level: 1, usd: 4.99, listings: { en: { title: 'Coach Plus', description: 'Unlimited habits' } } },
],
}],
};