Skip to content

[Task]: Regex for claude Api keys #956

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
parthasarathyy-m opened this issue Feb 6, 2025 · 4 comments
Closed

[Task]: Regex for claude Api keys #956

parthasarathyy-m opened this issue Feb 6, 2025 · 4 comments

Comments

@parthasarathyy-m
Copy link

parthasarathyy-m commented Feb 6, 2025

Description

This following task is about adding the regex pattern for Anthropic api keys .

Additional Context

The issue is that when i checked with a ts file with a hardcoded claude Api key it failed to redact and the key was directly passed to the model.

@aponcedeleonch
Copy link
Contributor

aponcedeleonch commented Feb 6, 2025

We need to add Claude API key pattern to our list of patterns

@yrobla
Copy link
Contributor

yrobla commented Feb 6, 2025

i added on #937

@jhrozek
Copy link
Contributor

jhrozek commented Feb 7, 2025

@yrobla should we close this bug then?

@yrobla
Copy link
Contributor

yrobla commented Feb 7, 2025

Yes as this landed as part of another pr

@yrobla yrobla closed this as completed Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants