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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixed
The agents image can actually render the PDFs its routes offer. Its
Dockerfile never installed WeasyPrint's native stack, so on every
deployment the legacy report.pdf route answered 500 ("cannot load
library 'libgobject-2.0-0'") and the case-report-export try_pdf leg
could never produce a PDF — the API-side fallback carried the journey.
The image now ships the same four Pango/Cairo libraries the API image
always has; verified live with a warm export (17,715-byte PDF) and a
cold one after an agents restart (served from persisted artifacts).
Security
A vendor redirect can no longer carry a live action past the SSRF guard
(GHSA-hfgq-46wx-m6g5, high; reported by @Echore61). The dispatcher
validates a caller-supplied base_url before dispatch, but validation has
single-URL scope — and the osctrl and FleetDM clients created their HTTP
session with follow_redirects=True, so a public host answering 302 could
send the request to cloud metadata or an internal service the guard never
saw. Both clients now refuse redirects outright, the same rule every other
caller-URL outbound path already follows; a 3xx surfaces as an honest
vendor error. Pinned by tests through a real redirecting transport that
assert no second hop is ever made (both fail on the pre-fix tree).
Fixed
Copilot projects alert and case evidence into allowlisted summaries instead of
forwarding raw OCSF payloads to the model. Bounded tool messages retain their
coverage metadata, and citation sources contain only the retained evidence.
Copilot reports LLM input-contract rejection separately from a failed model
call, without copying rejected input into the reply or diagnostic log. Prior
template replies are excluded from model history so an old failure containing
raw evidence cannot block subsequent questions.
Security
aisoc-ai-sdk MASKED mode now removes the whole PEM private key. The
pattern matched only the BEGIN header line, so the key body was sent in
clear behind [redacted:private_key]. It now uses the same block pattern as
the agents' privacy redactor (#1869): any key type, real or JSON-escaped
newlines, and blocks cut off before their END line.