Skip to content
Leaked secrets Disclosed report Beginner

Secret_key in GitHub

A secret key was committed to a public GitHub repository, and the reporter believes it should be private. The reporter does not know what an attacker could do with it.

fr0gz0x Follow

Originally disclosed on HackerOne

Informational View original
  • Disclosed after 23 hours

hello I have found secret_key in GitHub is public and noticed something this key have comment # Make this unique, and don't share it with anybody. and it's public in GitHub also I noticed this file has coding to do the payment.db I think information like this must be private

SECRET_KEY = "qov6(cp%)bot+8c%#4@4or(t@_$y5#d8k9u1^+pknz%lms0x" Link : https://github.com/WeblateOrg/website/blob/bc65d95a80d90ed95a8e59d0fa5dc14d7c060b3a/weblate_web/settings.py

Impact

i don't know what attacker can do but i know this info must be private

Attachments

Screenshot_from_2020-07-17_12-34-12.png
Screenshot_from_2020-07-17_12-34-12.png From the original on HackerOne
Screenshot_from_2020-07-17_12-33-47.png
Screenshot_from_2020-07-17_12-33-47.png

The original report as published on HackerOne, by fr0gz0x. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the secret key was hard-coded in a settings file that was committed to a public repository.

Impact

The reporter does not know what an attacker could do, but states that the information must be private.

What the attacker needed

None

The fix

The reporter suggests the secret key should be private rather than public.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A secret key is like a password a website uses internally. The reporter found one in a public code repository and said it should be private, but did not show how it could be abused.

What is Leaked secrets?

Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.

More from Weblate

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Leaked secrets and credentials

The lesson behind this report.

Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.