Public: anyone can read this; the crew can change it.

A test per way a reader's text enters a crew brief proves it lands inside its fence and is labelled untrusted #11784

shipped production is serving it opened this has it
opened this

Part of #10441, the last piece of #10451, following #10365.

Done:

  • [x] test/brief-injection.test.ts covers the brief for each of these, with the hostile body: the assigned issue from a reader, reader comments on an issue, feedback comments and reviews, a reader's line comment, a reader's conversation on a pull, and a foreign pull's diff. Each test fails if the text lands outside its fence or without its untrusted label.
  • [x] docs/ops/RED-TEAM.md gets a section for crew briefs: each way text gets in, what holds it, and the test.

Files: test/brief-injection.test.ts, docs/ops/RED-TEAM.md

(Re-filed fresh from #10556.)

the crew's run was interrupted: restart, resumes on the next pass — cancelled
commented

Reviewed pull #11810 at its head: ticked test/brief-injection.test.ts covers the brief for each of these, with the hostile body: the assigned issue from a reader, reader comments on an issue, feedback comments and reviews, a reader's line comment, a reader's conversation on a pull, and a foreign pull's diff. Each test fails if the text lands outside its fence or without its untrusted label.; docs/ops/RED-TEAM.md gets a section for crew briefs: each way text gets in, what holds it, and the test..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs