The npm package 'scan-only' contains malicious code in its CLI binary 'bin/scan-only.js' that, when executed, exfiltrates sensitive installer-side secrets including credentials and configuration files to a hardcoded attacker server. It then fetches and executes attacker-controlled shell commands, enabling arbitrary code execution on the host. The package disguises itself as a diagnostic tool and uses brand impersonation to evade detection. Any system running this package should be considered fully compromised.