You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Peer signature check should require the hardened runtime and refuse get-task-allow #4377
Found reviewing #4368 (stage 5 of remote tool approval). The SecCode requirement checks the Developer ID chain, the team id and the signing identifier but not the hardened runtime. A team-signed build without --options runtime, or one carrying get-task-allow or allow-dyld-environment-variables, still passes and could be injected by a same-user attacker. scripts/build-pkg.sh signs with --options runtime today and no entitlements file grants those, so this only matters for a differently built app.
Also check SecCodeCopySigningInformation flags for CS_RUNTIME and refuse get-task-allow on the peer. Low: the identifier 'nodespace' admits any team-signed binary with that name for ApproveTool (the system dialog still applies); CLI approvals do two SecCode lookups per request (correct, only slower).
Done when a team-signed peer without the hardened runtime is refused, with a test, and the positive case is confirmed on a signed build (#4365, #4367).
Activity