Skip to content
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

GCP Detector fails to detect encoded JSON #2864

Open
rgmz opened this issue May 18, 2024 · 0 comments · May be fixed by #2865
Open

GCP Detector fails to detect encoded JSON #2864

rgmz opened this issue May 18, 2024 · 0 comments · May be fixed by #2865
Labels

Comments

@rgmz
Copy link
Contributor

rgmz commented May 18, 2024

Please review the Community Note before submitting

TruffleHog Version

Latest

Expected Behavior

Encoded JSON should be decoded.

Actual Behavior

The detector silently fails to unmarshal the JSON.

https://go.dev/play/p/gJ5rz5XR2t_6

Works

{"hello": "world"}

Doesn't Work

{\"hello\": \"world\"}
@rgmz rgmz added the bug label May 18, 2024
@rgmz rgmz linked a pull request May 18, 2024 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging a pull request may close this issue.

1 participant