GPTs-Filtor leverage the unique characteristics of GPTs’ deployment, to conduct in-depth analysis and detection of file knowledge leakage at both user interaction and network transmission levels.
Before running GPTs-Filtor, make sure your system meets the following requirements
macOS 12 Monterey or later (tested on macOS 13 Ventura & macOS 14 Sonoma)
Google Chrome Version 120+ (Ensure that Chrome is installed and set as the default browser)
- Full Disk Access must be granted to Terminal or Script Editor:
- System Settings → Privacy & Security → Full Disk Access
- Enable Terminal and Script Editor
- Version 4.76 or later (Ensure Charles is installed and running before executing the script.)
- Download: Charles Proxy Official Website
- Allow Charles to intercept SSL traffic (
Help → SSL Proxying → Install Charles Root Certificate
)
Don't forget to login your ChatGPT account!😊
osascript /path/to/gpts_interaction_script.scpt
- Open the
GPTs-Filtor/GPTs.txt
file. - Add the GPT URLs you wish to test. Each URL should be on a new line.
Note: Three example URLs have already been provided in
GPTs.txt
.
- Navigate to
GPTs-Filtor/gpts_interaction_script
. - Locate the
sentenceList
variable. - Modify the prompts to the ones you want to test.
- The script will randomly pick from these test cases during execution.
- Run Charles Proxy.
- Select
Auto Save
under theTools
. -
- Turn the
auto-save
option on, select the appropriate save interval, specify the correct save path and save data type (json format is recommended). -
- Select
Recording Settings
under theProxy
. -
- Put
chatgpt.com
inhost
and/backend-api/conversation
inpath
under theinclude
option. -
- The script allows for multiple interactions per experiment.
- If changes are needed, only update the values of each
keystroke
. - Ensure stable network connectivity for smooth interaction with GPTs.