logo

Database

Description

The source code repository contains sensitive information such as usernames, passwords, email addresses and IP addresses, among others. Alternatively, while values may be password=123 o aws.secret_key=test, they reveal the bad practice of storing sensitive information in the repository with no encryption, and sooner or later they can be replaced for real sensitive values.

Impact

Get sensitive information or private secrets.

Recommendation

- Delete all hardcoded sensitive information. - Change all affected access credentials. - Remove sensitive information from git logs. - Load sensitive data from safe sources such as, key vault services, configuration files properly encrypted or administrative environment variables.

Threat

Anonymous attacker with access to the source-code from the Internet.

Expected Remediation Time

⏱️ 30 minutes.

Details

Why

When secret credentials are compromised, we always generate a vulnerability report either the credentials are mocks, or are functional only in specific scenarios such as local environments. The risk of this scenario is usually considered in the severity tab. For local environment credentials the risk is low but not zero.

Hence to solve this vulnerability we recommend to remove the credentials from the source code, change the compromised credentials and ideally remove the credentials from the git log. In some cases the last recommendation cannot be applied to avoid traceability issues. If that's the case, in addition to removing the credentials from the code, we require a customer confirmation that the credentials were changed to close the vulnerability.

Rules

Yaml Env Sensitive Value ExposedTypescript Kony Hardcoded Encryption KeyJava Use Of Hardcoded PasswordProperties Exposed Credentials And TokensJavascript Hardcoded Key Material UsedJson Connection String With Password ExposedSwift Hardcoded Cryptographic KeyPhp Hardcoded Cryptographic KeyJson Exposed Api Key In ValueJava Csrf Handler Hardcoded SecretElixir Hardcoded Cryptographic KeyRust Hardcoded Jwt SecretConfig Files Hardcoded Credentials In ConfigConfig Files Connection String With Password ExposedDocker Wget Password HardcodedTypescript Hardcoded Key Material UsedYaml Hardcoded Weak CredentialsDocker Env Sensitive Value ExposedPython Hardcoded Auth Header ValueJavascript Kony Hardcoded Encryption KeyJson Connection String Client Secret ExposedElixir Hardcoded Jwt SecretJson Exposed Password And Client IdsRuby Rails Master Key ExposedDatabricks TokenCustomer Io App Api KeyNeo4j PasswordMistral Api KeyXendit Production Secret KeyCloudflare User Api TokenShopify Api TokenGrafana TokenRecaptcha Secret KeyTwilio Api KeyOracle Jdbc PasswordJenkins Api TokenAzure Ai Language Api KeyRailway Account Api TokenDeepseek Api KeyResend Api KeyAzure Devops Personal Access TokenAlibaba Access Key IdE2b Api KeySsh Private KeyGcp Service Account KeySecuritytrails Api KeyBrowserstack Access KeyAtlassian Api TokenDynatrace Api TokenDwolla Secret KeyBrowserstack Hub Url Access KeyAzure Signalr Connection StringWeights And Biases Api KeyCircleci Personal Api TokenMonday Api TokenSquare Access TokenAlchemy Api TokenMixpanel Secret KeyTeamcity Access TokenSalesforce Refresh TokenMailgun Api TokenFastly Api TokenRedshift PasswordCoveo Api KeyAzure Ai Face Legacy Api KeyEndor Labs Api KeyMailchimp Api KeyInfluxdb Api TokenEtherscan Api KeyStripe Webhook Secret KeyJson Api KeySpotify Secret KeyRails Master Secret KeyDigitalocean Spaces Secret Access KeyMailjet Secret KeyFlutterwave Secret KeyJina Ai Api KeyCodeclimate Test Reporter TokenCoinbase Api KeyJumpcloud Api KeyPusher Shared SecretAlgolia Admin KeyElastic Api KeyBitfinex Secret KeyJumpcloud Legacy Api TokenAzure Ai Vision Legacy Api KeyTencent Access KeyAirtable PatKraken Private KeyDigitalocean Personal Access TokenJwt TokenRender Api KeyTrello Legacy Api TokenSendgrid Api KeyCodeclimate Repo TokenOkta Api TokenAzure Iot Hub Connection StringMinimax Api KeyPostmark Account Api TokenTwilio Api TokenCircleci Project Api TokenDeno Deploy Org Access TokenGroq Api KeyRabbitmq PasswordTableau Personal Access TokenDiscord Webhook UrlMidtrans Production Secret KeyRailway Project Api TokenDjango Secret KeyYandex Access TokenIntercom Api KeyZapier Webhook UrlKeycloak Shared SecretAzure Web Pubsub Connection StringAzure Ai Face Api KeyAsp Net Secret KeyRapidapi Api KeyPackagecloud TokenCohere Api KeyLaravel Secret KeyPaystack Live Secret KeyWebflow Api TokenCodeclimate Api TokenSlack TokenTelegram Api TokenPypi Upload TokenRingcentral Secret KeyOctopus Deploy Api KeySentry Api TokenAzure Ai Language Legacy Api KeyCensys Legacy Api TokenLaunchdarkly Api KeyBeamer Api KeyMercado Pago Access TokenAzure Relay Access KeyJfrog Access TokenHuggingface Access TokenIbm Api KeyGocardless Api TokenLlama Cloud Api KeyFreshdesk Api KeyDb2 Connection StringPipedrive Api TokenK3s TokenPagarme Test Api KeyVercel Api TokenConfluent Secret KeyCouchbase PasswordModelscope Api KeyAkamai Secret KeyAws Access KeySlack Webhook UrlPem Private KeyClerk Webhook Secret KeyAdafruit Api KeyAmazon Mws TokenNuget Api KeyXai Api KeyTwitter Api TokenCrates Io Api TokenGitlab Api TokenMaxmind License KeyInfura Api KeyDeno Deploy Personal Access TokenReplicate Api KeyStripe Secret KeyMariadb PasswordMandrill Api KeyContentful Personal Access TokenShodan Api KeySauce Labs Access KeyAzure Sas TokenBrave Search Api KeyDatadog Api KeyFly Io TokenPingdom Api TokenPercy TokenCustomer Io Track Api KeyPutty Private KeyAws Cognito Secret KeyLangfuse Api KeySourcegraph Legacy Api TokenMapbox Api TokenFigma Personal Access TokenMailgun Api KeyAzure Communication Services Connection StringLinkedin Oauth2 Secret KeyStripe Test Secret KeyBird Api KeyDocusign Secret KeyTencent Secret KeyMysql PasswordInfluxdb 3 Api TokenMidtrans Sandbox Secret KeyPubnub Api KeyCloudflare Private KeyZoho Crm Api KeyPerplexity Api KeyTwitter Access TokenNx Cloud Access TokenAzure Api KeyCoralogix Private KeyTravisci Access TokenPaystack Test Secret KeyPaypal Secret KeyStytch Secret KeyFrameio Api TokenBuildkite Api TokenGodaddy Secret KeyDroneci Access TokenFernet Secret KeyHoneycomb Ingest Api KeyDuo Auth Proxy Secret KeyLangchain Api KeyMongodb Connection StringCoveralls Personal Api TokenFirecrawl Api KeyOpenvpn PasswordPlanetscale Api TokenAiven Api KeyTwitch Secret KeyHashicorp TokenSumologic Access KeyDatabase Connection String Hardcoded PasswordYandex Api KeyComet Api KeyLinode Personal Access TokenAws Session TokenCensys Personal Access TokenLoggly Api TokenLinear Api TokenHubspot Api TokenNetlify Personal Access TokenAzure Ai Document Intelligence Legacy Api KeySplunk Hec TokenSonar Api TokenAzure Ai Speech Api KeyAws Secret Access KeyTerraform Cloud TokenMicrosoft Webhook UrlHume Ai Api KeyNpm Access TokenBraintree Api KeyWoocommerce Secret KeyHume Ai Secret KeyAzure Ai Translator Api KeyDockerhub Access TokenLob Api KeyPagarme Live Api KeyAlibaba Access Key SecretPulumi Access TokenSalesforce Consumer Access KeyFacebook Access TokenWireguard Private KeyAssemblyai Api KeyPinecone Api KeyUpstash Redis TokenWorkos Api KeyRubygems Api TokenLoggly Customer TokenDuffel Api TokenGrafana Api KeyAzure Ai Vision Api KeySnyk Api TokenSendinblue Api KeyWebex Access TokenNgrok TokenCursor Api KeyAzure Ai Document Intelligence Api KeyCloudinary Api KeyFtp PasswordGrafana Api TokenConfluence Data Center Personal Access TokenDify Api KeyDoppler TokenMurf Api KeyAnthropic Api KeyAzure Ai Speech Legacy Api KeyFireworks Ai Api KeyRetell Api KeyDeepai Api KeyOpenrouter Api KeyTwitter Secret KeyDetectify Api KeyPingidentity Secret KeyJfrog Api KeyAzure Ai Translator Legacy Api KeyProxmox Api TokenWise Personal Api TokenOvh Shared SecretDb2 PasswordGithub PatCloudflare Api KeyDuo Secret KeyAzure Event Hub Connection StringRazorpay Api KeyOpenai Api KeyWechat Secret KeyTrello Api TokenStability Ai Api KeyDeepgram Api KeyVonage Secret KeyCodecov Personal Access TokenZoom Secret KeySourcegraph Access TokenCloudflare Account Api TokenGodaddy Personal Access TokenDotnet Hardcoded PasswordButtercms Api TokenHarness Api KeyWiz Secret KeyDropbox Access TokenPlivo Api Token1password Service Account TokenGoogle Oauth2 Secret KeyOpsgenie Api KeyPubnub Access KeySupabase Api KeyScaleway Secret KeyDetectify Access KeyLdap PasswordCouchbase Connection StringNylas Api KeyVirustotal Api KeyCodacy Project TokenLogz Io Shipping TokenSnowflake PasswordSmb PasswordVultr Api KeyAzure Logic App Webhook UrlAlchemy Api KeyNotion Api TokenStackhawk Api KeyCloudflare Legacy Api TokenPostmark Api TokenHeroku Api KeySap Ai Core Secret KeyAmplitude Secret KeyNvidia Api KeySsh PasswordVisa PasswordCoveralls Config Repo TokenUpstash Redis Connection StringEquinix Secret KeyClarifai Api KeyGemfury TokenSendbird Access TokenPrefect Api KeyPostgresql Connection StringPagerduty Api TokenBrowserstack Yml Config Access KeyConfluent Api KeyNewrelic Api KeyNetlify Access TokenPortainer Api KeyPostman Api TokenElevenlabs Api KeyTwitter Api KeyRails Secret KeyNeo4j Connection StringAsana Personal Access TokenHoneycomb Management Api KeyPlaid Access TokenMessagebird Api KeySocket Api TokenOracle PasswordLine Channel Access TokenSurveymonkey Access TokenGcp Api KeySegment Api KeyLogz Io Api TokenTavily Api KeyCoralogix Api KeyCodacy Api TokenCartesia Api KeyOnelogin Secret KeyTypeform Api TokenNeon Api KeyRedis PasswordClojars TokenJira Data Center Personal Access TokenTailscale Api KeyJira TokenRollbar Api TokenCodecov Upload TokenSmtp PasswordShopify Shared SecretGitlab Personal Access TokenBitbucket PasswordKlaviyo Api KeyPosthog Api KeyZendesk Api TokenCoveralls Repo TokenN8n Plaintext Secret