
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.
hodor-loader
Advanced tools
_| | |_ _ _ _ _ _ _
|_ . _|| |_ ___ | | __| | | |_ | |_ ___ __| | ___ ___ _ _
|_ _|| ' \ / _ \ | | / _` | | _| | ' \ / -_) / _` | / _ \ / _ \ | '_|
|_|_| |_||_| \___/ _|_|_ \__,_| _\__| |_||_| \___| \__,_| \___/ \___/ _|_|_
_|"""""|_|"""""|_|"""""|_|"""""|_|"""""|_|"""""|_|"""""|_|"""""|_|"""""|_|"""""|_|"""""|_|"""""|
"`-0-0-'"`-0-0-'"`-0-0-'"`-0-0-'"`-0-0-'"`-0-0-'"`-0-0-'"`-0-0-'"`-0-0-'"`-0-0-'"`-0-0-'"`-0-0-'
This webpack loader allows statically replacing string literal and literal template syntax in JavaScript source code with Hodor before it gets bundled and interpreted.
Smells like an experimental manipulative Lexer, huh?!
Heads-up: I simply do this for fun; use at your own risk.

Hold the door! Holddoor! Hodor! https://youtu.be/5DoBY8M_bCg
npm isntall hodor-loader --save-dev
Given this webpack config:
{
// ...,
module: {
rules: [
{
test: /\.m?js$/,
use: 'hodor-loader'
}
]
},
// ...
}
It will transform the matching JS file source code, e.g.
console.log('hello, world');
document.querySelector('#app').textContent = 'the quick brown fox jumps over a lazy dog';
// alert("hold the door");
document.writeln('hold, the; door!');
const x = 42;
console.log(`the answer is ${x}`);
...into:
console.log('HODOR, HODOR');
document.querySelector('#HODOR').textContent =
'HODOR HODOR HODOR HODOR HODOR HODOR HODOR HODOR HODOR';
// alert("hold the door");
document.writeln('HODOR, HODOR; HODOR!');
const x = 42;
console.log(`HODOR HODOR HODOR HODOR`);
Glenn Dwiyatcita (@dwiyatci)
WTFPL – Do What the Fuck You Want to Public License.
See LICENSE.txt.

FAQs
A webpack loader for hodorifying JavaScript code
The npm package hodor-loader receives a total of 1 weekly downloads. As such, hodor-loader popularity was classified as not popular.
We found that hodor-loader 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.