Netskope Global Technical Success (GTS)
Netskope DLP : Securing Source Code in ChatGPT Interactions
Activity ‘Upload’
Netskope Cloud Version - 115
Objective
DLP on Source Code for ChatGPT activity - ‘Upload’
Prerequisite
Netskope Inline CASB license is required
Context
End-users often utilize ChatGPT for unofficial purposes, sometimes uploading sensitive source code-level information, inadvertently exposing their organization to potential data exfiltration risks. This article highlights how Netskope effectively addresses this concern. Netskope DLP can swiftly detect source codes within the chat environment and proactively prevent the unauthorized upload of sensitive data
Do You Know?
- Netskope acknowledges ChatGPT as a Cloud Application and provides a pre-defined cloud app connector.
- As of June 05, 2024 with Netskope’s ChatGPT predefined connector, customers can exercise control over the following activities:
Configuration
Step 1 - DLP Profile
- Netskope's predefined DLP profile effectively detects source codes
Path - Netskope Tenant UI >>> Policies >>> DLP
- The predefined DLP profile can detect source codes written in below programming languages
Step 2 - Real-time protection policy
Path - Netskope Tenant UI >>> Policies >>> Real-time Protection >>> New Policy
Verification
- For testing I copied a random code written in C++ from Link and saved the code in a file and named it - C++ Test Code File.docx
- Access ChatGPT and upload the file - C++ Test Code File.docx
- Netskope DLP detected C++ source code upload
- Check policy hits
- If desired results are not obtained, verifying the SSL inspection settings is step 1
Terms and conditions
- All documented information undergoes testing and verification to ensure accuracy.
- In the future, it is possible that the application's functionality may be altered by the vendor. If any such changes are brought to our attention, we will promptly update the documentation to reflect them.
Notes
- This article is authored by Netskope Global Technical Success (GTS).
- For any further inquiries related to this article, please contact Netskope GTS by submitting a support case with 'Case Type – How To Questions'.