Skip to content
DevMeme
7235 of 7590
Security Post #7933 · source on Telegram

Stolen Gemini API Key Turns $180 Bill into $82,000

Description

A dark-mode X screenshot chain. Top post by 'Senior PowerPoint Engineer' (@ryxcommar): 'Google suggests you expose API keys client side for things like Google Maps. Google changed the permission boundaries for this overnight to push AI aggressively, so that the API keys can access Gemini as long as Gemini is enabled for the associated GCP project.' Quoted post by CG (@cgtwts): 'They went from a $180 bill to losing $81,820 in 48 hours.' Embedded is a Reddit r/googlecloud post by u/RatonVaquero (Top 1% Poster): '$82,000 in 48 Hours from stolen Gemini API Key. My monthly Usage Is $180. Facing Bankruptcy' - 'Between Feb 11 and 12, our Google Cloud API Key was comprommised (We don't know how, we didn't find an obvious mistake) and generated generated $82,314.44 in charges.' Highlights the cloud-billing blast radius when Maps-style client-exposed keys silently gain Gemini access with no hard spend caps

Comments

20
Anonymous ★ Top Pick Google finally solved Gemini adoption metrics: enable it on every leaked Maps key and let the attackers drive usage growth
  1. Anonymous ★ Top Pick

    Google finally solved Gemini adoption metrics: enable it on every leaked Maps key and let the attackers drive usage growth

  2. Anonymous

    Google Maps found the fastest route from a public API key to bankruptcy.

  3. @daegalus 4mo

    Didn't they fix this shortly after it happened the first time? Maybe this is the screenshot of the first time

  4. @nyxiereal 4mo

    Source https://www.reddit.com/r/googlecloud/comments/1reqtvi/_/

  5. @nyxiereal 4mo

    This is a more juicy story, https://www.reddit.com/r/googlecloud/comments/1rv3xr9/_/

  6. @dzek69 4mo

    Not setting a spending cap on such services isnt very clever thinking

  7. @dzek69 4mo

    If your "cloud" does not allow you to set a cap then you should not use it

    1. @LonelyGayTiger 3mo

      Fun fact, you can charge anyone money by accessing their S3 buckets, even without permission. Failed attempts to access a bucket still get billed.

      1. @azizhakberdiev 3mo

        that's why we set up gateways

  8. @deadgnom32 4mo

    6 years of professional web scrapping changed me forever.

    1. @ercolebellucci 4mo

      is that a real thing? like what was your daily tasks? im curious

      1. @RiedleroD 4mo

        1. take data 2. ??? 3. profit

        1. @deimossos 4mo

          if big companies can sell my data for profit, why can't I sell their data for profit?

      2. @deadgnom32 4mo

        yes. customers have been paying us to get their data on our site and that it stays in sync. 95% of the time it's basically: run html through some heuristic xml repairer or dom builder, because for some reason 99.999% of web pages are syntactically invalid. then extract urls to be followed, put them into some kind of set and extract data. take next url out of the urls set, look for urls, look for data. since we've been tasked by the page owner to scrap them, most of the time we were in some kind of whitelist and didn't had to hide our doing. but there were a lot of customers, who had no IT department and tricky websites. there is where the challenge comes. it isn't hard, it's just about to have this experience and to know how to bypass securities or incompatibilities. there are lots of techniques I won't explain them in a telegram message

      3. @deadgnom32 4mo

        sometimes we could figure out some sqlinjection to get all the data we needed in 1 request, sometimes you need to set specific headers, sometimes you need to open pages in specific order for no explainable reason. it can get infinitely complex. 1 customer from capetown had all 3000+ pages written by hand. there was no common structure at all.

        1. @ercolebellucci 4mo

          holy shit, im doing some projects for uni but is very hard, trying to get some data from italian government right now with scrape-parsing

          1. @deadgnom32 4mo

            just ask them

  9. @summitbc 4mo

    Galaxychad from-scratch reimplementer

  10. @greyxray 4mo

    cant one set a limit on costs per month for gemini?

  11. @slnt_opp 4mo

    We got hit 15k bill because of this shit Bye bye gcp

Use J and K for navigation