A list of projects claimed to be using it from the GitHub page: https://github.com/tj-actions/changed-files?tab=readme-ov-fi...
Looks like a lot of them are pinning to tags (which are not guaranteed to change) or SHA ( https://github.com/vitejs/vite/blob/8da04227d6f818a8ad9efc00... ) which is more hermetic.
Tj-actions/changed-files GitHub Action Compromised – used by over 23K repos
191–200 of 317 posts
Re: Tj-actions/changed-files GitHub Action Compromised – used by over 23K repos
#192Re: Tj-actions/changed-files GitHub Action Compromised – used by over 23K repos
#193Earlier quoted context omitted.
How so? Obviously this is ineffective at the package level but if the thing spawning these processes, like the GitHub runners or Node itself added support to enter a "restricted" mode and pledged then that would help, no?
According to https://www.openbsd.org/papers/eurobsdcon2017-pledge.pdf pledge turns off upon execve. Surely it would be quite limiting for runners to use it. As far as I see its purpose is mostly a mitigation/self-defence for vulnerabilities in C-based apps, so basically limiting what happens once the attacker has exploited a vulnerability. Maybe it has other uses. It could be used defending against bugs in the Node r…
At the very least, I think execpromises was added a year after the documentation that you linked, so it's worth looking into.
Re: Tj-actions/changed-files GitHub Action Compromised – used by over 23K repos
#194In recent years, it's started to feel like you can't trust third-party dependencies and extensions at all anymore. I no longer install npm packages that have more than a few transitive dependencies, and I've started to refrain from installing vscode or chrome extensions altogether. Time and time again, they either get hijacked and malicious code added, or the dev themselves suddenly decides to betray everyone's trust…
> Can you really say you trust all of these? We need better capabilities. E.g. when I run `fd`, `rg` or similar such tool, why should it have Internet access? IMHO, just eliminating Internet access for all tools (e.g. in a power mode), might fix this. The second problem is that we have merged CI and CD. The production/release tokens should ideally not be on the same system as the ones doing regular CI. More users nee…
I'd love to say "just use Kubernetes and run Nexus as a service inside" but unfortunately Network Policies are seriously limited [1]...
[1] https://kubernetes.io/docs/concepts/services-networking/netw...
Re: Tj-actions/changed-files GitHub Action Compromised – used by over 23K repos
#195I am surprised nobody here mentionned immutable github actions that are coming [1]. Been waiting for them since the issue was open in 2022. This would have significantly reduce impact and hopefully github will get it over the finish line. I always fork my actions or at least use a commit hash. [1] https://github.com/features/preview/immutable-actions
Re: Tj-actions/changed-files GitHub Action Compromised – used by over 23K repos
#196> https://github.com/tj-actions/changed-files/pull/2460 This kind of auto dependency bump bots are more trouble than their worth. If your app works today, bumping random deps won’t make it work better in any meaningful sense in 95% of cases. With such a small upside, the downside of introducing larger attack surfaces, subtle breakages (despite semver), major breakages, and in the worst cases, compromises (whether it’…
Re: Tj-actions/changed-files GitHub Action Compromised – used by over 23K repos
#197Anybody have a snapshot of the good one, or maybe a drop in replacement? The repo is gone now.
Re: Tj-actions/changed-files GitHub Action Compromised – used by over 23K repos
#198As the repo is was taken down is someone able to tell me when was the malicious commit pushed. Trying to get a timeline to see if any workflows using this action were trigger in that timeframe. Thank you
Your secrets will be published to the CI log if you were affected. I believe it's everything since around 10pm ET last night. I would consider any runs in the past 24 hours to be suspect.
Re: Tj-actions/changed-files GitHub Action Compromised – used by over 23K repos
#199Re: Tj-actions/changed-files GitHub Action Compromised – used by over 23K repos
#200In recent years, it's started to feel like you can't trust third-party dependencies and extensions at all anymore. I no longer install npm packages that have more than a few transitive dependencies, and I've started to refrain from installing vscode or chrome extensions altogether. Time and time again, they either get hijacked and malicious code added, or the dev themselves suddenly decides to betray everyone's trust…