WARNING: Leaked OpenAI API Keys

1littlecoder · Intermediate ·🧠 Large Language Models ·3y ago

Key Takeaways

The video discusses the importance of keeping OpenAI API keys safe and secure, as people are pirating GPT-4 by scraping exposed API keys from various online sources, including code repositories and chat logs.

Full Transcript

you've got to make sure to keep your open AI API key safe because people are pirating gpt4 keys that are exposed online there are a lot of different places where people without any diligence just put their actual raw key opening a API key and now hackers or Pirates Who are you want to call them they started scraping for this particular information from the internet and then also trying to give it to some other people for free this is this article by motherboard you can see that people are pirating gpt4 by scraping API keys and in fact one of the account that they hacked and managed to get into is an account with 150 000 worth open AI access now if you get in the details of this there is a subreddit called R chargpt quite popular one since chargpt became popular the subreddit was popular and that separated has got its own Discord and on that Discord people are advertising uh people who are part of the Discord or advertising that they have stolen open AI API tokens and these have been scraped from chat logs screenshots and interviews and different different and and of course like the biggest one is code and these tokens or keys are that are stolen from them are being used to let's say use for their own account like you do not have to pay for open a so in one particular case somebody has stolen a key that has upper limit of 150 000 worth of usage imagine like your upper limit is 150 000 and you keep on using it and that person has to pay it and until unless that person is really good and they're technical enough to actually go to open Ai and make this complaint and this is just going out of somebody's pocket and this is quite a serious issue and a lot of developers and a lot of people who are not quite good at programming have started getting into this API opening AAP because of the popularity of charge GPD now if you do not know about environment variable if you do not know about git ignore how you have to ignore the API keys and all the other things that you have to mask now what's been happening is that people have been putting these things as part of the codes and now we almost started paying price for that that particular Discord has more than 500 members and if you actually see um one of the things that open a has been advertising recently is to say that remember your APA key is a secret do not share it with others are export it expose it in any client-side code browsers or applications that's why I've been quite wary about covering applications that ask for your API key there has been in this concept called bring your own API key and I have always tried to avoid covering those applications because I'm not quite entirely comfortable putting my APA key and a web application or place where people can take it I know for sure if I can see their open source code and if I'm if I can make sure that the data is not being captured but otherwise it's always a risk and this is something that open a has been advertising another thing that you need to do if you are going to use open AI for a business is setting an upper limit because that's quite important it's like setting an upper limit for your credit card or debit card you don't want somebody to just bill you hundred thousand dollar fifty thousand dollar you need to set some upper limit that can actually help you not pay the price if somebody hacks into your account like first of all don't put your APA key anywhere on internet and um that that goes for everything so the way in which the Pirates gained access is uh by scraping the websites where people are collaborating for coding projects especially like website like repellent where uh repellent has been encouraging people to create GPT based application and a lot of repellent users are not pro coders like not professional programmers so what these people have been doing is they've been hard coding their API key which is kind of sad because it's it's just lack of knowledge it's not intentional and they did not realize that while adding the API key in Internet can publicly access it people can access it the worst part is the account who who shared this um in fact where uh you know they've created a web application like this and giving some part of gpt4 API access for free um they've claimed that even after doing all these things uh people have not like open a has not banned their account and uh open a has not like commented much on it it's just that they've said that they they they do some scans like automated scans and based on the automated scans they they actually you know ban the accounts where they feel that something has been happening but but ultimately um it's it's just like somebody else's money and people have taken it and they are actually trying to either expose it or give it to somebody but this this is a problem so if you're a if you are a subscriber of this channel uh you most likely would have known at this point that you should not expose your APA key and have been a strong advocate of rotating APA key even if you expose your API key regularly rotating your API key is one of the easiest way to make sure that even if somebody has access to the key the key will not work after a given time period so these are the three things that you need to do first thing make sure your EPA key is not shared anywhere in public if you ever doubt that your API key is shared then the step to rotate your APA key step 3 always add upper limit and if you want to do the step four please share this video with your friends who might be doing the same mistake because now this is a big problem where people are pirating APA keys and sharing it with others so you might be losing money at one end and somebody might be using the feature that you are not using and it's it's not that everybody is tracking their API spend open a account spend hope this video was helpful to you this article will be linked in the YouTube description see you next video Happy prompting and safe from

Original Description

People Are Pirating GPT-4 By Scraping Exposed API Keys - https://www.vice.com/en/article/93kkky/people-pirating-gpt4-scraping-openai-api-keys ❤️ If you want to support the channel ❤️ Support here: Patreon - https://www.patreon.com/1littlecoder/ Ko-Fi - https://ko-fi.com/1littlecoder
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from 1littlecoder · 1littlecoder · 0 of 60

← Previous Next →
1 How to create your Free Data Science Blog on Github with Fastpages from Fastai
How to create your Free Data Science Blog on Github with Fastpages from Fastai
1littlecoder
2 Making Interactive Matplotlib Plots for Data Science Visualizations on Jupyter (Python)
Making Interactive Matplotlib Plots for Data Science Visualizations on Jupyter (Python)
1littlecoder
3 Create your first Data Science Web App using R Shiny
Create your first Data Science Web App using R Shiny
1littlecoder
4 How to create a Reproducible Example in R using reprex
How to create a Reproducible Example in R using reprex
1littlecoder
5 No Code Visualization using esquisse with Tableau-like Drag and Drop GUI in R
No Code Visualization using esquisse with Tableau-like Drag and Drop GUI in R
1littlecoder
6 Scrape HTML Table using rvest and Process them for insights using tidyverse in R
Scrape HTML Table using rvest and Process them for insights using tidyverse in R
1littlecoder
7 Google Teachable Machine Learning Build No Code AI solution
Google Teachable Machine Learning Build No Code AI solution
1littlecoder
8 Create meaningful fake tidy datasets in R using fakir [#rstats Package]
Create meaningful fake tidy datasets in R using fakir [#rstats Package]
1littlecoder
9 How to enable using R Programming with Visual Studio VS Code
How to enable using R Programming with Visual Studio VS Code
1littlecoder
10 Python, Community, Books - with Abhiram R - Bangpypers Co-organizers | 1littlecoder podcast
Python, Community, Books - with Abhiram R - Bangpypers Co-organizers | 1littlecoder podcast
1littlecoder
11 Growing a Tech Community across India - Anubha Maneshwar, Founder Girlscript | 1littlecoder Podcast
Growing a Tech Community across India - Anubha Maneshwar, Founder Girlscript | 1littlecoder Podcast
1littlecoder
12 Intro to Google Colab - How to use Colab
Intro to Google Colab - How to use Colab
1littlecoder
13 Intro to Plotly Express - Complex Interactive Charts with One-Line of Python Code
Intro to Plotly Express - Complex Interactive Charts with One-Line of Python Code
1littlecoder
14 Indic NLP Python Toolkit Open Source Development - iNLTK Creator Gaurav Arora | 1littlecoder Podcast
Indic NLP Python Toolkit Open Source Development - iNLTK Creator Gaurav Arora | 1littlecoder Podcast
1littlecoder
15 Do you want a career in Data Science - Tamil Webinar
Do you want a career in Data Science - Tamil Webinar
1littlecoder
16 Android Smartphone Analysis in R [Live Coding Screencast]
Android Smartphone Analysis in R [Live Coding Screencast]
1littlecoder
17 Programmatically create Images, Memes, Watermarks using Python with imgmaker
Programmatically create Images, Memes, Watermarks using Python with imgmaker
1littlecoder
18 Kaggle Walkthrough to get you started with Data Science - Webinar
Kaggle Walkthrough to get you started with Data Science - Webinar
1littlecoder
19 Community, Corporate Job, Coding - Gnana Lakshmi T C aka Gyan, WomenWhoCode Leadership Fellow
Community, Corporate Job, Coding - Gnana Lakshmi T C aka Gyan, WomenWhoCode Leadership Fellow
1littlecoder
20 Easy ggplot2 Theme Customization with {ggeasy} | Data Visualization in R
Easy ggplot2 Theme Customization with {ggeasy} | Data Visualization in R
1littlecoder
21 Excel to R - Pivot + Bar Chart in Excel  & R using tidyverse [Live Coding]
Excel to R - Pivot + Bar Chart in Excel & R using tidyverse [Live Coding]
1littlecoder
22 Excel to R #2 - VLOOKUP in Excel to LEFT_JOIN, MERGE in R
Excel to R #2 - VLOOKUP in Excel to LEFT_JOIN, MERGE in R
1littlecoder
23 5 websites to get Free Real-World Datasets for Data Science/ML Projects
5 websites to get Free Real-World Datasets for Data Science/ML Projects
1littlecoder
24 Excel to R #3 - APPROXIMATE VLOOKUP in Excel to FUZZY LEFT_JOIN in R
Excel to R #3 - APPROXIMATE VLOOKUP in Excel to FUZZY LEFT_JOIN in R
1littlecoder
25 Correlation-alternative PPS (Predictive Power Score) Python Package Demo
Correlation-alternative PPS (Predictive Power Score) Python Package Demo
1littlecoder
26 Automated Website Screenshots in R using {webshot}
Automated Website Screenshots in R using {webshot}
1littlecoder
27 Installing Custom RStudio Theme (Synthwave85)
Installing Custom RStudio Theme (Synthwave85)
1littlecoder
28 Analyse Google Trends Search Data in R using {gtrendsR}
Analyse Google Trends Search Data in R using {gtrendsR}
1littlecoder
29 3 Tips to ask question on Stack Overflow the right way to get answers
3 Tips to ask question on Stack Overflow the right way to get answers
1littlecoder
30 Learn Data Science with R - Mini Projects - Web Scraping Zomato
Learn Data Science with R - Mini Projects - Web Scraping Zomato
1littlecoder
31 Easily make Dumbbell Chart using {ggcharts} | Data Visualization in R
Easily make Dumbbell Chart using {ggcharts} | Data Visualization in R
1littlecoder
32 GET Hackernews Front Page Results using REST API in R
GET Hackernews Front Page Results using REST API in R
1littlecoder
33 Quickly deploy ML WebApps from Google Colab using ngrok
Quickly deploy ML WebApps from Google Colab using ngrok
1littlecoder
34 Use Jupyter Notebooks within VSCode (Visual Studio Code) in 2020
Use Jupyter Notebooks within VSCode (Visual Studio Code) in 2020
1littlecoder
35 Plotly Interactive Plots as Pandas Plotting Backend df.plot()
Plotly Interactive Plots as Pandas Plotting Backend df.plot()
1littlecoder
36 Stack Overflow Developer Survey 2020 Highlights for New Programmers
Stack Overflow Developer Survey 2020 Highlights for New Programmers
1littlecoder
37 Matplotlib Animation Charts in Python using Celluloid
Matplotlib Animation Charts in Python using Celluloid
1littlecoder
38 Coding, Postwoman, Passion Project Book - Liyas Thomas Open Source Developer - 1littlecoder podcast
Coding, Postwoman, Passion Project Book - Liyas Thomas Open Source Developer - 1littlecoder podcast
1littlecoder
39 Aspiring Data Scientist, Tips on How to learn Business Domain Knowledge
Aspiring Data Scientist, Tips on How to learn Business Domain Knowledge
1littlecoder
40 Bokeh Interactive Charts as Pandas Plotting Backend df.plot_bokeh()
Bokeh Interactive Charts as Pandas Plotting Backend df.plot_bokeh()
1littlecoder
41 Easy Fast Python Pandas Summary with Sidetable | Pandas Tips & Tricks
Easy Fast Python Pandas Summary with Sidetable | Pandas Tips & Tricks
1littlecoder
42 Inception, Content Ideas, Consistency - Srivatsan Srinivasan AIEngineering YouTube Content Creator
Inception, Content Ideas, Consistency - Srivatsan Srinivasan AIEngineering YouTube Content Creator
1littlecoder
43 ggplot2 Text Customization with ggtext | Data Visualization in R
ggplot2 Text Customization with ggtext | Data Visualization in R
1littlecoder
44 Penguins Dataset Overview - iris alternative | EDA Data Visualization in R
Penguins Dataset Overview - iris alternative | EDA Data Visualization in R
1littlecoder
45 YouTube Growth Tips, Content Creation - Bhavesh Bhatt, YouTuber (Data Science & Machine Learning) #7
YouTube Growth Tips, Content Creation - Bhavesh Bhatt, YouTuber (Data Science & Machine Learning) #7
1littlecoder
46 Matplotlib Animated Bar Chart Race in Python | Data Visualization
Matplotlib Animated Bar Chart Race in Python | Data Visualization
1littlecoder
47 Simple Python GUI Development using {guietta}
Simple Python GUI Development using {guietta}
1littlecoder
48 #8 Niche, Growth, Monetization - David Langer - YouTuber Dave on Data
#8 Niche, Growth, Monetization - David Langer - YouTuber Dave on Data
1littlecoder
49 Simple Fast 3-step Python OCR using Deep Learning 40+ Languages
Simple Fast 3-step Python OCR using Deep Learning 40+ Languages
1littlecoder
50 Github New Feature Profile Summary/Mini-Resume - Profile Views
Github New Feature Profile Summary/Mini-Resume - Profile Views
1littlecoder
51 Otto ML Assistant, GPT-3 on Philosophers, Nvidia-ARM - 3 ML Tech News
Otto ML Assistant, GPT-3 on Philosophers, Nvidia-ARM - 3 ML Tech News
1littlecoder
52 What is OpenAI GPT-3 - Hype, Examples, Worries
What is OpenAI GPT-3 - Hype, Examples, Worries
1littlecoder
53 Julia 1.5, Datamuse API, Live HDR+ Pixel 4a - Machine Learning Tech News
Julia 1.5, Datamuse API, Live HDR+ Pixel 4a - Machine Learning Tech News
1littlecoder
54 Self-driving Car Engineer sentenced, arXiv Dataset, AI/ML Startup Idea - Machine Learning Tech News
Self-driving Car Engineer sentenced, arXiv Dataset, AI/ML Startup Idea - Machine Learning Tech News
1littlecoder
55 GPT-3 Explorer, Ciphey (Automated Decryption), Py-Sudoku - ML Tech News
GPT-3 Explorer, Ciphey (Automated Decryption), Py-Sudoku - ML Tech News
1littlecoder
56 How to use Advanced Google Search to extract Email Ids from Linkedin
How to use Advanced Google Search to extract Email Ids from Linkedin
1littlecoder
57 Cartoonizer Toon-IT (AI Web App), GPT-3 Advice, Android Earthquake Detection - ML Tech News
Cartoonizer Toon-IT (AI Web App), GPT-3 Advice, Android Earthquake Detection - ML Tech News
1littlecoder
58 Flow - R Package to visualize code logic, functions as a Flow Diagram
Flow - R Package to visualize code logic, functions as a Flow Diagram
1littlecoder
59 Build GPT-3-like Language Model on Google Colab with minGPT [PyTorch]
Build GPT-3-like Language Model on Google Colab with minGPT [PyTorch]
1littlecoder
60 Create a Pencil Sketch Portrait with Python OpenCV
Create a Pencil Sketch Portrait with Python OpenCV
1littlecoder

Keep your OpenAI API keys safe and secure to prevent piracy and unauthorized access. Rotate your API keys regularly and set an upper limit to avoid unexpected charges.

Key Takeaways
  1. Keep API keys confidential
  2. Use environment variables and git ignore
  3. Rotate API keys regularly
  4. Set an upper limit for API usage
  5. Share this video with others to raise awareness
💡 Pirating GPT-4 by scraping exposed API keys is a serious issue, and users must take steps to secure their API keys and prevent unauthorized access.

Related Reads

📰
Don't Fragment My AI Stack: Why Shutting Off Chinese Open-Weight Models Is a Bad Idea
Learn why shutting off Chinese open-weight models can fragment AI stacks and hinder innovation, and how developers can advocate for open access to AI models.
Dev.to · Hanzla Baig
📰
Marking the Wrong Symptoms: Evaluating LLM Watermarks in Medical Texts
Learn how LLM watermarks impact medical texts and why evaluating them is crucial for reliable traceability in clinical workflows
ArXiv cs.AI
📰
ClickGuard: Detecting and Spoiling Clickbait News with Informativeness Measures and Large Language Models
Learn how ClickGuard uses large language models and informativeness measures to detect clickbait news and improve online browsing experience
ArXiv cs.AI
📰
DC-Leap: Training-Free Acceleration of dLLMs via Draft-Guided Contiguous Leaping Decoding
Accelerate dLLMs without retraining using DC-Leap, a framework that optimizes decoding for faster inference speeds
ArXiv cs.AI
Up next
5 Levels of AI Agents - From Simple LLM Calls to Multi-Agent Systems
Dave Ebbelaar (LLM Eng)
Watch →