Repository navigation
security(hipaa): accept TES's service-only credential on /register_tools - #8
Merged
Merged
Conversation
requirements.txt pins omnibioai-iam-client (private repo) via git+https for the HIPAA-V2-019 delegated-execution auth added in a4cdf8a, but the slim base image had no git and no credential path, so `docker build` failed at `pip install`. No image containing a4cdf8a was ever built, and production kept running the 2026-09-04 image, whose /runs, /validate and /register_tools have no authentication at all. Install git and pass the GitHub token as a BuildKit secret through an ephemeral GIT_ASKPASS helper, the same pattern as omnibioai-model-registry/Dockerfile. Verified with a local build (arm64, --network none, no credential in image history or filesystem): /runs*, POST /runs and /validate return 401 without a credential or with a forged bearer; /register_tools returns 501; /capabilities and /health stay 200. Build: docker build --secret id=github_token,src=<token-file> . Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
HIPAA-V2-019. /register_tools was disabled (501) because no permission model existed for it, which would have dropped TES's 1,716 HTTP tools on deploy. It is re-enabled behind require_tes_registration: Auth's service-only `toolserver_registration` credential, verified live via iam_client.registration (v0.1.5), from a service identity listed in TOOLSERVER_REGISTRATION_CLIENT_IDS (empty denies all). Only tools with an http block are registered; the service id and counts are logged, never the credential. /runs and /validate still accept only delegated-execution credentials, which a registration credential can never satisfy. Pins omnibioai-iam-client to v0.1.5. Tests: 402 passed (17 new); four old 501-contract tests now assert 401 for delegated or anonymous callers. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 Generated with Claude Code