
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.
stencyption
Advanced tools
Military-grade JavaScript encryption with AES-256-GCM, polymorphic obfuscation, and anti-debugging protection. Each file gets unique encryption keys embedded in heavily obfuscated code.
Advanced JavaScript code encryption tool that protects your source code while keeping it executable.
npm link
After linking, you can use the stencyption command globally.
stencyption encrypt myfile.js
This creates myfile.encrypted.js
node myfile.encrypted.js
# Encrypt with custom output name
stencyption encrypt app.js -o protected.js
# Encrypt files with relative imports
stencyption encrypt bot/login/login.js -o bot/login/login.encrypted.js
# Encrypt complex projects
stencyption encrypt src/index.js -o dist/index.encrypted.js
✅ Global context preservation - Works with files that use global variables (NEW in v1.0.10!)
✅ Complete file encryption - Encrypts entire source code as-is
✅ Relative imports - Works with require("./local/module")
✅ npm packages - Works with axios, crypto, cheerio, lodash, etc.
✅ AES-256 encryption - Military-grade encryption
✅ 5-layer obfuscation - Advanced code protection
✅ Zero performance overhead - Fast execution
Use the provided encrypt.js script or create your own:
const fs = require('fs');
const { Encryptor } = require('./src/index.js');
// Read your source code
const sourceCode = fs.readFileSync('myfile.js', 'utf8');
// Encrypt it
const encrypted = Encryptor.encrypt(sourceCode);
// Save encrypted version
fs.writeFileSync('myfile.encrypted.js', encrypted, 'utf8');
console.log('✅ Encryption complete!');
The tool encrypts your entire JavaScript file including:
Nothing becomes undefined - everything is preserved exactly as you wrote it.
✅ Global context preservation - Files using global.utils, global.GoatBot, etc. now work correctly
✅ Large file encryption - login.js and utils.js type files encrypt without errors
✅ Relative imports now work - require("./logger/log.js") works perfectly
✅ No more undefined errors - Properties like .hex, .toString() work correctly
✅ Complete file encryption - No missing imports or variables
✅ Proper path resolution - Encrypted files execute from correct directory
# Show help
stencyption help
# Encrypt a file
stencyption encrypt <input-file> [-o <output-file>]
1.0.10 - Latest version with global context preservation fix
ISC
FAQs
Military-grade JavaScript encryption with AES-256-GCM, polymorphic obfuscation, and anti-debugging protection. Each file gets unique encryption keys embedded in heavily obfuscated code.
The npm package stencyption receives a total of 153 weekly downloads. As such, stencyption popularity was classified as not popular.
We found that stencyption demonstrated a healthy version release cadence and project activity because the last version was released less than 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.