Start by saying thank you for our next speaker for all of his sleepless nights, whether he's paid for it or not. He's here to give this to all of you. Thank you. One, two, okay. Okay, it works. Clicker test, clicker test, clicker test. Our story begins on March 14th, 2025. At about 4 p.m. UTC, an attacker was able to compromise a popular GitHub actions repository called TJ actions change files. The attacker injected code to the repository that was printing all of the CI runner's secrets to the CI runner's logs. About 4 hours later, the first issue was created on GitHub, pointing out that something odd was going on in this repository and that consumers of it were getting their credentials leaked. The following days were a mess in the GitHub actions ecosystem. We had companies trying to warn users against using this action. We had CVEs being created and overall fear was sown among the GitHub actions users. Everybody posted about the leakage and the TJ actions was compromised. However, this was not the attack. The leakage was not the point of the attacker here. So, my name is Aviad and welcome to today's talk, Not Just a Pipeline Leak, Reconstructing the Real Attack Behind the TJ Actions Incident. Um, a word about myself , um, my name is Aviad Hachami, previously a security researcher at Power Auto Networks . Um, currently an eBPF engineer at Autigos.io and I'm interested in bug bounty, graph theory, lack of fermentation and other stuff. Um, right before I start, I'd like to say two things. First, um, parts of my family, my parents are here. So, they came all the way to DEF CON. Thank you. Here's the voice crack. Um, they came all the way to DEF CON. Last year they didn't believe I gave a talk here so they had to see it in their own eyes. Uh, thank you for coming. Um, this is exciting, I really appreciate it and I hope you'll last past for, uh, slide number four. Um, second, my wife and a group of my friends sit at my house now watching this. Um, here's a drinking game for you and for future YouTube, uh, viewers. Whenever I say TJ Actions, take a sip. I'm an alcoholic, trust me. Alright. Okay, focusing. Okay. So, as I just said at the time of this research, I was a security researcher at Palo Alto Networks but no more so I'm gonna read this one. Um, this represent, this presentation covers research performed by my colleagues and myself during my time of employment at Palo Alto Networks. I have since left the company and no longer work for Palo Alto Networks and therefore I'm not speaking on their behalf here today. Um, I would like to thank Palo Alto Networks for allowing me to research, to share this research with the community. Alright. Cool. Um, so what's in this talk? This talk is going to be a debug level walk through the TJ Actions incident. We will uncover the end to end attack flow and track the timeline of it. We will go over the TTPs the attacker employed and break them down in order to get a better understanding at our ecosystem and its vulnerabilities. We will then go over how we at Palo Alto Networks were able to trace and uncover the steps of this attacker, um, and what tools we've utilized to do so. Um, I'll then share some additional victims of this attacker and the impact and wrap it up with some mitigations and, uh, a brain teaser. Something I'd like to ask you all and share with you. So, as I said, uh, our story, the TJ Actions story takes place in the GitHub world, uh, where anyone can make their code accessible to others. We know this today as the open source community, um, which we learned to rely upon and trust. Uh, we trust it so much that we have complete ecosystems rely upon that. A quick and easy example is the Golang ecosystem, right? Um, and within GitHub exists the CICD offering called GitHub Actions, uh, which allows users to execute arbitrary code from other open source repositories. Um, in that context such repositories are called Actions and by referencing them in our CI pipeline we allow GitHub to execute the actor, the Actions code, uh, in our context, uh, and perform various tasks like build, lints, tests, you name it. Um, and if you're curious to know how many engineers and developers, uh, actually rely on running arbitrary repositories code in their pipelines, then a recent paper showed GitHub Actions is said to be used by at least 33% of the market. Um, I did see some papers stating more than 50% but it seemed a bit like non-realistic so I went with a more conservative paper. And throughout the years, we as a community , we developed a habit of assuming that if something is accessible to us, um, and it's accessible to the masses, uh, we can rely upon it. We call it highly eyeballed, uh, well opinionated , we give it names, but basically it's accessible to the masses so we trust it. We actually trust it with our most sensitive processes like building our product. And attackers know that fact too. And when such a trust contract is breached, we get the following news. 23,000 project getting their credentials leaked to random people online. And while this is a severe thing, I agree, um, I just said a moment ago that this was not it. This was not the attack. And in reality, this was just the tip of the iceberg, um, the nuke, if you will say, at the end of the line. So let's start breaking down this attack. When we initially faced the attack, we were met with the following scenario. We had an attacker that somehow compromised the TJ Actions changed files repository. And this repository is actually, happens to be a popular GitHub Action that was used by many GitHub Actions users in their workflows. Um, and during the time of this event, whomever used this, uh, action got their credentials leaked. Pretty simple. When I say, by the way, a workflow, uh, that was used by many, then it implies you had or other had, uh, others had, um, this type of, uh, workflow definition in their repository, um, either public, private, you name it, um, and you were basically referencing the repo TJ Actions explicitly like we see here. And if you see it references, uh, V39, so it implies I want this repo at git tag V39. That's basically it. Um, when you have that in your pipeline, you basically tell, you say, hi GitHub Actions, run the code in this repository, in this repository in my context. Right? That said, um, after the initial, uh, uh, facing, two weeks after, we were, we were able to draw this diagram. Um, this was created by my team and, and myself and it's a much more complex diagram and contains many more steps than what we initially thought happened. I probably look like this with the slides behind me, with everything with all the arrows. So, instead of where we started this quest, uh, which is from the highlighted part of this diagram, in this talk we will actually start from the beginning. We, we will start from the attacker's position. By doing so, I'll be able to explain the TTPs in a constructive and progressive way and we'll be able to draw the complete events timeline in a coherent and continuous way and I hope things will make sense. Uh, once done, I'll discuss what tools we've utilized in order to be able to recline that tree and draw everything that you saw on the diagram. Thank you for the other hall. Um, so let's clear the board. Uh, we will use the diagram as our quest map. And at the bottom, between each movement of the attacker that I'll highlight in the quest map, um, I'll display a timeline and we'll put a point on each, for each event. Um, we can actually start and add what we already know. This is March 14th, 2025, the mass credential leakage, that's on the right hand side. Um, let's put our attacker on the board, they're going to be on the left hand side. And now let's see how the attacker finally reached the TJ Actions repository. First move by the attacker, compromising the spot bugs organization. This is the first move, this is what initiated everything. Let's see what they did. In order to do this step, the attacker employed, uh, a TTP called pawn request, a poison pipeline execution. And this is when an actor can run unauthorized code in your CI machine. Um, basically a CIRC if you want. So, let's visualize that. And there are many options, so I'm going to show you the one the attacker employed. Assuming you have this, uh, GitHub setup, you have your GitHub, uh, Actions CI setup and you have your repo, repo A. And let's also assume that somebody forked your repo. Then this is their position now, the attacker's repo. Um, from this point there are again many variations to perform a pawn request, but what our attacker did was create a malicious commit inside the fork and create a pull request. In response, the victim's CI got triggered and executed. Now, during the vulnerable execution of the CI workflow, it checked out the code from the forked repo. This is because of misconfiguration. This is the specific variation of pawn request. And executed the malicious code in its context. And now you have a malicious code executed in the context of a victim's repository and you could do many things, like in our case, exfiltrate all the secrets that are accessible to this machine. Let's see this TTP, uh, employed by our attacker. Um, so using this technique, the attacker targeted a vulnerable GitHub Actions workflow in an organization called Spot Bugs, specifically in a repository called Sonar Find Bugs. Here we can see the pull request of the malicious, uh, commit that the attacker created in their fork. Uh, all the attacker actually did was introduce a single line change inside the Maven W file, uh, which was later executed in this- in the CI workflow. Um, in the change we can see a curl to- to fetch a bash script, um, from the attacker's repo, piped to bash for execution, everything is being- all the STD out, uh, STD are being redirected to DevNow, so everything is muted as well. Um, and that was it. That's all the attacker had to do. Now this event took place in December 6th, 2024. That is more than 3 months prior to what we were told about the TGActions incident. And the result of this exploitation was a personal access token, a PAT, uh, of a maintainer, Spot Bugs maintainer, that the attacker was able to leaked- to leak, sorry. Um, I'll mention that if a PAT, uh, gets stolen as long as the owner does not revoke it, it's acce- it's, like, usable. It contains- it contains all the permissions the owner gave the PAT. And throughout this attack, this token was accessible to the attacker because the owner just didn't know. So we have this PAT in hand. Let's pop back our diagram. Here's our attacker, and here's the Sonar Find Bugs, uh, repository. And since the attacker collected a PAT by exploiting the pipeline like we just saw, the attacker now have admin access to Spot Bugs organization. Do note that the stolen access token had access to more repositories than what is shown on the screen, but I am only showing the repositories that took place throughout this attack. Let's see the timeline. Um, so we had on the right hand side March 14th, match cred- mass credential leakage. And on the very left hand side, we have Spot Bugs getting compromised. Let's move on. The second step of the attacker was recon and waiting. In the time following the attacks on Spot Bugs, the attacker used the stolen PAT they obtained for sniffing around and checking what other organizations and repositories they could access using that token. We only know that because of the help we got from the maintainer of Spot Bugs who was kind enough to share their activity log with us. Um, and I'd like to share something interesting that we could draw. So, um, actually it was deleted so I wouldn't share that. But here's an example of one of the things the attacker was able to find. Um, inside a repository Spot Bugs Spot Bugs, uh, which the attacker can now control using the stolen PAT, existed another interesting PAT. The attacker found out that there was another Spot Bugs maintainer and not the previously mentioned one, which had their own PAT being used as a secret for the GitHub Actions Workflows of Spot Bugs Spot Bugs. What made this specific PAT interesting to the attacker is that this maintainer was also a maintainer of another organization. And this organization is called Review Dog. Remember that fact. We're going to meet that in a second. And, thank you. And for the second step phase of step two, all the attacker did was to wait. Um, the attacker didn't exploit anything or perform any known lateral movements. Uh, although they technically could, they had the credentials, but they didn't do anything. And three months after that, after the compromise of Spot Bugs, the right target showed up. The whale surfaced. The attacker waited and waited. And then, on March 7th, a Coinbase maintainer pushed a GitHub Actions Workflow that utilized the TGAction change files repository. And that is when our attacker started moving and moving fast. In practice, the attacker moved so explicitly and boldly towards that Coinbase repository that they were basically admitting along some other IOCs. We will see indications of compromise we're going to see ahead. Uh, that Coinbase was the only thing that they were interested in throughout this attack. Let's put this date as well in our timeline. And this is March 7th, 2025. Coinbase becomes vulnerable. Now for the fast movement. Step number 3, lateral movement into the Review Dog organization. Uh, as I just showed you, during the recon phase, the attacker found out about the path of the Review Dog maintainer existing within Spot Bugs. Um, this token was the, the key into moving into Review Dog. And in order to exfiltrate this new path, the attacker had to interact with the code base. This is because they can't just use the path they stole to access to GitHub. Um, they can't just, it doesn't work like that. They can't click and view the secrets. GitHub hides that on their UI. So the attacker had to extract the token in a different way. Now, obviously, since the attacker had write permissions to Spot Bugs, they could simply push a malicious workflow, right? They had, they could do that. They had write permissions. And it would exfiltrate the token. But such a push makes a lot of noise. So, if the attacker would do that, they would have either push a new branch with a commit, which makes a lot of noise, or push a commit to another branch, which also, which also makes a lot of noise. So, what did they do here? Let's see that. Yup. TTP number 2, this is, uh, memberships and disposable users. So, this was the attacker's solution for this, uh, situation. In order to stay under the radar and not, uh, raise suspicions, the attacker created a dummy user, uh, called Juka of Avak. Um, I'm only mentioning that because, at the time, I tried to find what the hell that means. Something anime, I believe. But I wasn't able to decide on that. Um, and they invited this user to be a member of the Spot Bugs, Spot Bugs repository. Using that user, the attacker pushed a branch with a commit containing a malicious workflow that exfiltrated the said path. And once the workflow was triggered, the Juka of Avak user deleted itself and the branch. Now, this may be a bit complex. Let's see that, uh, visualized. So, we have, we're gonna use a sequence diagram we have in the, on the top, uh, the attacker, Juka of Avak, and the Spot Bugs, uh, Spot Bugs repository. We have step nu- 1, the attacker invites as a member the user. Um, step number 2, Juka of Avak, basically the attacker pushed a branch with a malicious workflow to Spot Bugs. Um, the CI of Spot Bugs kicks in, executes the malicious commit, and roughly the same time, Juka of Avak deletes the branch and itself. Um, let's see the artifacts of that. What we have here is the activity log, uh, of Spot Bugs. This is public, you can check it afterwards. Um, and we can see that a branch was created and deleted. We can see at the top the branch name, this is just gibberish, whatever Herber Kerber, whatever that means. Um, and if we would inspect the timelines, we will see the, uh, sorry, the time stamps of these, uh, events, we will see that they happened within the same minute. So pretty fast movement. This is the malicious workflow that the attacker pushed. If we zoom in, this is the workflow's trigger, so basically on push to this specific gibberish branch. Um, and the rest of the, uh, the workflow, the payload may seem a bit fancy, we're going to break that down, but it's pretty standard in the exfiltration world. Let's take a look. So at the top we have the attacker taking all the secrets that are available, um, to the machine and strigify them. They move on to generate an asymmetric AS key, encrypt this, um, encrypt the file with the secrets. And they move on to, uh, encrypt the encrypted secrets and the key with their own, uh, uh, public key that they hardcoded. And they uploaded this whole thing as a GitHub artifact so they can download it after. Now since everything is encrypted, even if you would see that online, you wouldn't be able to decrypt that, right? So this is how it's being done in the GitHub world. Um, now not only the attacker by exploiting this workflow, not only the attacker obtained the new path and was able to move laterally now into ReviewDog, by performing, uh, the exfiltration using this technique, the attacker left minimal footprint which made detecting the exfiltration a lot harder. Let's go back to our quest map. This is where we left our attacker. They can access pod bugs and, uh, in the newly highlighted part we can see what our attacker did using the dummy user and the malicious workflow they pushed. And once the deed was done, a new access token was obtained, a path for ReviewDog and the attacker's domain expended. I really hope someone is catching that, that reference, but yeah. Um, anyways, now in the highlighted part we can see the new options that the attacker unlocked and we can see on the right hand side the ReviewDog action set up repository and that the attacker can access it. Again, the attacker could access many other repositories but this is the one that mattered. Let's move on to the next step. Step number 4 of the attacker, lateral movement into the TJ actions organization. Okay, so this is the attacker's current position and as I just said the attacker is about to move into the TJ actions organization. Highlighted in blue, uh, you can see a dependency chain that the attacker is about to compromise where we can see that ReviewDog action set up is a dependency of an action called TJ actions ESLint changed file which is used in the repository TJ actions changed files as an action. Um, I remind you that the attacker already have an access token to the ReviewDog, um, and again they could just push a malicious commit , um, and infect this whole chain but instead they did something different. The attacker employed, uh, very interesting technique here which in my opinion is the most interesting one throughout this whole attack. Um, and it is, it is abusing one of GitHub's core, core features. Let's see what the attacker did. TTP number 3, um, we're gonna give it another name in a second but for commits and git tags. So on GitHub when a repository is forked, uh, it is added to the so-called fork network of the original repository. However, this is a GitHub feature, not a git feature. Git doesn't have forks, it has branches. So behind the scenes , forks are pseudo-branches or whatever it was wrapped in in the GitHub backend but it's just a branch. So a residual artifact of that, um, is that commits that were pushed to a fork are accessible from the main repo. Okay, so you can go afterwards and check it, um, make a fork , get your own repo and try to access a shaft from that fork and you'll be able to see that from your main repo. Um, now this when combining it with git tags is an interesting thing but I just want to add that in other words, committing to a fork is equivalent to pushing a branch to a repository you don't own. The code doesn't do anything but it's there. Let's combine it with git tags. So when combined it creates an interesting behavior if you are, don't remember, you don't remember for some reason git tags are just pointers to commit shafts. Um, so assume in this, this uh, main branch, assume this uh, consider this main branch on some repository and let's assume that it was forked and a malicious commit was pushed to that fork. According to what I just said, uh, about the commits inside forks, in GitHub all of these are roughly in the same, you can say in the same context, in the same repo's context. So with respect to git tags, if I have a git tag pointing to a commit shaft, for example, commit to, as seen in the diagram, nothing stops me from making that tag point to a commit from a fork . This TTP is a well thought one actually because it achieves two things. One, no commit noise , nothing was pushed to the repo, complete silence on that end. And second one, this is a GitHub audit log blind spot, it does not get logged there and without uh, like help from GitHub support, which they can obviously give you the ref logs, the git ref logs, without them doing that, you won't be able to see these events. So the attacker utilized this technique multiple times in the steps ahead and we're gonna refer to them as shadow commits. And let's see them in play. So back to our di- to the diagram and the about to be exploited dependency chain, let's remove the highlighted part and make the attacker earn it. So for this step, the attacker created a fork of the review dog action, the action set up repository like we saw happens in the shadow commit TTP. And then they pushed the following commit to it. This is that commit. Um, it's another weird looking uh, user name, ILM, whatever we used to call that earmon during the investigation. And we actually um, yeah we actually used to call it earmon and if we'll expand that diff, we'll see a base 64, a base 64 uh, encoded uh, string which decodes the Python program. You're gonna see that in a second. And some script underneath that. Uh, let's look into them. This is the same diff with the Python base 64 decoded. Let's zoom in. Here we can see the Python script. Um, it's a bit small but I'll tell you that uh, it is looping over the proc FS file system. Um, it extracts the maps and the memory of the processes it found. And down the line it basically prints them to the standard output. Now on the second part of that script we can see the snippet obviously decoding the base 64 which I've done for this talk. Um, writes it to a file, makes Python executed, takes the outcoming STD out, pipes it, does some filtering, some clean ups. Um, and prints it to the log. Now this may be a spoiler but this is pretty much the same code that later landed in the 23,000 repos. So once our attacker had this commit in place, we're in the shadow commits TTP. Once their commit was in place, they override the tag V1 of review dog action setup making it point to their malicious commit. We can see that highlighted. And let's put that as well in our timeline. This is an important event. This was March 11th, 2025. By doing the override step, our attacker poisoned the V1 tag of the review dog action setup with minimal footprint. And per our chain, since TGAction's ESLint change files was referencing the V1 tag of the action setup repository, it was now infected as well and was shipping the malicious code to its consumers. Among its consumers, the repository TGAction's change files was a consumer of it. Um, and this action ran as a part of its CI. Now, this didn't happen yet. TGAction's change file wasn't compromised yet, but the attacker was staged to do so. So all they had to do now was wait. Um, and we know that the tag was pushed on 642 PM UTC on, um, March 11th. And we found out that the tag was reverted to its previous value by the attacker, of course, less than 2 hours after the infection. That was 831 PM UTC, basically marking that the attacker was now inside TGAction's and they didn't need the review dog infection no more. Alright, since TGAction's change files ran the malicious code, the CI picked it up and ran the malicious code, all the secrets that were present on that machine, um, were leaked and compromised, were leaked to the attacker and compromised. And by that, our attacker obtained another set of access tokens with permissions and this time, 2 TGActions. Let's put this event in our timeline as well and let's move on. This is still March 11th and TGAction gets compromised originally. With our attacker staged at TGAction's change files and with full control over it, it was time for the attacker to infect the actual target. Coinbase. So the attacker had to infect the target. If you're unfamiliar with Coinbase, Coinbase is a NASDAQ traded crypto platform, uh, with a market cap of 106 billion dollars. Suddenly this attack makes sense. Um, it allows users to buy, sell and store digital assets like Bitcoin, Ethereum, whatever coins, um, using self-made tools like the highlighted repository agent kit. Specifically, this repository is described as every AI agent deserves a wallet. If you'd like to hear my rant about AIs, come meet me later. Um, so this repository, as I said before, was using TGActions change files, um, and that was the target of our attacker. Let's see what they did. Using the same TTP of shadow commits, the attacker created a fork of the repository TGActions change files and overrode the tag V39. This is highlighted. Um, this event takes place on March 13th, 2 days after the review dog infection and less than a week after Coinbase got into a vulnerable position. Let's add that as well. This is the commit the attacker made, um, throughout the, uh, shadow commits TTP. Uh, we can see highlighted, um, again, uh, a curl bringing some script and then later being executed by Python. But what's more interesting here than this payload is the smoking gun. We can see here the attacker explicitly and hardcoded the name of Coinbase and said to the machine, if you're not in Coinbase and there's an or if you see there, the or is to one of these dummy users. So if you're not in Coinbase or in my place, you execute. So even if you would use one of the malicious versions, if you're not Coinbase, you wouldn't get the impact. But that is a nice smoking, uh, gun. So with a committed tag in position, our attacker again had to wait for a CI machine of Coinbase to pick it up. And eventually it happened. On March 14th, 310 PM UTC, a CI machine of Coinbase picked up the malicious action and the credentials and secrets that were present on that machine got leaked to the attacker. Let's add that to the timeline. I decreased the size of the previous events to make some room. Um, and let's look at some indications of compromise. This is how the CI log of the infected machine of Coinbase looked like. Um, we can see in the upper right, uh, the permission execution had like, uh, write permissions for deployments or contacts, contents, which implies you can write to the repo. Um, and in the lower highlighted part, you can see that the shell of the malicious commit, um, the malicious commit the attacker made, you can see that it was fetched when the, uh, when the Coinbase machine tried to fetch V39. So instead of getting the actual V39 commit that was pointed to, the machine got the malicious version. Back to our attacker, after about an hour after Coinbase got compromised at 437 PM, Coinbase was notified that there is some suspicious activity in their CI pipeline. And they immediately identified that it was coming from the TJ Actions usage and removed the workflow that used TJ Actions. And at once, the link our attacker was building towards was deleted. Coinbase was no longer accessible for our attacker. Now, we assume the attacker noticed that the link was deleted because this is a great segue to what we're going to see next. Twenty minutes after the attacker lost the link to Coinbase, they decided to go all out and burn the field. They basically Leroy Jenkins'd everything we're going to see. On March 14th at 457 PM, the attacker performed the last shadow commit maneuver and the attacker overruled most, if not all of the commit, the attack, sorry, of TJ Actions change files, made them all point to the malicious commit they created with the secret logger that I showed you before that was printing to the logs. By doing that, the attacker basically nuked everything and we are arriving to what we learned to know as the TJ Actions incident. Again, as you saw, this was just the tip of the iceberg of this thing. And it took us some time but we were able to track the steps of this attacker, draw the complete attack flow diagram and I hope it was clear and I'll stop seeing comments like this on Reddit. So I'm aware this is a lot to digest and let me show you some pictures from behind the scenes. This is how one of the boards in our office during the investigation. Um, this is my personal notepad where you can see some classic uh, coffee stains on the left hand side and was few uh, all-nighters, fun times, great CTF honestly. Um, and let's go over the TTPs and put them in a list so we can understand what exactly happened here. So list of TTPs. Um, we got one, shadow commits abusing GitHub's fork network in order to introduce code changes to a repository's context without making actual commits to it. We got two, tag overrides abusing GitHub's audit log blind spot and silently redirecting consumers to different commit SHAs. We have three, the disposable members uh, where the attacker made the noise be associated to a disposed user and last and not least, upon request, RCNCI workflows due to various misconfigurations . Now, towards the end we're getting there, I want to share how we conducted this investigation. So as I said, we began here in the highlighted part and we had to climb back this whole chain and find all the evidence. So we've used the following tools. Uh, we heavily utilized the GitHub events data set on Clickhouse. Um, this is, if you're unfamiliar, a great SQL queryable tool based on the Clickhouse infrastructure, blazing fast, free. Um, but however it doesn't always contain all the information that we needed. So in order to get a better resolution and sp- at specific points, we've used the GitHub archive. I said it was referenced here yesterday in one of the talks, so it is a great tool apparently. Um, it allows you to download the logs of most GitHub events in a resolution of one hour. Um, comes in handy in cases like this. Thank you for that project. Um, and in addition we communicated to all- with all the involved maintainers and they were very kind and helped us draw the picture of this attack as we saw today. Great community. Uh, one shout out I would like to make is to Adnan Khan who tweeted this amazing lead, uh, during the investigation. Uh, there was a lot of discussions on- on X during the investigation and this was a great breakthrough. Um, I know Adnan is not in the crowd now- right now because he's giving a talk at 1 PM, um, on the creator stage 5 about- alongside looping about advanced offensive strategies in the supply chain, uh, ecosystem. I highly recommend that one. Now for additional victims and impact. Um, we observed that the attacker tested various payloads against a fork of Ultralytics and that was done 4 days, um, sorry 3 days after Ultralytics was breached on December 4th, 2024. We saw the attacker was testing with some payloads. Um, but we didn't find any impact although we saw the payloads. At the same- in the same fashion, the attacker played with a fork of Apache Superset. Uh, this is a data visualization- visualization framework, uh, 67.3K stars on GitHub. Uh, yet again we didn't find impact. We didn't detect. That said, the next repo, Model Federation, uh, core which is according to them, concept that allows developers to share code across multiple JavaScript applications. Um, we did see the infrastructure for the shadow commits, uh, being done, being made but we didn't see any logs and indications of compromise. So we did see the things but we weren't able to confirm that. So we're uncertain. And for the last repo, uh, by Baidu BC which is a one stop shop for AI native applications, uh, we were able to detect malicious pull requests and we know for a fact that their pipeline was compromised. Quick words about mitigation, um, here's the list again. Let's go one by one. So shadow commits, if you have forks allowed in your repo, you are opted in, nothing you can do. Um, tag overrides, you'd be happy to hear that GitHub is testing with immutable releases and tags. Um, this feature means that once you make a tag or release, they're uh, immutable, they're pointers and they will be immutable. Uh, this may be GitHub's take away from the post-mortem of this. Uh, I only know this because I stumbled across this LinkedIn post by a GitHub product manager, says she's in charge of the supply chain security at GitHub. Uh, you have at the bottom the QR to go to that uh, post. And in one of the comments she made, I found a link she shared to a gist of hers with details and specs of the immutable releases feature. Uh, the moment I saw it was marked as a secret, I forked it and you can access it here. Why not? Um, paired upon request, this is a well-covered topic in various uh, ecosystems. This is a little , a list of tools um, that can help you audit the uh, your pipeline basically. And the last mitigation advice here would be to stop the bad practice of using Git tags as Git, in GitHub Actions. It was covered previously many times. Most of the community still does that so thank you Biden, don't use that. And instead, prefer a 40 char Git sha, a complete one. Before I seal this talk with a brain teaser, um, I'd like to thank my colleagues at Power Alternate Networks, to Yaron, Assi, Omer, and Gil. Thank you for your part in this research and being amazing colleagues 24-7 and I'm annoying as hell so 24-7 was needed for me. And now for the last outstanding question with this research, of this research. Something I'd like to send you home to think about. Let's zoom out and look at the complete diagram. Uh, we saw that the attacker executed a well-planned attack. Uh, they had time during the execution. They used various techniques while executing it. Some are more impressive than others, I agree, but still various TTPs. And they moved very fast once Coinbase was vulnerable, right? Now, with respect to that, given that this was the final exploit of the attacker, an open source Python memory dumper that simply logs to the console and gets downloaded on each CI machine that is infected, um, that makes a lot of noise. They didn't make the script call home at the final exploit like they did on Coinbase. They could have, they didn't. They did make the network noise though. Um, and they didn't double encrypt the stolen credentials like they did for ReviewDog. They could have, they chose not to. Instead the attacker simply printed the secrets to the logs of 23,000 repos. That's a lot of credentials, a lot of potential money, um, and a lot of potential further lateral movements. Instead the attacker printed it to the logs. Logs are noisy, downloading, downloading in your CI stuff is noisy, so my question with respect to this whole research is why did the attacker choose to make that noise? The attacker eventually pushed a commit. It was a decision. It was an active thing. Um, why would they do that? Was this decision made by mistake? Um, the attacker was nervous about getting caught and bailed or they didn't have a proper exfiltration in place so they were unprepared for that masses of credentials? Um, we saw the TTPs, it doesn't really make sense. Or was it on purpose? They purposely tripped the wire. They made the noise. Um, what would be the reasons for that? Was that in order to make GitHub su- uh, stampeded GitHub support? Um, getting 25,000 Zendesk tickets can kill someone so maybe they just wanted to blog GitHub support? Or maybe it's an upcoming APT just trying to gain some street cred but then we're lacking the attribution. They didn't post anywhere who they are. So, these are open and there's another hypothesis saying what if there is a buyer and a seller here where the bu- where the seller found this Spotbugs token, sold it, and the second actor was not as professional. We did see, uh, a breach forums, uh, post on that, on the, on the pun request TTP, specifically mentioning, uh, Ultralytics by the way. Um, and that was the same month Spotbugs was exploited. So maybe it's related. So, the last outstanding for me, and that is my final slide, so, heh, thank you for your time. Um, the last outstanding question for me is, why? Why would you do that? Um, here's a link to our complete article regarding this incident, more IOCs, uh, more information, more complete timeline, how we exactly traced it back because tracing it back was a bit more confusing and long. And I would like to thank everyone who helped me make this talk, um, especially to my wife, which at this point knows more about TJ Actions than I do. Um, I was Aviad, find me on X, thank you for your time. This is it. Um, if there are any questions, I'll be answering them down here until we get kicked out and then outside. Thank you very much.