
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.
babel-plugin-modular-graphql
Advanced tools
A small transform plugin to cherry-pick GraphQL modules so you don’t have to. Basically babel-plugin-lodash for graphql.
This automatically finds the most specific import from the graphql module's files and folders that works across GraphQL.js v14, v15, and v16.
npm install --save-dev babel-plugin-modular-graphql
# or
yarn add --dev babel-plugin-modular-graphql
And add the plugin to your Babel config; it doesn't take any options.
Imports like these:
import { parse, Kind } from 'graphql';
Become:
import { parse } from "graphql/language/parser";
import { Kind } from "graphql/language/kinds";
require()graphql's files. This may break if files at a depth of 1–2 change their names.FAQs
Modular GraphQL.js import paths without the hassle
The npm package babel-plugin-modular-graphql receives a total of 656 weekly downloads. As such, babel-plugin-modular-graphql popularity was classified as not popular.
We found that babel-plugin-modular-graphql 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.