According to the documentation, the secret key is used for session signing and it must be kept a secret. However, I’m unable to find any documentation about how the key is actually used. Does anyone know how to exploit the leaked key?
This key is effectively deprecated but for the time being should still be emitted by SDKs as some older Sentry versions required it in most situations. The secret key will be phased out entirely in future versions of Sentry.
So, it seems that it is not an issue to disclose that key. Anyway, you may want to google about it because I think there is/was a similar issue related to having access to source maps, but it wasn’t exactly the same issue as yours.