Leakage of sensitive data to Segment

  • Rule ID: javascript_third_parties_segment
  • Languages: javascript
  • Source: segment.yml

Description

Leaking sensitive data to third-party analytics tools like Segment is a common cause of data leaks and can lead to data breaches.

Remediations

  • Do ensure all sensitive data is removed when sending data to third-party analytics libraries like Segment.

References

Associated CWE

OWASP Top 10

Configuration

To skip this rule during a scan, use the following flag

bearer scan /path/to/your-project/ --skip-rule=javascript_third_parties_segment

To run only this rule during a scan, use the following flag

bearer scan /path/to/your-project/ --only-rule=javascript_third_parties_segment