-
fork: check the caller's App audience on explicit skill-source selection (fixes #38)
released this
2026-10-19 15:31:29 +00:00 | 3458 commits to local since this releaseBackport of #42 (rebuild2) to dev. An explicit github-app selection on the
skill import and auth PATCH routes was treated as its own authorization:
selectGithubAppGitIdentity skipped toolConnectionInstalls, so any caller who
could edit skills could point a skill at any App connection in the company.The selection now resolves for whoever chose it (GithubAppSelectionCaller):
- an agent needs the connection installed company-wide or for itself;
- a board user must be a connection manager (local trusted, instance admin
or tools:manage_connections) or the connection's creator; - a stored skill row's selection is read as
savedby syncs, its audience
having been checked when it was saved; - no caller named fails closed.
Out-of-audience is a 403skill_source_auth_denied, checked before the
connection's state so a denial reveals nothing more.
Co-Authored-By: Claude Opus 5.5 [email protected]
Downloads