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

View file

@ -17,4 +17,9 @@ bun ../../cli/index.ts check # profile checks: delete-accoun
bun ../../cli/index.ts play data-safety --dry # the Data safety CSV Play imports, from dataSafety in the config
```
`bun ../../cli/index.ts scan` (offline rejection-risk scan) finds three things that are true for a fictional app and
are accepted on purpose in `scan.ignore` of the config, each with its reason: no App Review demo account and no Play
App access credentials (there is no backend to sign in to), and the `com.example` package name (the repo placeholder,
never uploaded). A real app with accounts must fix the first two (`review-access` skill) and pick its own package name.
Everything it writes (`store/shots/frames`, `store/renders`, `.storebound`) is gitignored.

View file

@ -34,6 +34,14 @@ const config: ShipConfig = {
PSL_CRASH_LOGS: { shared: false, collect: ['analytics'] },
},
},
// `storebound scan` findings that are true for this fictional demo and accepted on purpose (README.md)
scan: {
ignore: [
{ rule: 'demo-account', reason: 'fictional demo app without a store record: there is no backend to sign in to, so no App Review demo account' },
{ rule: 'play-app-access', reason: 'fictional demo app without a store record: no Play App access credentials' },
{ rule: 'play-package-name', reason: 'fictional demo app: com.example.* is the repo placeholder and is never uploaded' },
],
},
renders: 'store/renders',
shots: {
style: 'app',

View file

@ -21,3 +21,8 @@ bun ../../cli/index.ts icons # every icon from store/icon (ar
```
Everything it writes (`store/shots/frames`, `store/renders`, `store/video`, `store/icons`, `.storebound`) is gitignored.
`bun ../../cli/index.ts scan` (offline rejection-risk scan) reports one finding, accepted on purpose in `scan.ignore`
of the config: the `com.example` package name is the repo placeholder and is never uploaded; a real game picks its
own. The game has no native project here, so the code checks (ATT, purpose strings, privacy manifest) have nothing
to read.

View file

@ -19,6 +19,8 @@ const config: ShipConfig = {
],
play: { packageName: 'com.example.prismpuddle' },
apple: { bundleId: 'com.example.prismpuddle', ipad: true },
// `storebound scan` findings that are true for this fictional demo and accepted on purpose (README.md)
scan: { ignore: [{ rule: 'play-package-name', reason: 'fictional demo game: com.example.* is the repo placeholder and is never uploaded' }] },
renders: 'store/renders',
// One artwork -> every icon: `storebound icons` (sources in store/icon, from bg.svg and fg.svg; output is gitignored)
icons: {