Sensitive data sent to Bugsnag detected.

  • Rule ID: javascript_third_parties_bugsnag
  • Languages: javascript
  • Source: bugsnag.yml


Leaking sensitive data to third-party loggers is a common cause of data leaks and can lead to data breaches. This rule looks for instances of sensitive data sent to Bugsnag.


When logging errors or events, ensure all sensitive data is removed.

If you really need to identify users, use unique identifiers from the database.

  import { Bugsnag } from "@bugsnag/js"

var bugSession = Bugsnag.startSession()


Associated CWE

OWASP Top 10