ggshield
ggshield copied to clipboard
Detect secrets inside vuejs `ref()`
Is your feature request related to a problem? Please describe.
Scanning a vuejs repo for secrets doesn't detect, when a secret is written inside the ref()
function.
The following gets detected:
const apiKey = 'THE-API-KEY'
But this doesn't:
const apiKey = ref('THE-API-KEY')
Describe the solution you'd like
Also detect those secrets, that are stored within ref('…')
Describe alternatives you've considered no alternatives
Additional context In case it's relevant, which API keys were used, this behaviour was detected using API-Keys from Deta.
Thanks for your report. We are going to investigate this.