Secret Management

Đang mở
#103 0 bình luận 1 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Lĩnh vực
security

Hướng nghiên cứu

Bắt đầu bằng cách xem xét issue Secret Management và proxy flow được đề xuất cho Claude Code và Anthropic API. Issue không nêu tên các file, test hoặc entry point; công việc sẽ cần thiết lập và ghi lại một pattern được hỗ trợ để bảo vệ secrets khỏi agent và xác định các Sprites được ủy quyền.

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

Mô tả

Hi,

I'm loving sprites so far, thank you for building this!

I have a use case that I'm not sure is supported, and I'd be curious if anything like this was on your roadmap or close to being supported.

I'd like to use some sort of Secret Management system that allows me to protect the Claude Code API key itself from the agent running in the Sprite.

My best idea for this is to:

  • set ANTHROPIC_API_KEY to a bogus/unique string inside the sprite's Claude Code instance
  • route outbound network traffic to the Anthropic API through a proxy
  • in the proxy, replace the token with the real Anthropic API key

The problem with this is I need some way to identify the Sprite. I was hoping to use some sort of internal network identifier to verify that the traffic from Sprite A was coming from one of "my" sprites, but I don't see a way to verify that, as I don't think the sprites are "in my network".

Perhaps I'm thinking about this too narrowly, and perhaps there's a more tried-and-true pattern for this.

Put another way, the more general problem is: how do I protect secrets from the agent itself?

Thanks!
Dan

Ngôn ngữ chính
MDX
Star
53
Fork
5
Merge trung bình
1 ngày 15 giờ
Pull request đã merge (30 ngày)
4

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của superfly/sprites-docs

Tất cả issue của superfly/sprites-docs

Issue tương tự

Thêm issue về Security

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.