
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.
A configurator library
clobfig looks for a config/ folder one folder up or in the root of the running application using appRoot. clobfig clobbers all of the files within the config folder found that have 'config.js' in their name and all .json files. The json files are loaded first and are loaded as [name].json (ex: pages.json => clobfig.pages). Note: all json files are loaded this way with the exception of config.json
Finally, clobfig provides a mechanism for overridding values from a present package.json file. Using the schema title: "@{title}" tells clobfig to pull this value from the package.json file in the root of the project. You can prime the loading of clobfig by simply passing the values to grab from the package.json with:
const config = require('clobfig')({ title: "@title" })
/config/config.json:
{
"value1": "one"
}
/config/config.js:
module.exports = {
version: "@version"
}
/config/data.json:
{
"somedata": "somevalue"
}
/package.json:
{
"title": "example app",
"version": "0.1.0"
}
/index.js:
const config = require('clobfig')({ title: "@title" })
console.log(config)
The code example above will output:
{
title: "example app",
version: "0.1.0",
data: {
somedata: "somevalue"
},
value1: "one"
}
FAQs
A configurator library
The npm package clobfig receives a total of 13 weekly downloads. As such, clobfig popularity was classified as not popular.
We found that clobfig 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.