GitHub Tightens npm Publishing After Flaw Left 1,500+ Packages Vulnerable to Hijacking

GitHub has decided to expire unvalidated npm trusted publishing configurations 48 hours after creation, after finding that it was possible for an attacker to push new versions of a different user’s package without having to steal their credentials.

Your configuration is validated and exempt from expiry after the first successful publish, the Microsoft-owned subsidiary said. To change the repository or project identity is to require a new trust relationship with a fresh 48 hour validation window, while edits to it won’t restart the deadline.

The change includes the risk of trusting a repository or project name, changing ownership, as GitHub said, while also that npm also reject trusted publishing tokens from GitHub Actions issue_comment events going forward, as well as the Existing pull_request_target restriction read more about GitHub Tightens npm Publishing After Flaw Left 1500+ Packages Vulnerable to Hijacking

Get up to date on the latest cybersecurity news and enhance your knowledge of cybersecurity with our thorough coverage of the dangers, breaches, and solutions.

Leave a Reply

Your email address will not be published. Required fields are marked *