Defensive sanitizer output appears to trigger repeated cyber_policy false positives in Agent mode
- Dominant language
- TypeScript
- Stars
- 193k
- Forks
- 42.4k
- PR merge metrics
- PR metrics pending
Description
Version: 1.135.0-insider (user setup)
Commit: 8a537d3a1d9377d08cc2d1745830103b18d84e79
Date: 2026-08-21T08:59:18Z
Electron: 42.8.1
ElectronBuildId: 14906494
Chromium: 148.0.7778.280
Node.js: 24.18.1
V8: 14.8.178.38-electron.0
@github/copilot: 1.0.81-0
@github/copilot-sdk: 1.0.11
OS: Windows_NT x64 10.0.26200
- Feature (e.g. agent/edit/ask mode): agent
- Selected model (e.g. GPT 4.1, Claude 3.7 Sonnet): GPT-5.6 Sol
The info below is by Copilot (designated agent54 for my tracking purposes):
Environment:
- GitHub Copilot Chat: 0.63.2026082103
- Remote: WSL/Linux
- Session: ea4a43d2-e52c-4bc9-9099-9d66a1b2122e
While using Agent mode to fix and test a defensive C++ memory-safety issue, a
tool returned a long compiler/sanitizer transcript. The transcript contained
ASan/UBSan terminology, assertions, stack traces, and failed test diagnostics,
but no exploit instructions or malicious request.
The preceding 307-item request succeeded. After one assistant update, one
read_file call, and its 20,000-character diagnostic result were appended, the
resulting 310-item request was rejected with HTTP 422:
code: cyber_policy
"This content was flagged for possible cybersecurity risk."
The effective user instruction was simply "continue". Clicking Try Again
replayed the same payload and failed repeatedly. The client made up to four
service calls per top-level attempt even though the payload was unchanged.
A later, explicitly framed request to investigate the false positive succeeded
with the same diagnostic history and a larger token count. This indicates a
policy false positive rather than a context-window failure.
Expected:
- Defensive sanitizer/compiler output should not be classified as harmful
cybersecurity content.
- Try Again should not repeatedly submit an unchanged policy-rejected payload.
- The UI should expose the cyber_policy code and request ID for diagnostics.
Request IDs:
- 83533b08-3fce-42ac-a323-a803d7204386
- 7ff880c5-dbe8-4468-821a-d3e8dd9f8039
- 91a697d2-780f-428a-8a22-523bb34e9c88
Logs:
Request ID: 83533b08-3fce-42ac-a323-a803d7204386
Server error: 422
```json
{"error":{"message":"This content was flagged for possible cybersecurity risk. If this seems wrong, try rephrasing your request. To get authorized for security work, join the Trusted Access for Cyber program: https://chatgpt.com/cyber","code":"cyber_policy"}}
```
Request ID: 7ff880c5-dbe8-4468-821a-d3e8dd9f8039
Server error: 422
```json
{"error":{"message":"This content was flagged for possible cybersecurity risk. If this seems wrong, try rephrasing your request. To get authorized for security work, join the Trusted Access for Cyber program: https://chatgpt.com/cyber","code":"cyber_policy"}}
```
Request ID: 91a697d2-780f-428a-8a22-523bb34e9c88
Server error: 422
```json
{"error":{"message":"This content was flagged for possible cybersecurity risk. If this seems wrong, try rephrasing your request. To get authorized for security work, join the Trusted Access for Cyber program: https://chatgpt.com/cyber","code":"cyber_policy"}}
```
For each incident, Agent mode automatically retried the unchanged request
three times before stopping.
Contributor guide
Assessment
This issue has not been assessed yet.