
Research
Namastex.ai npm Packages Hit with TeamPCP-Style CanisterWorm Malware
Malicious Namastex.ai npm packages appear to replicate TeamPCP-style Canister Worm tradecraft, including exfiltration and self-propagation.
windows-env
Advanced tools
Normalized environment variables for Windows XP and up.
const env = require('windows-env')
console.log('32-bit Program Files: %s', env.PROGRAMFILES_X86)
// This is true even if you run it with 32-bit Node.js
if (env.X64) {
console.log('64-bit Program Files: %s', env.PROGRAMFILES_X64)
}
All of process.env uppercased, and:
PROGRAMFILES_X86: C:\Program Files (x86) on 64 bit Windows, else C:\Program FilesPROGRAMFILES_X64: C:\Program Files on 64 bit Windows, else undefinedUSERPROFILE: USERPROFILE or HOMEDRIVE + HOMEPATHLOCALAPPDATA: this is usually USERPROFILE\AppData\Local, falls back to USERPROFILE\Local Settings\Application Data for Windows XPX64: true on 64 bit Windows, regardless of node's bitnessWith npm do:
npm install windows-env
MIT © Vincent Weevers
FAQs
Normalized environment variables for Windows XP and up
The npm package windows-env receives a total of 622 weekly downloads. As such, windows-env popularity was classified as not popular.
We found that windows-env demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
Malicious Namastex.ai npm packages appear to replicate TeamPCP-style Canister Worm tradecraft, including exfiltration and self-propagation.

Product
Explore exportable charts for vulnerabilities, dependencies, and usage with Reports, Socket’s new extensible reporting framework.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.