
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.
The first objective of this package comes from the need to get a daily backup to my email with attachments. Let's say you need to back up a database every day and send a compressed file to the same email, several times a week as a cron job.
Node.js v6+
$ npm install -g mailatt
$ mailatt --version
$ npm install mailatt
$ ./node_modules/.bin/mailatt --version
To use this command, you need an SMTP address transport with the username and password that you can configure with the --configure parameter.
You will be prompted to enter the configuration :
| Question | Description |
|---|---|
| SMTP address: | The SMTP server address |
| username: | The SMTP user name |
| password: | The SMTP password |
| to: | The email of the recipient |
| reply To: | The email to reply |
| from: | The email of the sender |
| subject: | The subject of the email |
| html: | The body text in html format |
Example:
$ mailatt --configure
? SMTP address: smtp.example.com
? username: username
? password: password
? to: to@example.com
? reply To: from@example.com
? from: from@example.com
? subject: daily backup
? html: <h1>My Backup</h1>
The configuration was saved!
When the configuration is complete, this package uses an email template with attachments specified by his operands. You can send multiple attachments by adding multiple paths separate by space. If the email is sent successfully, you will receive a confirmation message. email sent successfully! If not, you will get an error why. Example:
$ mailatt ./backup1.zip ./backup2.zip
email sent successfully!
Note that you can use wildcard character * as operands to send attachments that correspond to the pattern matching. Example:
$ mailatt *.zip
email sent successfully!
Usage: mailatt [options] [file ...]
Options:
--configure configure the transport and the email fields
--version output the version number
$ npm install -g mailatt@latest
# or
$ npm install mailatt@latest
$ npm uninstall -g mailatt
# or
$ npm uninstall mailatt
FAQs
Send email attachments
The npm package mailatt receives a total of 23 weekly downloads. As such, mailatt popularity was classified as not popular.
We found that mailatt 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.