Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Release and signing paths need the release owner's review. The branch ruleset on main and 0.22
# requires code-owner review and no other approvals, so other changes merge as before.
# Jobs that hold release secrets run only these paths. See docs/agents/pull-requests.md.
/.github/ @thymikee
/scripts/release-* @thymikee

Check failure on line 5 in .github/CODEOWNERS

View check run for this annotation

apex-sentinel-staging / Apex Sentinel

major: CODEOWNERS misses package.json, whose release:prepare runs inside the job holding keystore secrets

A PR editing only `package.json` matches no owned pattern, merges with zero approvals, and the next `Release` build runs `pnpm release:prepare` from that commit while `ANDROID_HELPER_KEYSTORE_BASE64`/`ANDROID_HELPER_KEYSTORE_PASSWORD` are injected—so a one-line addition exfiltrates the keystore and publishes attacker-built tarballs. The pattern list stops at `scripts/release-*`, leaving the script definitions that decide what the secrets-holding job executes outside owner review. Same reach applies to `tsconfig.json`, `tsdown.config.ts`, `pnpm-workspace.yaml`, `patches/`, and the three scripts `release.yml` itself lists as release-sensitive in its `pull_request.paths` trigger.
Comment thread
thymikee marked this conversation as resolved.
Resolved
/scripts/*android-helper* @thymikee

Check failure on line 6 in .github/CODEOWNERS

View check run for this annotation

apex-sentinel-staging / Apex Sentinel

major: Android helper sources signed into the release APK are not owned; only scripts/_android-helper_ are

Java sources under `android/snapshot-helper/src/...` and `android/ime-helper` match no owned CODEOWNERS pattern, so a PR touching only them merges with zero approvals. The next stable release compiles that code in the `release-android-snapshot-helper.yml` job (environment `release`, `ANDROID_HELPER_KEYSTORE_*` injected) and uploads the keystore-signed APK to the public GitHub Release.
Comment thread
thymikee marked this conversation as resolved.
Resolved
Loading