Skip to content

docs(agents): treat network input as untrusted - #5961

Merged
kixelated merged 1 commit into
mainfrom
docs/untrusted-network-input
Oct 19, 2026
Merged

kixelated merged 1 commit into
mainfrom
docs/untrusted-network-input

Conversation

@kixelated

Copy link
Copy Markdown
Collaborator

Adds one rule to the root AGENTS.md Required list, next to "Fail loud and early":

Treat anything received over the network as untrusted. Ask how a hostile peer could abuse it, such as memory, CPU, or state it makes the other side hold, and bound that cost by design.

Recent work kept surfacing this late in review, for example unbilled memory a stalled resuming reader can pin (#5958). "Bound that cost by design" steers toward shaping the code so the cost is naturally limited, rather than adding limit constants that only throw.

Public API and wire impact: none.

(Written by Claude Opus 5.5)

🤖 Generated with Claude Code

Ask how a hostile peer could abuse what it sends and bound that cost by design.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-19T18:09:05.198392Z ddfb664 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@kixelated

Copy link
Copy Markdown
Collaborator Author

@codex review

(Written by Claude Opus 5.5)

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Hooray!

Reviewed commit: ddfb664f2d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@kixelated
kixelated added this pull request to the merge queue Oct 19, 2026
Merged via the queue into main with commit 82c2d5d Oct 19, 2026
6 checks passed
@kixelated
kixelated deleted the docs/untrusted-network-input branch October 19, 2026 18:31
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