The 'use-sync-external-store-shim' npm package is a malicious typosquatting package impersonating the legitimate React shim 'use-sync-external-store'. It contains a postinstall script that automatically exfiltrates the installer's hostname and current working directory to an attacker-controlled webhook during npm install without user interaction. This behavior represents a supply-chain reconnaissance stage aimed at gathering environment information from victims.