TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Popular GitHub Action tj-actions/changed-files is compromised

282 pointsby moyer2 months ago

2 comments

netvarun2 months ago
@dang: The original URL (from Step Security, the company that discovered this flaw) is a better source for this:<p><a href="https:&#x2F;&#x2F;www.stepsecurity.io&#x2F;blog&#x2F;harden-runner-detection-tj-actions-changed-files-action-is-compromised" rel="nofollow">https:&#x2F;&#x2F;www.stepsecurity.io&#x2F;blog&#x2F;harden-runner-detection-tj-...</a>
评论 #43369357 未加载
mgiladi2 months ago
We&#x27;ve recently released open-source tools that would have easily prevented this, before anything runs or added to any pipeline:<p>1. The maintainers could have used PRevent to immediately alert and block any PR containing malicious code, or easily configured it for detection in case of a direct push: <a href="https:&#x2F;&#x2F;github.com&#x2F;apiiro&#x2F;PRevent" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;apiiro&#x2F;PRevent</a><p>2. Users could have used our malicious code detection ruleset to immediately detect and block it when scanning updates in all relevant CI&#x2F;CD stages: <a href="https:&#x2F;&#x2F;github.com&#x2F;apiiro&#x2F;malicious-code-ruleset" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;apiiro&#x2F;malicious-code-ruleset</a><p>3. For a better understanding of the detection, the malicious code falls precisely into the patterns presented in our research: <a href="https:&#x2F;&#x2F;apiiro.com&#x2F;blog&#x2F;guard-your-codebase-practical-steps-" rel="nofollow">https:&#x2F;&#x2F;apiiro.com&#x2F;blog&#x2F;guard-your-codebase-practical-steps-</a>...