This module contains a deliberate credential-stealing backdoor: when sqrt_bn() is called and a .env file exists in process.cwd(), the code reads and parses the .env file and exfiltrates its contents via HTTP POST to Telegram Bot API endpoints (bot token embedded, specific chat IDs). The core math functions are benign, but the secret harvesting/exfiltration is malicious, unrelated to library functionality, and poses a severe supply-chain/security risk. Immediate remediation: remove/replace the package, revoke any exposed tokens found in .env, and audit systems for further compromise.
Live on npm for 14 hours and 50 minutes before removal. Socket users were protected even while the package was live.