Closed jtmst closed 2 months ago
Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
@colarusso can you confirm we can set a referer restriction for SPOT such that it's fine to include the API key here in the source? It's what we did before...
We actually don't have a referrer restriction in place. All the live implementations aside from courtformsonline keep it hidden. We got away with it in the source there just because. :/ Also, the demo keys that are public are throttled.
We actually don't have a referrer restriction in place. All the live implementations aside from courtformsonline keep it hidden. We got away with it in the source there just because. :/ Also, the demo keys that are public are throttled.
There isnt a great way to hide these without putting some kind of server in place since its all static output. Even if its tucked in a ENV file its still visible to anyone looking at the request from their browser.
Agreed. Another consequence of this is the site cobbled together during the pandemic.
Agreed. Another consequence of this is the site cobbled together during the pandemic.
@colarusso how feasible is it to add referer restrictions to the API keys for SPOT?
Move token value to inline, env not loading for client components after build