Skip to content

chore(specs): security scan findings - #608

Merged
fclairamb merged 5 commits into
mainfrom
security/scan-specs-2026-10-19
Oct 19, 2026
Merged

fclairamb merged 5 commits into
mainfrom
security/scan-specs-2026-10-19

Conversation

@fclairamb

Copy link
Copy Markdown
Owner

Specs for the open findings of the daily security scan. Specs only, no code change.

Specs

Spec Severity Finding Summary
specs/todos/2026-10-19-01-a2a-response-size-cap.md medium J1 (2026-10-19) The A2A client (Agent Card fetch, SendMessage, GetTask, through the a2a-go SDK) reads success response bodies with no size cap. Only the 30 s timeout bounds them. A member pointing an A2A integration at their own server can exhaust the server's memory. Fix: a capped reader in a2aStatusTransport.

Scan of 2026-10-19 covered:

It also verified the plugin-schema $ref fix of #593 (I1). No other new finding.

🤖 Generated with Claude Code

@codecov

codecov Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 93.75000% with 1 line in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (main@3295a20). Learn more about missing BASE report.

Files with missing lines Patch % Lines
server/internal/notifications/a2a.go 93.75% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #608   +/-   ##
=======================================
  Coverage        ?   83.32%           
=======================================
  Files           ?     1238           
  Lines           ?   127041           
  Branches        ?        0           
=======================================
  Hits            ?   105860           
  Misses          ?    21172           
  Partials        ?        9           
Files with missing lines Coverage Δ
server/internal/notifications/a2a.go 86.24% <93.75%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

fclairamb and others added 3 commits October 19, 2026 09:36
A user-chosen A2A agent could stream an endless 200 body to the Agent
Card fetch, SendMessage or GetTask: the SDK reads it whole. Every
successful response through a2aHTTPClient is now capped; going past
the cap fails with ErrA2AResponseTooLarge (permanent, never EOF), and
resolve-card / test report "a2a agent response exceeds 1 MiB".

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@fclairamb
fclairamb enabled auto-merge (squash) October 19, 2026 10:43
@fclairamb
fclairamb merged commit a0cbe75 into main Oct 19, 2026
33 checks passed
@fclairamb
fclairamb deleted the security/scan-specs-2026-10-19 branch October 19, 2026 11:06
fclairamb added a commit that referenced this pull request Oct 20, 2026
Specs for the open findings of the daily security scan. Specs only, no
code change.

## Specs

| Spec | Severity | Finding | Summary |
|---|---|---|---|
| `specs/todos/2026-10-20-01-sender-response-body-caps.md` | medium | K1
(2026-10-20) | The Google Chat, Gotify, Matrix, Mattermost, MS Teams,
ntfy, Slack webhook and Zulip senders, and the RabbitMQ checker, read
response bodies from a host the user chooses with no size cap. Only the
timeout bounds them. A member pointing one at their own server can
exhaust the server's memory, through the integration test endpoint, the
notification jobs or the check workers. Same class as J1 (A2A), fixed in
#608. Fix: one capped-read helper. |

Scan of 2026-10-20 covered:
- the grouped-check status-page fix (#615): the sibling lookups stay
within the org;
- the rate-limit borrowing (#609): the debt is bounded and cannot be
triggered by a tenant or an agent;
- the dash0 chart changes and the dependency bumps.

It also verified the A2A response cap of #608 (J1). No other new
finding.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant