Vapid Private Key
Description
The source code repository contains sensitive information: VAPID Private Key
Detection Strategy
• Matches VAPID Private Key patterns in source code and configuration files
Vulnerable code example
VAPID_PUBLIC_KEY=BHvN8rLJEGiZouRRfc52kGMu9xEf9tOuOD49HLfqdHpS7HLRrecN9JWpjqye8DFtwaQmLhzAfCie6Vvcx49CkSg
VAPID_PRIVATE_KEY=m7uhkhyTTfeJyvkuid_TRzimqqsiaXXpbmy7H8zp2YY
export WEBPUSH_VAPID_PRIVATE_KEY="ZchkymSmgGMmwDHsdHXKd6ykpUnkS_eNw6y1-lDkFb4="
webpush.setVapidDetails(
'mailto:admin@example.com',
'BNNt804qBwfPqZQHYHyJjCyl2SzQVGRwyUxky1BgiLJzwetJ8wZ43duNXzqY__CtKVeg7qaJ_gm1DRzdIyzyb10',
'eU6bMESIhobTxKCCMkJkZm1ZNv_qv1BMWnMeCJSxlQg'
);...Free trial
Search for vulnerabilities in your apps for free with Fluid Attacks' automated security testing! Start your 21-day free trial and discover the benefits of the Essential plan. If you prefer the Advanced plan, which includes the expertise of Fluid Attacks' pentesting team, fill out this contact form.