anthropics / anthropics/claude-code

Cyber safeguard false-positive persists for entire session until reload, blocking all subsequent messages

Ouverte
#93,303 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
api:anthropic area:model area:security bug duplicate platform:windows
Langage dominant
Python
Étoiles
145k
Forks
23.1k
Métriques de merge des PR
Métriques de PR en attente

Description

**Describe the bug**

A message during a regular (non-security-related) coding session triggered the automated cyber-safeguard filter:

```
API Error: Sonnet 5's safeguards flagged this message. Our intentionally broad safeguards allow us to deliver more capabilities faster, but can sometimes flag legitimate cybersecurity work. Apply to the Cyber Verification Program to reduce these interruptions. Learn more: https://support.claude.com/en/articles/14604842-real-time-cyber-safeguards-on-claude

Details: `[cyber]`
```

This appears to have been a false positive — the work in question was routine bug fixing in a Groovy/Spring Boot backend project, with no security testing, exploit development, or pentesting involved.

**The actual bug:** once this safeguard fires once, it does not just block the single offending message — it repeats on *every subsequent message* sent in that same session, including completely unrelated, benign messages (e.g. plain conversational follow-ups). The only way to recover is a full session reload/restart; there's no in-session way to clear the flagged state.

**Steps to reproduce**

1. Send a message in a Claude Code session that trips the `[cyber]` safeguard (exact trigger unclear/nondeterministic).
2. Observe the API error.
3. Send any other message, including an unrelated benign one.
4. Observe the same `[cyber]` API error recurs.
5. Repeat for all further messages until the session is fully reloaded.

**Expected behavior**

The safeguard should evaluate each message independently. A flag on one message should not cause the filter to persistently block all future messages in the session.

**Environment**

- Claude Code CLI
- Model: Sonnet 5 (claude-sonnet-5)
- Platform: Windows 11
- Date observed: 2026-09-10

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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

No implementation file, test, or entry point is identified. Start by reproducing the five-step sequence in a Claude Code CLI session and compare the first safeguard error with later benign messages. Done means messages are evaluated independently after one flag, without requiring a session reload.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
groovy, spring-boot
Domaine
cli, security
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
Active
Clarté
À clarifier
Accessibilité débutants
42/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.