Leakage of sensitive data to Segment

  • Rule ID: go_third_parties_segment
  • Languages: go
  • Source: segment.yml

Description

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

Remediations

When sending data to analytics libraries, ensure all sensitive data is removed.

Resources

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=go_third_parties_segment

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

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