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

[bug] [explore-assistant-cloud-function] has_valid_signature Function Not Called in Cloud Functions Deployment #120

Open
mida-hub opened this issue Oct 18, 2024 · 0 comments

Comments

@mida-hub
Copy link

Overview

Hello,
I have encountered a security issue with the current implementation while deploying on Google Cloud Functions. It appears that the has_valid_signature function, intended to validate the incoming request signature, is not being called during execution in a Cloud Functions environment. As a result, anyone with knowledge of the endpoint URL can execute the function without providing a valid signature.

Details

  • Problem: Although the has_valid_signature function correctly validates requests when the code is run locally, it is bypassed in a Cloud Functions deployment.

  • Impact: This allows execution of the endpoint without the expected signature, thus bypassing the intended security.

  • Reference PR: PR #31.

  • Code References

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

1 participant