Secret scanning and auto reset Discord Token #135975
Replies: 4 comments 2 replies
-
|
Do you have push protection on? |
Beta Was this translation helpful? Give feedback.
-
|
No, but the push protection blocks the push (obviously). But does Push Protection reset the token ? |
Beta Was this translation helpful? Give feedback.
-
|
GitHub’s secret scanning prevents you from pushing Discord tokens, blocking this functionality. Instead, handle token detection locally on your bot and notify users directly without pushing tokens to GitHub. Alternatively, use a secure external service to log incidents, or consider removing the feature entirely for security reasons. |
Beta Was this translation helpful? Give feedback.
-
|
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Question
Body
Hello,
I am really invested about the security in Discord, to have a peaceful place to be.
For that, I had a fonctionnality on my app (old bot), wich detect on Discord valid discord tokens. Once a Discord token is detected, my bot was used to send it in a repository on github to reset it and send a warning to the bot owner.
But I see that I have now this error when I try to push to github a token:
I tried next to upload myself a Discord token, and it does nothing when I have the Secret scanning disabled on my repository. When I have the secret scanning enabled, I have an error, but when I force, it does not reset the token.
Is there so a way to GitHub reset again the token, or do you have any other idea to make this feature. Or if I have to simply forget this one.
Thank you a lot for your answers
Beta Was this translation helpful? Give feedback.
All reactions