Skip to content

A namespace's classify endpoint off the gateway is reached only over https at a public address it vetted - #318

Merged
zlareb1 merged 17 commits into
mainfrom
sec/classify-endpoint-public-only
Nov 7, 2026
Merged

zlareb1 merged 17 commits into
mainfrom
sec/classify-endpoint-public-only

Conversation

@zlareb1

@zlareb1 zlareb1 commented Nov 6, 2026 •

Copy link
Copy Markdown
Member

Changelog category (leave one):

  • Critical Bug Fix (data loss, cross-tenant read, auth bypass)

Changelog entry (one or two sentences a user of Loom can read without the diff; the release pull request collects these into the release notes):

Off the inference gateway, a namespace's classify_endpoint must be https with no user name or password, and memory.set(classify=true) posts only to the public address its host resolves to, with no redirect and no gateway identity headers; a failed call is reported in degraded by its kind alone. LOOM_MEMORY_CLASSIFY_PRIVATE_HOSTS names the hosts an operator allows on a private address, over http too.

Why

namespace.register makes the creator of a new namespace its admin, and an admin sets the namespace's classify_endpoint. While the gateway is not required (the default), the URL was not checked, and memory.set with classify=true posted the memory's value there with the model client, whose hook only enforces the gateway's host list. So any principal of an org could make the server send a JSON POST to a loopback, private or link-local address and port of its choice (the metadata endpoint, ClickHouse's HTTP port, the extractor, other services in the cluster), and the exception text returned in the write's degraded field told a refused connection, a timeout, a non-JSON answer and an HTTP status apart: a port scanner of the server's network. The reranker was already closed this way (a URL is refused; only operator-configured names pass).

Design

  • A classifier is a model call, on the model client with its identity headers, while the gateway is required or when its host is one of LOOM_INFERENCE_GATEWAY_HOSTS (classify_route). Such a URL must be https at the default port of a listed host, also while the gateway is not required: another port of the gateway's host is inward reach, and listing that host in LOOM_MEMORY_CLASSIFY_PRIVATE_HOSTS does not open it. Any other endpoint is off the gateway.
  • classify_refusal, which namespace.register and the call both run, reads one host for every decision. httpx (the gateway check and the model call) and urlsplit (the off-gateway call) parse a URL differently: urlsplit drops a tab, httpx refuses a control character or a URL over its length limit and reads "", and Python's IDNA 2003 codec maps a fullwidth name to ASCII. Each of these read as off the gateway to the check and reached the gateway's host at the call. So any URL with a control, whitespace or non-printable character is refused, and so is one where httpx reads no host or the urlsplit host, normalised by catalog.ascii_host (lower case, no trailing dot, a non-ASCII name as its UTS 46 IDNA form from the idna package), is not the host httpx reads, or that host is not a bare name or address literal (catalog.is_bare_host: a zone id such as [fe80::1%25eth0] or a percent-encoded name is refused). _one_host returns the parsed parts with that host, so one host is read for every decision, and each later parse reads the same string the same way. That one host is compared against the gateway hosts and the private-host allowlist, each entry normalised the same way.
  • Then, on every path, a URL carrying a user name or password is refused (the call would drop it, and namespace.get would hand the credential back). Off the gateway the scheme must be https unless the host is listed in LOOM_MEMORY_CLASSIFY_PRIVATE_HOSTS (then plain http is allowed too). Registration stores the endpoint stripped, as the call reads it.
  • classify off the gateway calls _post_vetted: webhooks.pinned_target resolves the host, refuses any loopback, private, link-local, multicast or other non-public address (unwrapping IPv4-mapped and NAT64 forms), and returns the vetted address; the POST goes to that address with the name as Host and as the TLS server name, on its own client that follows no redirect. A rebinding name cannot move the connection after the check. The gateway's identity headers are sent only on the gateway path. An operator-listed private host is reached by its name.
  • The name lookup, the call and the answer run under one asyncio.timeout(LOOM_MEMORY_CLASSIFY_TIMEOUT_S), as the webhook sender's do, and the answer is streamed and read to at most 64 KiB (_MAX_ANSWER_BYTES; the answer is a few dozen bytes), so neither a name whose server never answers, nor an answer that trickles or streams gigabytes, holds the write or the server's memory.
  • hosts.vet_host now looks every host a caller names up on the event loop with dnspython's async resolver (hosts._resolve_in_loop: A and AAAA from the system's resolv.conf), not by getaddrinfo in a thread. The caller's deadline, or a cancelled request, ends the lookup, and nothing of it outlives the call. This covers the classifier and every other user of the gate: memory and task webhooks, tracker sources and the repository-job egress proxy. The answers are vetted as before. A host an operator allowlisted (allow_private: LOOM_MEMORY_CLASSIFY_PRIVATE_HOSTS, LOOM_MEMORY_WEBHOOK_PRIVATE_HOSTS, the tracker's private-host switch) is still looked up by getaddrinfo.
    • What changes for a looked-up host: /etc/hosts and nsswitch are not read; no search domains are applied, so a single-label name that resolved through a search domain before now does not resolve and is refused; and A records come before AAAA, where getaddrinfo ordered them by RFC 6724. An operator who needs any of these for a classifier, webhook or tracker host lists it in that caller's private-host setting; the repository-job egress proxy has no such setting, so a git remote or submodule needs its full DNS name.
    • The resolver is built from /etc/resolv.conf and built again when the file's modification time changes, so a container whose DNS server moves keeps resolving without a restart. Without the file, the lookup fails closed.
    • Alternatives considered: a dedicated thread pool for the classifier's lookups (a burst at names that never answer fills it, and the threads outlive the deadline); and a share of that pool per (org, namespace), which one principal beats by creating more namespaces. A lookup that holds no thread is the one that holds.
  • Whether a classifier goes through the gateway is decided once, from the normalised host: classify_route returns (refusal, via gateway), classify() reads both from that one call, and classify_refusal is its first half.
  • webhooks.pinned_target normalises the host with ascii_host (UTS 46, so faß.example is xn--fa-hia.example, not IDNA 2003's fass.example), resolves that ASCII name, matches it against the allowlist, and sends it as Host and the TLS server name: httpx encodes header values as ASCII, so a Unicode name failed every call. This fixes the webhook senders too, and their allowlist (LOOM_MEMORY_WEBHOOK_PRIVATE_HOSTS) matches a name in either spelling. _post_vetted passes both schemes, since classify_refusal already refused http for an unlisted host.
  • idna is now a declared dependency (it came only through httpx), and dnspython (ISC licence, pure Python, locked at 2.8.0) a new one for the in-loop lookup.
  • LOOM_MEMORY_CLASSIFY_PRIVATE_HOSTS, LOOM_MEMORY_WEBHOOK_PRIVATE_HOSTS and LOOM_INFERENCE_GATEWAY_HOSTS are checked at load by one rule (catalog.host_list_refusal): each entry, spelled by ascii_host, must be a bare hostname or IP literal, so an entry with a port, brackets, a scheme, a path, a wildcard, a zone or a name IDNA cannot encode stops the server at start instead of matching nothing. A _ in a label is accepted (a Compose service name has one, and both parsers read it alike), so the gateway list now accepts _ too, which it refused before.
  • On the gateway path, an explicit :443 counts as the default port: urlsplit reads it as 443 and httpx, which sends the call, as no port.
  • A call refused before it is sent (its host) raises a private _NotCalled in _post_vetted, apart from the answer, so a classifier that answers JSON null is noted malformed payload, not taken for a refusal.
  • The degraded note names the exception's type only, and the warning for a refused host is logged once per (org, namespace) (_REFUSED_LOGGED), as classify now takes the org and namespace.
  • A listed private host is reached on any port and path the admin names, so the setting's comment and the security page say to list only a host that serves nothing else.
  • webhooks._tls is renamed tls, as two modules use it.

Alternative considered: accept only names from an operator map, as the reranker does. That breaks every namespace that stores a classifier URL today; a public https classifier is a legitimate use, and the vetted, pinned connection removes the inward reach.

Scope and risk

server/memory/domain/classify_endpoints.py, server/memory/app/classify.py, server/core/webhooks.py (the rename and the IDNA host), server/memory/app/write.py (passes the org and namespace), server/settings/catalog.py (the new LOOM_MEMORY_CLASSIFY_PRIVATE_HOSTS setting, the load-time check of the three host-list settings, and ascii_host, which those lists now spell their entries with) with the regenerated reference, schema and example, pyproject.toml and uv.lock (idna and dnspython), docs/architecture/security.md, docs/operations/code-index-operations.md (how the egress proxy resolves a name) and docs/features/namespaces-and-sharing.md, the unit tests and one integration test's sample URL, server/core/hosts.py (the in-loop lookup), tests/unit/conftest.py (the network guard also refuses a datagram to a remote address and a dnspython lookup at the system's nameservers), tests/unit/_hosts.py (one helper that answers both lookups), server/identity/api/models.py (the field's comment, with the regenerated docs/reference/operations/namespace.md). While the gateway is required, the gateway path gains only the refusals of a URL whose parsers disagree or that carries a user name or password.

Compatibility, rollout and rollback

  • Wire: namespace.register refuses a non-https classify_endpoint with 422 while the gateway is not required (unless its host is listed in LOOM_MEMORY_CLASSIFY_PRIVATE_HOSTS). It also refuses, on the gateway path too, a URL carrying a user name or password or a control, whitespace or non-printable character, or one whose host httpx and urlsplit read apart (an over-long URL, a fullwidth host) or that is not a bare name or address literal (a zone id, a percent-encoded name); and, while the gateway is not required but LOOM_INFERENCE_GATEWAY_HOSTS is set, a URL at a listed gateway host that is not https at the default port (before, http://gateway.example:8080/c was accepted and called; listing the host as private does not change that). A stored http endpoint on a host not listed is no longer called (the config read drops it and logs once; the write keeps the caller's type), and an https endpoint whose host resolves inward is not posted to (degraded notes endpoint host refused). degraded for a failed classifier carries the exception's type, not its text.
  • Settings: LOOM_MEMORY_CLASSIFY_PRIVATE_HOSTS, LOOM_MEMORY_WEBHOOK_PRIVATE_HOSTS and LOOM_INFERENCE_GATEWAY_HOSTS now refuse at load an entry that is not a bare hostname or IP literal (before, the private lists took any string, and a gateway entry IDNA could not encode was dropped). LOOM_INFERENCE_GATEWAY_HOSTS now accepts an entry with _.
  • Name resolution: a host a classifier, a memory or task webhook, a tracker source or the repository-job egress proxy names, and an operator did not allowlist, is looked up from resolv.conf alone: not /etc/hosts or nsswitch, with no search domains (a single-label name is now refused), and A before AAAA.
  • Operator steps: a deployment that runs its classifier beside Loom on a private address lists that host in LOOM_MEMORY_CLASSIFY_PRIVATE_HOSTS. A webhook receiver or tracker host that only /etc/hosts or a search domain names is either listed in its private-host setting or given its full DNS name; a git remote or submodule the egress proxy fetches is given its full DNS name.
  • Rollout: during a rolling upgrade, N-1 replicas still call a stored http classifier endpoint or one whose host resolves to a private address, until they are replaced; N refuses both from its first request.
  • Rollback: revert; no stored data changes.

Tests

pytest tests/unit/test_classify_endpoint_off_gateway.py tests/unit/test_call_site_knobs.py tests/unit/test_llm_gateway.py: off the gateway an http, ftp or loopback-port URL is refused at registration and https is accepted; an operator-listed private host may use http; https://127.0.0.1:8123/, the metadata address, a private address, [::1] and [::ffff:127.0.0.1] are never posted to; a call goes to the vetted address with Host and SNI set, no redirect followed and no identity headers, and a failure is noted as ConnectionRefusedError without its text; a public-looking name that resolves to a private address is never posted to; a listed private host is reached by name over http with no Host or SNI override; a lookup that never answers ends at the classifier's deadline with nothing of it left running, and so does an answer that trickles (both noted TimeoutError), and an answer over 64 KiB is not read whole; registration's refusal of plain http names no gateway; a URL with no host or an invalid port is refused at registration, and a padded one is stored stripped; a classifier at a listed gateway host goes through the model client though the gateway is not required, and http://gateway.example:8080/c and another https port of that host are refused there even with the host listed as private; a URL with a user name, a password or both is refused, on the gateway path too; a tab in the host, a control character in the fragment, a 70,000-character fragment and a fullwidth spelling of a listed gateway host are each refused at registration and never posted; a private host listed as xn--bcher-kva.local matches bücher.local and the reverse; a zone id, a percent-encoded host and a fullwidth host at the default port are refused and never posted; a JSON null answer is noted malformed payload; each of the three host-list settings refuses at load an entry with a port, brackets, a wildcard, a zone, a path or a name IDNA cannot encode, and the private lists load names, IDNs, a name with _ and address literals in their ASCII spelling; test_a_private_host_with_an_underscore_is_accepted: http://my_classifier:8080/c listed as private is accepted and posted to by name; https://gateway.example:443/c is accepted at a listed gateway host, required or not, and classify() sends it to the model client; two namespaces bursting at names that never answer all end at the deadline with no lookup left running and none in a thread, while a third namespace's classifier answers; a write cancelled from outside mid-lookup leaves no lookup running, and the namespace's next classification runs; against a real dnspython resolver and a nameserver on a local UDP socket: an A answer with no AAAA (NOERROR, no data) resolves and an NXDOMAIN is refused; a name that is never answered ends at the classifier's deadline with no thread used, and dnspython's own lifetime, when shorter, ends it first (endpoint host refused); the resolver is read again when resolv.conf changes and fails closed without it; the fake resolver answers a missing record kind with an empty answer, as dnspython does; the in-loop lookup reads A and AAAA, keeps one kind's answer when the other's query times out, and fails only when both do; the unit network guard refuses and records a dnspython lookup at the system's nameserver, localhost included; a listed private host is looked up by the system resolver; an IDN host is posted with its IDNA form as Host; a refused host is logged once per namespace; a 302 is not followed through real httpx handling. tests/unit/test_task_webhook_deliver.py: pinned_target returns the UTS 46 IDNA form of a Unicode host as Host and SNI (faß.example as xn--fa-hia.example), refuses a name IDNA cannot encode, and resolves and matches the allowlist by the ASCII name in either spelling. test_model_call_customer.py, test_model_call_refusals.py and test_degradations.py drove a classifier at a host off the gateway's list through the model client; they now list that host as a gateway host (or drop the off-list call, which the off-gateway file covers), and pass.

AI assistance in the code (leave one; writing this description with AI is fine):

  • AI-generated (an agent wrote most of the diff): Claude Code. I traced who can set the endpoint and what the call reached, and checked the pinned connection against the webhook sender it reuses.

  • I can explain every line of this diff and how it interacts with the rest of Loom.

Checklist

  • make format-check, make lint, make typecheck and make test-unit pass; the integration suite passes if server behaviour changed.
  • Generated files are regenerated in this PR, not by hand: the SDK op tables, docs/reference/configuration.md and the docs/reference/ tables (python scripts/codegen/docs_reference.py), the reach manifest, schemas/schema.sql (make schema-dump) and the Codex plugin copies (python3 scripts/codegen/agent_plugin_sync.py).
  • A new migration is additive and numbered after the latest on main; no merged migration is edited.
  • A behaviour change to any file a plugin ships (hooks/, lib/, bin/, skills/, .mcp.json, the Codex plugin-defaults.json) bumps both plugin manifests' version, and no other open PR uses that version.
  • The frontend builds (npm --prefix frontend run build) and its tests pass, if frontend/ changed.
  • Docs under docs/ describe the system as it now is, and this description names any operator steps and wire changes.
  • Repository text has no dates, people, host names, internal namespaces, ticket or decision numbers; the history goes in this description (tests/unit/test_public_copy.py).
  • Commits are signed off (git commit -s), as CONTRIBUTING.md asks.

🤖 Generated with Claude Code

zlareb1 and others added 9 commits November 7, 2026 06:37
…https at a public address it vetted

memory.set(classify=true) posted the value to whatever URL a namespace admin stored, including loopback, private and link-local addresses, and returned the failure's text in degraded. Off the gateway the endpoint must now be https (namespace.register refuses another scheme), the call goes to the public address the host was vetted to with no redirect and no gateway identity headers, and degraded names only the failure's kind. LOOM_MEMORY_CLASSIFY_PRIVATE_HOSTS names the operator's exceptions.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
…endpoint is refused, and test a name that resolves inward

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
… most 64 KiB of it

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
…d parse its URL as the call does

httpx decodes a compressed body in one step before any length check, so an answer is read raw with Accept-Encoding: identity and a compressed one is refused unread. classify_refusal reads the host with urlsplit, as pinned_target does, so registration and the call agree on which host a URL names.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
…way is not required, and registration stores and checks what the call reads

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
…t as its IDNA form, and log a refused host once per namespace

- classify_refusal refuses a URL carrying a user name or password off the
  gateway: the call drops it and namespace.get would hand it back.
- A URL at a listed gateway host is held to https at the default port also
  while the gateway is not required; a test pins it and the docs say so.
- webhooks.pinned_target sends the IDNA form of the host as Host and SNI:
  httpx encodes header values as ASCII, so a Unicode name failed every call.
- classify takes the org and namespace, and the refused-host warning is
  logged once per (org, namespace).
- Tests that drove a classifier off the gateway's hosts through the model
  client now list that host as a gateway host.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
…ateway path, and spell hosts by UTS 46

- classify_refusal refuses a URL with a control, whitespace or non-printable
  character, one httpx reads no host in, and one whose urlsplit host, spelled
  by catalog.ascii_host, is not the host httpx reads: a tab, a control
  character, an over-long URL or a fullwidth name read as off the gateway to
  the check and reached the gateway's host at the call.
- A URL carrying a user name or password is refused on every path.
- catalog.ascii_host spells a host as the lists do (UTS 46 IDNA via the idna
  package, lower case, no trailing dot); the gateway and both private host
  lists spell their entries with it, and pinned_target resolves, matches and
  sends (Host, SNI) that ASCII name.
- _post_vetted passes both schemes: classify_refusal already refused http for
  an unlisted host.
- idna is a declared dependency.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
… bare name or address, and keep a null answer apart from a refused host

- _post_vetted raises a private _HostRefused for a refused host, so a
  classifier answering JSON null is noted as a malformed payload.
- _one_host returns the parsed parts with the one host, and also refuses a
  host that is not a bare name or address literal (a zone id, a
  percent-encoded name); classify_refusal reads the gateway rule from that
  host without parsing again.
- catalog.host_list_refusal checks LOOM_INFERENCE_GATEWAY_HOSTS and both
  private host lists at load: an entry with a port, brackets, a scheme, a
  path, a wildcard, a zone or a name IDNA cannot encode is refused, never
  dropped. The private-host settings say "hostnames or IP literals, no
  port"; the reference, schema and example are regenerated.
- security.md states the refusals on every path in their own sentence.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
A Compose service name carries one, and httpx and urlsplit read it alike, so
refusing it broke private classifier and webhook hosts for no gain. `%`, a
port, brackets, a wildcard, a zone, a scheme and a path stay refused.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
@zlareb1
zlareb1 force-pushed the sec/classify-endpoint-public-only branch from 0a8be9b to a961356 Compare November 7, 2026 06:44
zlareb1 and others added 8 commits November 7, 2026 07:10
…rule in the security page

- host_list_refusal's message also names a zone, percent-encoding and a name
  IDNA cannot encode.
- security.md says namespace.register refuses a host that is not a bare name
  or address literal (a zone id, a percent-encoded name).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
…y_endpoint may be where it is declared

urlsplit reads an explicit :443 as 443 while httpx, which sends the call,
reads it as the default port, so https://gateway.example:443/c was refused on
the gateway path.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
…he gateway path once, and describe both paths

- Off-gateway lookups run on a four-thread pool of the classifier's
  (hosts.vet_host and webhooks.pinned_target take the pool): a burst at a
  name that never answers fills it, never asyncio's shared one.
- _gateway_branch decides from the normalised host whether a classifier is
  a model call; classify_refusal and via_gateway both read it.
- The classify module, write path, private-hosts setting and the
  namespaces page describe the gateway and the vetted paths; the field's
  comment feeds the regenerated namespace operation page.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
…ssifier from one decision

- A namespace holds at most two of the classifier's four lookup threads,
  pending or running, until each lookup's thread is done; a call past that
  is refused at once and noted as endpoint busy, so one namespace whose
  names never answer cannot take every thread from the others.
- classify_route returns (refusal, via gateway) from the one normalised host;
  classify reads both from that call and classify_refusal is its first half.
- vet_host runs the lookup with run_in_executor on the given pool, and its
  docstring names the classifier among the gate's users.
- security.md states the cross-tenant bound; the namespaces page says a
  gateway refusal of the call's identity fails the write.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
…kup holds a thread past its call

A per-namespace share of a lookup pool is beaten by a principal who creates
more namespaces. The lookup now runs on the event loop with dnspython's async
resolver (A and AAAA, from the system's resolv.conf), so the call's deadline
or a cancelled write ends it and nothing of it outlives the call. The
results are vetted as vet_host vets any other; a host
LOOM_MEMORY_CLASSIFY_PRIVATE_HOSTS lists is still looked up by getaddrinfo,
/etc/hosts included. The pool, the per-namespace counter and the busy
refusal are gone, and dnspython is a declared dependency.

The namespaces page, the classify_endpoint field comment and the generated
namespace operation page say a URL at a listed gateway host must be https at
the default port even while the gateway is not required.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
…v.conf when it changes

- vet_host looks every host not on an operator's allowlist up with the
  in-loop resolver, so webhooks, tracker sources and the egress proxy no
  longer leave a lookup thread past their deadline either; the in_loop flag
  is gone. An allowlisted host keeps getaddrinfo.
- The in-loop resolver is rebuilt when /etc/resolv.conf's modification time
  changes, and fails closed without the file; the unreachable CancelledError
  branch is dropped.
- dnspython is locked at 2.8.0 (ISC).
- Tests: a real dnspython resolver against a local UDP nameserver (an A
  answer with no AAAA, an NXDOMAIN, a name never answered cut by the
  deadline with no thread, and the resolver's own shorter lifetime); the fake
  resolver answers a missing record kind with an empty answer; resolv.conf
  is read again when it changes. The unit network guard also refuses a
  datagram to a remote address and a dnspython lookup at the system's
  nameservers; tests that stub a lookup stub both through tests/unit/_hosts.py.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
…d close the unit guard's localhost gap

- The fake resolver answers one name's A and times out on its AAAA: the A
  address comes back and vet_host accepts it.
- The unit network guard refuses every dnspython lookup at the system's
  nameserver, localhost included (dnspython reads no /etc/hosts), and a test
  shows it refuses and records one.
- The code-index operations page says how the egress proxy resolves a name;
  a webhooks docstring is reflowed and two blank lines left by an edit go.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
…'s setup

- The never-answering lookup test asserts the write is noted TimeoutError.
- The guard's comment is reflowed, the real functions are captured
  together, and the socket and dnspython patches sit together.
- vet_host's signature is back on one line.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
@zlareb1
zlareb1 merged commit f69c318 into main Nov 7, 2026
36 of 38 checks passed
@zlareb1
zlareb1 deleted the sec/classify-endpoint-public-only branch November 7, 2026 10:31
@zlareb1 zlareb1 mentioned this pull request Nov 12, 2026
3 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant