How To Access Private and Deleted Github Repositories Data

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ก.ย. 2024
  • In this video I discuss a GitHub attack vector that can let anyone access data from deleted or private Github Repos.
    Read the blog post about this Cross Fork Object Reference bug on truffle security
    trufflesecurit...
    My merch is available at
    based.win/
    Subscribe to me on Odysee.com
    odysee.com/@Al...
    ₿💰💵💲Help Support the Channel by Donating Crypto💲💵💰₿
    Monero
    45F2bNHVcRzXVBsvZ5giyvKGAgm6LFhMsjUUVPTEtdgJJ5SNyxzSNUmFSBR5qCCWLpjiUjYMkmZoX9b3cChNjvxR7kvh436
    Bitcoin
    3MMKHXPQrGHEsmdHaAGD59FWhKFGeUsAxV
    Ethereum
    0xeA4DA3F9BAb091Eb86921CA6E41712438f4E5079
    Litecoin
    MBfrxLJMuw26hbVi2MjCVDFkkExz8rYvUF

ความคิดเห็น • 288

  • @t0m0b0nes
    @t0m0b0nes หลายเดือนก่อน +493

    The title seems to be a bit overexaggaerated, it is not ANY private/deleted repo but it must be a private/deleted fork of a still existing public repo

    • @davidt01
      @davidt01 หลายเดือนก่อน +21

      looks like it's been changed

    • @t0m0b0nes
      @t0m0b0nes หลายเดือนก่อน +12

      Wow, this was fast! 👍👍

    • @xl0xl0xl0
      @xl0xl0xl0 หลายเดือนก่อน +46

      It's complete clickbait. You can't make a private fork of a public repo for that very reason. So the issue is, you made a public fork of a public repo, made a bad commit that you now can't completely purge from the data shared between repos. Well, who's fault is that?

    • @davidt01
      @davidt01 หลายเดือนก่อน +14

      @@xl0xl0xl0 Yes exactly. But another caveat is if you originally have the repo private, then make it public, any internal forks of the repo before it was made public are still accessible publically. But that's really no different than accessing the commit history, since that's just how git works. Also, even if you never sync your fork with the upstream, the commits of the fork are still accessible from the root (but again, that should kind of be expected when you think about it).

    • @xl0xl0xl0
      @xl0xl0xl0 หลายเดือนก่อน

      @@davidt01 are you sure? I don't think you can make a repo private if it has public forks. Edit: read it the other way around.

  • @davidt01
    @davidt01 หลายเดือนก่อน +106

    Basically, forks are not clones. Forks are like some kind of top-level branches above each repo branch.

    • @MsSoldadoRaso
      @MsSoldadoRaso หลายเดือนก่อน +1

      So, if the original repo is modified then my forked repo will also be modified?

    • @federicogalvagni2332
      @federicogalvagni2332 หลายเดือนก่อน

      ​@@MsSoldadoRasono it's like a copy of the original repo.

    • @roelant8069
      @roelant8069 หลายเดือนก่อน +7

      @@MsSoldadoRaso No, just like a commit is not automatically applied to every branch. You can merge any updates to the original repo into the forked repo though

  • @gwky
    @gwky หลายเดือนก่อน +271

    Microsoft be like “we brought recall to GitHub to enhance the user experience” or some variation of Julian Smith’s “I made this for you!”

    • @Jinnyfir
      @Jinnyfir หลายเดือนก่อน +5

      Give him the Malk, Josh

    • @joshuan.
      @joshuan. หลายเดือนก่อน +4

      ​@@Jinnyfir, inside voices please

    • @Jinnyfir
      @Jinnyfir หลายเดือนก่อน +3

      ​@@joshuan. Sorry, dad... my white friends ...

  • @James2210
    @James2210 หลายเดือนก่อน +139

    This is just Git. If you push your API key to a repository, it's on the Internet forever.

    • @Kermit2k
      @Kermit2k หลายเดือนก่อน +35

      Doesn't generate the same outrage bait if you don't mention Microsoft.

    • @toooes
      @toooes หลายเดือนก่อน +12

      I cast force push delete commit

    • @krtirtho
      @krtirtho หลายเดือนก่อน +6

      @@Kermit2k This is just Microsoft® Git. If you push your API key to a repository, it's on the Internet forever.

    • @averagejoey2000
      @averagejoey2000 หลายเดือนก่อน +1

      ​@@toooeseven that is just a commit reversing that commit. I'm not even sure if the stuff like filter-repo gets the kill for real

    • @CurryHow
      @CurryHow หลายเดือนก่อน +5

      Wrong. BFG cleaner will do the job. This is a problem with forking, a GitHub feature, not a Git feature.

  • @rch5395
    @rch5395 หลายเดือนก่อน +126

    I use arch btw.

    • @Spluub
      @Spluub หลายเดือนก่อน +26

      femboy

    • @Skelterbane69
      @Skelterbane69 หลายเดือนก่อน +8

      I use artix, btw.

    • @kvykimo
      @kvykimo หลายเดือนก่อน

      ​@@Skelterbane69runit?

    • @tetonis2452
      @tetonis2452 หลายเดือนก่อน

      @@Skelterbane69 you must think you are so much better huh? well I got news for you. you are a flippin nerd!

    • @phrogtesem9410
      @phrogtesem9410 หลายเดือนก่อน +4

      I use mint, btw

  • @soullessginger3187
    @soullessginger3187 หลายเดือนก่อน +97

    Hacked the algorithm

  • @leofun01
    @leofun01 หลายเดือนก่อน +81

    It's not a bug. It's normal behavior, as expected. All hashes are public, even if your repo is private.

    • @xl0xl0xl0
      @xl0xl0xl0 หลายเดือนก่อน +31

      It's not, a private repo is private, but data is shared between forks - for that reason you can't make a private fork of a public repo and vice versa.

    • @SourceHades
      @SourceHades หลายเดือนก่อน

      @@xl0xl0xl0 is right, commits are not public but their hashes are the same across repo's

    • @penguin1714
      @penguin1714 หลายเดือนก่อน +3

      I mean they could make it to where if your repo is private and then you fork it, you lose commit history. That would kinda make the fork kinda useless but whatever

    • @benargee
      @benargee หลายเดือนก่อน

      ​@@xl0xl0xl0 serious software companies should be self hosting their repos.

    • @marcelplch8725
      @marcelplch8725 หลายเดือนก่อน

      @@penguin1714 Never ever tamper with git history that has already been shown publicly.
      Even if it seems to have benefits, you will cause fire and flames among anyone using that code.

  • @flleeppyy9959
    @flleeppyy9959 หลายเดือนก่อน +108

    thats.. just how git works...

    • @Name-gi8dr
      @Name-gi8dr หลายเดือนก่อน

      No, that's how GitHub works.
      Git works like this because it's not designed for this. And GitHub is too lazy to fix it

    • @Contractor48
      @Contractor48 หลายเดือนก่อน +11

      You mean GitHub. Git is more of a open source version control too.

    • @ishid_anfarded_king
      @ishid_anfarded_king หลายเดือนก่อน +29

      @@Contractor48 nah this is how git works

    • @jp46614
      @jp46614 หลายเดือนก่อน +29

      Ngl he started yapping so I zoned out a few minutes in, but from what I've heard this isn't a bug. Every SE that's ever used Git would tell you that's basically what Git is all about.
      Not sure why he mentions API keys at all, pushing API keys to Git/GitHub is bad practice and is only done by incompetent companies/developers, so this is not a concern at all.

    • @davidt01
      @davidt01 หลายเดือนก่อน

      @@jp46614 Because that's what the original article mentions. It's actually pretty common for people to fork a repo and then add their own secrets. But the scary part is deleting the fork doesn't delete the commits in that fork. Yes, it's not a bug, it's just how git and Github works, but a lot of people aren't aware of this.

  • @papakamirneron2514
    @papakamirneron2514 หลายเดือนก่อน +39

    Quite a few bots in this comment section, why though? Doesn’t sound like any Mental Outlaw viewer would fall for them and I haven’t seen them around previously…😊

    • @xxXXuser69420XXxx
      @xxXXuser69420XXxx หลายเดือนก่อน +20

      well, It's literally bots, they post in a blink, not like commenting takes them some time or anything
      also you'd be surprised by MOs reach, plenty of less tech-literate people from 3rd world countries watch his videos where applicable

    • @syriuszb8611
      @syriuszb8611 หลายเดือนก่อน

      I don't think they are researching a ton before they unleash the bots. They probably automatically target videos on topic they choose with enough number of views.
      Also, anyone who thinks he would never fall for X, opens himself to fall for X.

    • @nicomoron001
      @nicomoron001 หลายเดือนก่อน +9

      @@xxXXuser69420XXxx yeah I am from a 3rd world country and I am here to BECOME tech-literate

    • @froggin-zp4nr
      @froggin-zp4nr หลายเดือนก่อน +2

      You're mistaking low effort comments for AI. Easy mistake to make.

    • @nbdynothing
      @nbdynothing หลายเดือนก่อน

      ​@@xxXXuser69420XXxxpretentious i see

  • @MithicSpirit
    @MithicSpirit หลายเดือนก่อน +18

    Isn't this well-known? I thought everyone knew that forks had the same visibility as the parent repo.

    • @davidt01
      @davidt01 หลายเดือนก่อน +4

      I guess it's surprising to people that deleting the fork doesn't delete the commits. But really, it's no different than branches I guess.

    • @TheRobbix1206
      @TheRobbix1206 หลายเดือนก่อน +3

      It was for me a known fact since a guy made some shady commit in a fork of linux source tree and commiting it in his repo in Linus Tornvalds name, as such by using the same URL trick you could think that Linus made a commit implemeting a backdoor.
      That's even why they added the warning about the commit not being from the repository.

    • @Kermit2k
      @Kermit2k หลายเดือนก่อน +8

      @@davidt01 but that's the whole reasoning behind git to keep a history of everything. The video could be as simple as if you leak your private keys the only solution is to change your keys. End of video. But that doesn't generate the same level of engagement.

    • @davidt01
      @davidt01 หลายเดือนก่อน +2

      @@Kermit2k Right, but it was surprising to most people because they thought their forks were like clones, and that deleting would remove the data.

    • @rnts08
      @rnts08 หลายเดือนก่อน +1

      Consider how many Javascript "devs" out in the world use github, do you think they know how git works? Heck most devs don't even know how git works. No one should be surprised that your stuff is going to be leaked if it's on the internet. The cloud and all SaaS is just someone else's computer.

  • @piked86
    @piked86 หลายเดือนก่อน +138

    So does that mean I can get into the yuzu repo?

    • @noahwaaga5079
      @noahwaaga5079 หลายเดือนก่อน +17

      Lol my exact thought before I opened the vid

    • @wayge
      @wayge หลายเดือนก่อน +35

      Yeah but you can also just fork one of the hundreds of forks and save yourself from the headache of finding commit hashes

    • @xxXXuser69420XXxx
      @xxXXuser69420XXxx หลายเดือนก่อน +9

      isn't zuyu still online and continuing from where yuzu left off? (legit don't know, not a nintendo guy so I don't use those emus)

    • @Skelterbane69
      @Skelterbane69 หลายเดือนก่อน +9

      I switched to ryujinx, for obvious reasons and it's actually way better, imo.
      Way more games that can be ran and they also run much smoother.

    • @piked86
      @piked86 หลายเดือนก่อน +6

      Calm down guys. I pulled it from the AUR after the court decision. It was there for a little while. It's not really hard to find if you look. I was making a joke.

  • @kingeling
    @kingeling หลายเดือนก่อน +37

    Mentos Outlaw

  • @marsovac
    @marsovac หลายเดือนก่อน +2

    Secrets are usually not commits in the repo (and never should be) but a setting on organization level.
    Devs using Github do not need access to the key but the name of the key that somebody set as secret in the organization to reference it in the build and integration process. And for their local use they can use another development only key, which if committed can be easily revoked.
    I understand that this feature loads the gun with which dumb devs can shoot themselves in the foot, but I don't think Microsoft is to blame if that happens.

  • @dandyddz
    @dandyddz หลายเดือนก่อน +8

    6:30 it doesnt work for private commits, right?

  • @blackpiller3777
    @blackpiller3777 หลายเดือนก่อน +6

    If the repo was created as private and remains private how this "bug" will occur?

  • @ardnys35
    @ardnys35 หลายเดือนก่อน +7

    that's no github bug, it about git and it's still not a bug. i don't know git internals well but there are a few things about commits.
    first, under no circumstances should anyone commit secrets like API keys or passwords. that's no different whatever source control you use maybe except an internal one.
    i've read that once you push a commit to github it's not possible to delete it. you can delete commits but they will still be in github servers. or so i've read. (turns out that is false. check replies)
    think 5 times very carefully when you are working with git and secrets.

    • @sutirk
      @sutirk หลายเดือนก่อน +1

      Github itself has a doc teaching how to erase secrets (rewriting commit history,modifying blobs and force pushing)
      If i remember correctly the last step is to contact GitHub and ask for a specific commit to be purged from their servers. I wonder if this would actually delete the commit/blob globally for all the forks, or only for the repo you specifically asked

    • @ardnys35
      @ardnys35 หลายเดือนก่อน +1

      @@sutirk it seems they can't delete those from forks. from docs:
      If the commit that introduced the sensitive data exists in any forks, it will continue to be accessible there. You will need to coordinate with the owners of the forks, asking them to remove the sensitive data or delete the fork entirely.

  • @trailblazingfive
    @trailblazingfive หลายเดือนก่อน +47

    Nobody pushes anything of value to github anymore since they used all that code to train copilot

    • @xxXXuser69420XXxx
      @xxXXuser69420XXxx หลายเดือนก่อน +18

      bruh as if anyone cared, maybe organizations but every single dev is still on gh with the schizos on gitlab

    • @trailblazingfive
      @trailblazingfive หลายเดือนก่อน +10

      @@xxXXuser69420XXxx plz pull something new, try to build it fingers crossed that it works. There has been a new phenomenon where ppl publish coding books with coded partially generated by LLMs which doesn't work. IMO the snake started eating it's own tail.

    • @trailblazingfive
      @trailblazingfive หลายเดือนก่อน

      @@xxXXuser69420XXxx as for orgs, everyone has a private repo behind a VPN and an admin that locks ppl out once they are out of the project

    • @BoDiddlydodah
      @BoDiddlydodah หลายเดือนก่อน +1

      ​@@trailblazingfiveso where are top devs pushing their work to now?

    • @xxXXuser69420XXxx
      @xxXXuser69420XXxx หลายเดือนก่อน

      @@trailblazingfive yep, when I noticed Gemini Pro replies were super long, I decided to "teach myself rust" by having it write a program/index for an book then writing the "academic level rust" book itself... a couple lessons in and a few programs after Hello World, the code was completely useless.
      Same thing when I tried to learn Gradio, it kept writing 150 lines for a shared password protected hello world, I then read Gradio's docs and getting a shared, protected helloworld gradio app was literally like 4 lines of code lol

  • @DankoStojanovic
    @DankoStojanovic หลายเดือนก่อน +3

    If you commit any sensitive data like keys you should create new ones and make sure existing ones no longer work. That is just industry best practice. Is this "never delete" policy good? Maybe not, but you still have a way to protect yourself from this particular issue.

  • @louieestonanto6045
    @louieestonanto6045 หลายเดือนก่อน +5

    I think this really actually is by design not just for gh.. I once tried uploading all my backups of videos on facebook on a burner account so I can watch them anytime, including some of the anime I wanted to watch just to see what would happen. Though the anime would be taken down eventually due to copyright, I made a copy of the autogenerated URLs beforehand on a spreadsheet (I also intended to share them with friends lol) and I found I could still watch them only on that burner account. I think big companies never really delete anything on their servers for any potential lawsuits they might encounter in the future, and so they just make it inaccessible but all the data is still there on their servers. However the content should not be accessible to just anyone with the hash. They need to patch that lol

  • @Freedom4Ever420
    @Freedom4Ever420 หลายเดือนก่อน +2

    Copy and paste is such an advanced black hat hacking tool

    • @Jango1989
      @Jango1989 หลายเดือนก่อน

      Fr

    • @Sprinkles-r5y
      @Sprinkles-r5y หลายเดือนก่อน

      Till those pesky sites interfere with no right click features, really messes the nefarious vibe.

  • @unixmind
    @unixmind หลายเดือนก่อน +2

    You can alternatively mirror your github repos on gitlab, codeberg, gitea, or even self-hosted instances. So you don't have to ditch all of the cool github CI/CD features

    • @Kermit2k
      @Kermit2k หลายเดือนก่อน +1

      The same issue happens on other version control system products.

  • @xxXXuser69420XXxx
    @xxXXuser69420XXxx หลายเดือนก่อน +3

    Oh boy something good finally, my YT has been in a drought this week

  • @jabrowski_
    @jabrowski_ หลายเดือนก่อน +3

    Mental ur the goat. Have a great weekend. Watched all the way through

  • @americanbagel
    @americanbagel หลายเดือนก่อน +1

    This is why I host my own gitea server for anything sensitive

  • @idontwantachannelimjustcom7745
    @idontwantachannelimjustcom7745 หลายเดือนก่อน +1

    Now, I need to scan data hoarder for a copy of banned github projects that have been recovered. I think there were a few youtube plug-ins in this category.

  • @anonanon6596
    @anonanon6596 หลายเดือนก่อน +2

    It might be just in my head but you sound more well articulated than usual in this video.

  • @SArthur221
    @SArthur221 หลายเดือนก่อน

    in git, where you are the only party who has access to you repo, this is indeed a feature and works as intended (until the commit gets gc'd), but on github, this is an issue.
    this is why i told my old company they will need to change their secret api key if they ever make the repo public, not just delete it,

  • @alzeebum
    @alzeebum หลายเดือนก่อน

    If you're a developer who hasn't yet learned you don't check secrets into a source control repo, ANY source control repo, you deserve exactly what will inevitably happen to you.

  • @MrSongib
    @MrSongib หลายเดือนก่อน +2

    7:45 This should not be the standard for open source. It's already to open enough. It feels more jank now. XD

  • @Itchybol
    @Itchybol หลายเดือนก่อน +4

    I dont even know what is forked github whatever 🔥🔥🔥🔥🔥🔥

  • @jonb4333
    @jonb4333 หลายเดือนก่อน

    Huh, I thought I noticed this on enterprise a few months ago where I could see commits of deleted branches. I figured it’s just zombie commits hanging out server side, but the fact this is an issue with privacy and not considered a bug is worrisome.

  • @bashisobsolete.pythonismyn6321
    @bashisobsolete.pythonismyn6321 หลายเดือนก่อน

    video Suggestion: a quick fossil tutorial that a child could follow. there really ought to be a guide that's simple, straightforward and fairly comprehensive. But I was shocked at the utter lack of such media. if you made a good 3 part series from zero to hero, that would probably become the #1 fossil resource in the anglosphere. no exaggeration.

  • @MiSt3300
    @MiSt3300 หลายเดือนก่อน +33

    Greetings to all the devs out there from 🇵🇱 Poland, a chad EU 🇪🇺 member country!

    • @pedrogorilla483
      @pedrogorilla483 หลายเดือนก่อน +11

      Too poor

    • @trinketos
      @trinketos หลายเดือนก่อน +11

      nice joke bro.

    • @MelodyIV
      @MelodyIV หลายเดือนก่อน +3

      💀💀💀💀💀💀💀💀💀💀💀💀💀

    • @smallcube-zn2mm
      @smallcube-zn2mm หลายเดือนก่อน +9

      Me enjoying real tech freedom from Bangladesh because of having no established digital laws at all

    • @exzld
      @exzld หลายเดือนก่อน +12

      Keep that border near Belarus secure. Keep em out

  • @josueramirez7247
    @josueramirez7247 หลายเดือนก่อน

    It’s an attack vector, but apparently this behavior is described in GitHub’s documentation: Pull requests / Collaborate with pull requests / Working with forks

  • @user-wg2vw3mz1v
    @user-wg2vw3mz1v หลายเดือนก่อน +2

    Mental Outlaw is a Subtext-Fu Master!

  • @stage6fan475
    @stage6fan475 หลายเดือนก่อน +1

    algorithm. Kenny, have your chickens been behaving better than our giant software corporations?

  • @mrdavi5064
    @mrdavi5064 หลายเดือนก่อน +3

    I think that deletion of GitHub repo should delete all commits. This is just bad design. I really hope GitHub will reconsider.

    • @TheRobbix1206
      @TheRobbix1206 หลายเดือนก่อน

      Deleting the repo just does the exact same thing as deleting all branches and tags for git, meaning just removing references to commits
      To remove those commit completely you would have to run git gc which has to detect dangling reference in the entire tree, and it would have to do that every time a push is not just a cannot be solved by a fast-forward (deleting branch, rebasing, git push --force)
      You can test this behaviour on your computer and is sometimes use with git reflog to be able to get back a lost commit.
      As for why it does append with forks it's simple fork are in the same repo than the original project (more efficient in space) just having their own references for branches and tags makes a fork just some cloning references and makes things like pull request way more easy to handles as it is the same as a merge/rebase in the same repository.

  • @Zyph2
    @Zyph2 หลายเดือนก่อน +3

    Thank you, I actually really needed this

  • @skitsschist11
    @skitsschist11 หลายเดือนก่อน +17

    Your videos are always so informative and interesting! I am going to push a kernel-crashing bug to production! ☺️💻

    • @juho1882
      @juho1882 หลายเดือนก่อน

      are you bot?

  • @zolvaring9503
    @zolvaring9503 หลายเดือนก่อน +1

    You can report this stuff without clickbaiting or sensationalizing it. You can't spread awareness if you get tuned out.

  • @CodeEnthusiast78912
    @CodeEnthusiast78912 29 วันที่ผ่านมา +1

    if your repo is always private then it is safe as far as I understand

  • @potatocrispychip
    @potatocrispychip หลายเดือนก่อน +2

    imagine the possibilities

  • @simonbackwash
    @simonbackwash หลายเดือนก่อน +1

    GitHub on the internet way back machine 👌

  • @duser
    @duser หลายเดือนก่อน +4

    Yuzus back bois

  • @polarzxo1530
    @polarzxo1530 หลายเดือนก่อน +10

    every time 11 huffs fine, 12 huffs poopman come i

  • @godly_wisdom777
    @godly_wisdom777 หลายเดือนก่อน +4

    so is it possible to get the original tornado cash repo ??

  • @saifbenzamit5980
    @saifbenzamit5980 หลายเดือนก่อน +8

    Day 95 of hackking the algorithm

  • @Dgi4zhotsxnofw
    @Dgi4zhotsxnofw หลายเดือนก่อน +9

    Wtf is that thumbnail

    • @piked86
      @piked86 หลายเดือนก่อน +6

      A Turk

    • @Kwijibob
      @Kwijibob หลายเดือนก่อน +3

      most definitely not a bug, it's a feature.. yeah

    • @4.0.4
      @4.0.4 หลายเดือนก่อน

      A lawyer

  • @lte6983
    @lte6983 หลายเดือนก่อน

    This is by design, that’s why they warn you.

  • @WHAT-GRINDS-MY-GEARS
    @WHAT-GRINDS-MY-GEARS หลายเดือนก่อน +2

    Gitea works very well

  • @Alex-ee5pl
    @Alex-ee5pl หลายเดือนก่อน +5

    kenny haccs

  • @ytnukesme1600
    @ytnukesme1600 หลายเดือนก่อน

    Microsoft as per usual labels bugs as "features" just to cheap out on bug bounties. they're truly one of the multi-billion tech companies of all time.

  • @WebSurfingIsMyPastime
    @WebSurfingIsMyPastime หลายเดือนก่อน +4

    Mental Outlaw killing it with all the interesting new content these days

  • @darkWolf354
    @darkWolf354 หลายเดือนก่อน

    It's more hard to undestand a running system using old and extensive data than it is to break the current one security... any big enterpreise piece of application with 3 years old code is missing to many updates to be much useful at all.
    Your company took 2 years to change from server side authentication to client side authentication, and you catch the 1 year of code updates... how great!

  • @luciphonicverdigris3149
    @luciphonicverdigris3149 หลายเดือนก่อน

    Oooh, some glowing gate keeping dragons be here. Bad opsec for a first post, but I don't mind. All Hail The Outlaw!

  • @yur1x0nly
    @yur1x0nly หลายเดือนก่อน

    Wild West approach I like it

  • @SpartanONegative
    @SpartanONegative หลายเดือนก่อน

    My computer programming college professor flew a helicopter in Vietnam and was one of the people who created the internet in the Army. The only way we could get extra credit in his class was to tell him what the jet stream speed was in the morning 😂 My brother went to school for it repair and had to take ethics..I asked my professor why we didn't take ethics and he said we need to think unethically so we can put up with hackers. My youngest son is 11 and writes his own code. I bought him a nice PC. He builds raspberry pie stuff. Sullivan recovering data if you turn your computer off I'm going to charge you whatever I want over a million dollars to get that stuff back if you don't turn your computer off just leave it alone Frozen I'm not going to charge you that much money to get your data back. If its frize thats good, we can go back. I just learned how to track down data stuck in limbo trying to get uploaded to the cloud but can't be found except for up there in the buffer banks 😂 my teacher taught our class to be dangerous 🙏 Wisconistan 🏴‍☠️🦅

  • @yogurtColombiano
    @yogurtColombiano หลายเดือนก่อน +7

    too many suspicious women here.

  • @CreativeWerxGFX
    @CreativeWerxGFX หลายเดือนก่อน

    Holy crap, talk about sweeping the dirt under the github rug! 😂

  • @Wakooify
    @Wakooify หลายเดือนก่อน

    It's a bit more than 16^4, it's 64^4 combinaison to brute force a sha1 hash of 4 characters long. At 16 the collision risk would be too high.

    • @shadamethyst1258
      @shadamethyst1258 หลายเดือนก่อน

      Where do you get this 64 from?

  • @uniqueprogressive9908
    @uniqueprogressive9908 หลายเดือนก่อน

    I knew about this for ages, i remember downloading a minecraft bot that got deleted on github with it

  • @xxXXuser69420XXxx
    @xxXXuser69420XXxx หลายเดือนก่อน +2

    I will never not imagine a colorful tortilla every time Kenny says "the Tie dye Tor tee (lla)"

    • @Jango1989
      @Jango1989 หลายเดือนก่อน

      🤦

  • @nilkonom
    @nilkonom หลายเดือนก่อน +7

    I'm just waiting for the day some rogue intern runs git gc --aggressive on all the repos on github.

  • @juanvalcecchi3464
    @juanvalcecchi3464 หลายเดือนก่อน +2

    as always, thank you

  • @danielgallan5143
    @danielgallan5143 หลายเดือนก่อน +5

    typical microsoft

    • @Kermit2k
      @Kermit2k หลายเดือนก่อน

      Typical people that think you can "erase" leaked sensitive information. That's how the internet works, once it's out the box, it will never get back in the box. The only way to address key leaks is to change the keys. What's the point of erasing credentials? You gonna keep reusing them after leaking them in the hopes nobody saw?

  • @RoofusRoof19
    @RoofusRoof19 หลายเดือนก่อน

    How else would microsoft leak the google search algorithm if they didn't have this "feature"

  • @rekire___
    @rekire___ หลายเดือนก่อน +6

    _How many time we have to teach you old man_

  • @graealex
    @graealex หลายเดือนก่อน

    This is such a non-issue. I use SHA1 hashes as access keys without further authentication. Because if you know that key, you either already have the file and its full contents, or you have been brute forcing for about a million years.
    Assuming everything is secured by HTTPS, no MITM will ever have access to the commit hash, but the two parties that already know the contents of the commit.

    • @bashisobsolete.pythonismyn6321
      @bashisobsolete.pythonismyn6321 หลายเดือนก่อน

      waaay too complicated. i just print it out and post it on the public noticeboard in the town square. that way, privacy is truly a non issue.

    • @graealex
      @graealex หลายเดือนก่อน

      @@bashisobsolete.pythonismyn6321 Please only speak after consulting your brain.

  • @quebono100
    @quebono100 หลายเดือนก่อน

    In my opinion companies are trying everything to not to pay bug bounties.

  • @NekoiNemo
    @NekoiNemo หลายเดือนก่อน +1

    What the fork, GitHub?

  • @cynth4941
    @cynth4941 หลายเดือนก่อน

    Serious question, what happens if someone uploads like CP or revenge corn to a fork on Github?
    Not trying to ragebait, but genuinely curious, it's impossible to delete? That shit will stay on their servers forever?
    (I know you can't upload huge videos to Github, but images do work).

  • @kcnl2522
    @kcnl2522 หลายเดือนก่อน +1

    Billion dollar hype train AI projects are not opensource on github anyway.

  • @PopescuAlexandruCristian
    @PopescuAlexandruCristian หลายเดือนก่อน

    If you have keys in your repo you kind of deserve this.

  • @RoofusRoof19
    @RoofusRoof19 หลายเดือนก่อน +1

    Another day another reason to selfhost your stuff

  • @NicholasHickam
    @NicholasHickam หลายเดือนก่อน +2

    Does GitLab inherit this flaw?

    • @Dipj01
      @Dipj01 หลายเดือนก่อน

      Exactly, I'm curious now

  • @Hotshot24-7
    @Hotshot24-7 หลายเดือนก่อน

    How do you know so much about computer science ? I wanna be like you

  • @JoshPocketwatch
    @JoshPocketwatch หลายเดือนก่อน +1

    Kinda ur fault if u hardcode api keys

  • @gyrgamer8936
    @gyrgamer8936 หลายเดือนก่อน +5

    Git gud?

  • @TehPwnerer
    @TehPwnerer หลายเดือนก่อน

    Instead of deleting what if you rewrote history? I suppose this is similarly forked and you'd have quite the same problem 🤔

  • @rotemlv
    @rotemlv หลายเดือนก่อน

    Well it would be literally impossible to just delete the key in this case...

  • @evanmcdonnal
    @evanmcdonnal หลายเดือนก่อน +4

    None of this is a vuln in GH. These are Git features coupled with user error. You’re very wrong. GH doesn’t own git. This can all be done on the command line in Git. Microsoft doesn’t own Git. It was made by Linus Torvold and is open source. Ironic since you think open source confers special security features and don’t know how to use Git. People making these mistakes should not be employed and given access to sensitive source code. That is the only solution, unless of course you think commit history in Git should be obfuscated/destroyed to make up for idiot employees leaking secrets.

    • @Dipj01
      @Dipj01 หลายเดือนก่อน

      There is nothing in git called 'fork'. Forking is very much a GitHub thing. Ironic how you don't know this basic thing and start spewing nonsense and downplaying risks like you're some know-it-all.
      Github's fork gives an illusion that you're copying a repo, which will make users think whatever they do in their own fork isn't accessible from somewhere else.
      Now reading the docs carefully suggests it's more akin to creating a new branch rather than forking, but again, it's not immediately obvious.
      And everyone knows not to put api keys in source control but mistakes can happen. There should be a way to undo it/privatise it (yes, the most effective way would be to cycle the api key itself, but github should provide a way to protect it just in case).
      If you're so much about not making mistakes and mistakes can only be made by "idiots", I hope you never use your undo button, because you shouldn't even have made a mistake to begin with (cause you're not an idiot are you?).
      An attack vector is an attack vector and downplaying it as skill-issue has only ever caused harm.
      Making things (somewhat) foolproof goes a long in reducing attack vectors.
      This is why we have password validation forcing users not just give 1234 as password and call it a day.
      Please educate yourself on git and cyber security before downplaying risks.

    • @evanmcdonnal
      @evanmcdonnal หลายเดือนก่อน

      @@Dipj01 the user made a bad commit and pushed it remotely. What do you suggest GH do about it? Commit history is a native Git feature and I don’t care what labels GH adds to repos. His commit, if left long enough, is probably in web archives as well. Should GH purge that for you too? Bottom line is you can’t push a bad commit remote, especially to a public repository. This is chiefly a skill issue.

  • @hrr597
    @hrr597 หลายเดือนก่อน +2

    Cant wait for it to get patched as soon as this video takes off.

  • @Acor3pl
    @Acor3pl หลายเดือนก่อน

    Honest question: why gitea? is something wrong with gitlab?

  • @gd44481
    @gd44481 หลายเดือนก่อน

    Are you gonna talk about the secure boot key leak?

  • @ywueeee
    @ywueeee หลายเดือนก่อน

    wait even for the private one, wouldn't it have the same issue. i think that's how git works?

  • @TheSkypeConverser
    @TheSkypeConverser หลายเดือนก่อน +2

    Likes the video

  • @NorthEagle
    @NorthEagle หลายเดือนก่อน

    No new information lol. I’m just curious if force pushes actually delete data or also don’t

    • @mxalltheway
      @mxalltheway หลายเดือนก่อน

      if someone knows the hashes force push doesnt help.

    • @NorthEagle
      @NorthEagle หลายเดือนก่อน

      @@mxalltheway isn't the main problem then that github doesn't do garbage collection?

  • @k98killer
    @k98killer หลายเดือนก่อน

    I host a number of git repos on my Raspberry Pi.

  • @calebburke91
    @calebburke91 หลายเดือนก่อน

    I hate microsoft just as much as the next arch bro, but this is intended git behaviour

  • @Levi_OP
    @Levi_OP หลายเดือนก่อน +1

    *Repository's

  • @mikeb1085
    @mikeb1085 หลายเดือนก่อน

    if it was a feature there should be an option to turn it off

    • @mikeb1085
      @mikeb1085 หลายเดือนก่อน

      we're lacking options in this world

  • @ZANF3R
    @ZANF3R หลายเดือนก่อน

    You def wouldn't be making a billion dollar program if you forget to gitignore any env file holding keys 💀(8:00 you mention it)

  • @doctorothon
    @doctorothon หลายเดือนก่อน +3

    liked and commented

  • @kuzme5988
    @kuzme5988 หลายเดือนก่อน

    2018?! bro i thought it was couple of years ago...

  • @Gokhan-er8qv
    @Gokhan-er8qv หลายเดือนก่อน

    who commits their secrets to git? no one should ever do that.

  • @mrgeebee1622
    @mrgeebee1622 หลายเดือนก่อน

    To bad it's so hard these days to get MXR

  • @nikolaimarcusandersen165
    @nikolaimarcusandersen165 หลายเดือนก่อน

    A bit of a clickbait… It’s very niche and kinda not realistic to do harm in any normal situation

  • @YoKKJoni
    @YoKKJoni หลายเดือนก่อน

    so if your not forking all is good yeah?

  • @djpuplex
    @djpuplex หลายเดือนก่อน

    Good all the good shit always gets deleted.

  • @Applecitylightkiwi
    @Applecitylightkiwi หลายเดือนก่อน +2

    Nice