Hi! Quick question, i’ve been looking at the data ...
# support
l
Hi! Quick question, i’ve been looking at the data storage documentation of RudderStack but it doesn’t mention it anywhere (https://www.rudderstack.com/docs/sources/event-streams/sdks/rudderstack-javascript-sdk/data-storage-cookies/#cookies). It does mention that all the cookies are encrypted, but are they any sensitive to a company using this considering that in the following example: https://github.com/rudderlabs/rudder-sdk-js/blob/643850ed410580dbb0e25de01a18e3fbd6390b69/src/utils/storage/storage.js The code specifies a default key which allows anyone to really decrypt the cookies. Should i bother changing the default key or is it whatever?
q
@helpful-country-71305 can you take a look at this?
k
Hey @lemon-advantage-97968, The Encryption is just there to obfuscate the data when in plain sight rather than securing it. CC @cool-lunch-88059
l
However, if an attacker was able to modify it in a potentially malicious way, could it have an impact on the 3rd party (rudderstack itself in this case) ?
I guess i'll have to take a look at that myself since that goes a bit beyond scope of developer docs..
c
It would not have an impact in terms of security exploit in RudderStack side, but it would affect the data that is persisted (e.g: for user identification) if the local storage values were to be changed to something else.
l
Makes sense, thanks!