Urgent.News

the world's headlines, one feed

Editions

Tech

The npm attack that turned provenance attestations into camouflage

Security researchers this week disclosed an npm supply-chain attack affecting more than 400 packages, including projects connected to Keyv and The post The npm attack that turned provenance attestations into camouflage appeared first on The New Stack .

The npm attack that turned provenance attestations into camouflage

<note>This brief is based solely on the information provided in the <report> block, without adding any outside knowledge or speculation.</note>

In a recent supply-chain attack, malicious npm packages affected over 400 projects, including those related to Keyv and Cacheable. The attackers exploited stolen developer credentials to publish the malicious versions, leveraging trusted workflows and publishing permissions. The attack, which began with Mini Shai-Hulud worm, spread through stolen maintainer credentials and infected developer machines and CI environments.

Once inside, the worm injected malicious preinstall hooks and bumped patch numbers, allowing the malware to run before application tests or security checks. This incident highlights the vulnerability of trusted publishing systems and the potential for malware to carry valid provenance attestations. To mitigate such risks, engineering teams are advised to isolate publishing from dependency installation, restrict automated processes, and keep publishing access away from parts of the pipeline that install dependencies.

Brief written by urgent.news from The New Stack's own syndicated text. Machine-written — it may contain errors, so check the original before relying on it.

Read the original at thenewstack.io →

More in Tech

Postgres Full-Text Search in Production: How to Load-Test the Index and Pin Down Relevance

Adding full-text search to Postgres is a two-line migration. Running it in production without surprises is not. The GIN index that makes search fast also adds write amplification and a background…

  • GIN index accelerates searches but increases write amplification in PostgreSQL.
  • Load testing required to validate search capabilities under real write rates.
  • Relevance contract measures configuration changes and defines expected query results.

Flock Accused of Reactivating Its Cameras Without Notifying a Town

A Massachusetts newspaper reports that officials from the town of Littleton (population: 10,141) "claim that five of Littletonâ(TM)s Flock Safety cameras were switched back on by the company without…

  • Five Flock Safety cameras reactivated in Littleton, Massachusetts.
  • Town officials canceled contract with Flock Safety after discovery.
  • Flock Safety considered installing dashcams in Uber, Lyft drivers' vehicles.