DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Git Gaurdian Secret Token Issue in extensions-bundle.js

 4 Replies
 2 Subscribed to this topic
 21 Subscribed to this forum
Sort:
Author
Messages
New Around Here
Posts: 19
New Around Here
New Poster
New Poster
Congrats on posting!

Hello,

We are on DNN 9.13.3 for some time. Git Gaurdian secert token scan has reported critical issue in extensions-bundle.js & extensions-bundle.jsmap file which is available in this path /DesktopModules/Admin/Dnn.PersonaBar/Modules/Dnn.Extensions/scripts/bundles/ for token values of this key - "editAuthenticationSystem". Any suggestion how we can fix the value of this token and remediate this issue.

Regards,

Alok

Senior Member
Posts: 1607
Senior Member
MVP
MVP
You're an MVP!
New Poster
New Poster
Congrats on posting!
This is most likely a false positive. but are you committing your website into Git? I'd recommend against that and instead rely on a backup process for the website itself. The source code and website should remain separate for all kinds of reasons.
New Around Here
Posts: 3
New Around Here
Hi Everyone,

I came across a discussion regarding the editAuthenticationSystem in the extensions-bundle.js file, particularly in relation to the Generic High Entropy Secret issue. I understand that Will Strohl have suggested marking it as a false positive, but I would like to clarify its actual use within the DNN framework.

Could someone explain the purpose of editAuthenticationSystem? Additionally, if we were to consider removing it from our repository, how will it impact DNN?

Thank you for your insights!
Senior Member
Posts: 1607
Senior Member
MVP
MVP
You're an MVP!
New Poster
New Poster
Congrats on posting!

The key "editAuthenticationSystem" in the extensions-bundle.js and .js.map files is part of the DNN Persona Bar JavaScript code, and it is not a secret token or credential. It’s simply a client-side UI action key used for routing or permission checks in the DNN admin interface.

GitGuardian and similar tools can often return false positives when scanning minified JavaScript bundles because they look for patterns like "token" or keys that look like credentials (e.g., "editAuthenticationSystem") without understanding their context.

This is not an actual secret — it's just a UI permission key in a JavaScript file. You can safely mark it as a false positive in GitGuardian and ensure your CI process is configured to avoid flagging frontend bundle files incorrectly.

Also, please avoid modifying the DNN source code at all costs...  It seems easy, fast and innocent now - but you'll be stuck not able to upgrade in the future (or it will become too expensive to upgrade). 

New Around Here
Posts: 3
New Around Here
Hi Will Strohl

Thank you for your helpful suggestions regarding the Git Guardian secret token issue. I appreciate your insights and guidance on this matter.

These Forums are for the discussion of the open source CMS DNN platform and ecosystem.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
  2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
  3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  5. No Flaming or Trolling.
  6. No Profanity, Racism, or Prejudice.
  7. Site Moderators have the final word on approving / removing a thread or post or comment.
  8. English language posting only, please.

Would you like to help us?

Awesome! Simply post in the forums using the link below and we'll get you started.

Get Involved