anthropics / anthropics/claude-code

[Bug] Claude posts external API actions without explicit confirmation despite CLAUDE.md restrictions

Đang mở
#91,007 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
area:model area:permissions bug platform:macos
Ngôn ngữ chính
Python
Star
145k
Fork
23.1k
Chỉ số merge pull request
Chỉ số pull request đang chờ

Mô tả

**Bug Description**
Title: Claude posted GitHub comments on my behalf without approval

Description:

Claude was helping me handle code review comments on a PR. At the end of one turn it asked "Want me to apply the two fixes and post the replies?". My next message only answered the technical questions about which review comments to fix. I never answered the question about posting.

Claude took that as a yes and posted five review replies on the PR under my GitHub account. I had to delete all five manually.

This is worse because my global CLAUDE.md explicitly says to always stop and ask before making API calls to external services, even in permissive permission modes. Writing comments in my name is exactly the kind of action that needs explicit confirmation.

Expected: when an offer to do something outward-facing goes unanswered, show the drafts and ask again. Only post after a clear yes for that specific action.

Happened on Claude Code with the claude-fable-5 model, 2026-08-31

**Environment Info**
- Platform: darwin
- Terminal: iTerm.app
- Version: 2.1.251
- Feedback ID: 165259f1-9c1f-40b3-9357-4c0720aa08f1

**Errors**
```json
[]
```

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

No source file or test is named in the report. Start with the Claude Code path that handles proposed GitHub comments and the global CLAUDE.md restriction; reproduce the unanswered-offer flow, then verify that drafts are shown and posting occurs only after a clear confirmation for that action.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
github
Lĩnh vực
api, authorization
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
45/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.