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

Security Issue: Internal API URL and Token exposed in client code. #79

Open
racerxdl opened this issue Jul 16, 2024 · 1 comment
Open

Comments

@racerxdl
Copy link

Currently the env APP_URL is getting exposed directly on client side because webpack adds it to the bundle. This is an issue because it exposed information about internal infrastructure and even the token for acessing the API directly.

@racerxdl
Copy link
Author

PS: This can be solved by removing the _PUBLIC prefix on the env variables (since they only need to be at backend side)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant