
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 node package for serializing and deserializing JSON data to hstore format
$ npm install pg-hstore
var hstore = require('pg-hstore')();
var source = { foo: "oof", bar: "rab", baz: "zab" };
hstore.stringify(source, function(result) {
...
// result = '"foo"=>"oof", "bar"=>"rab", "baz"=>"zab"'
...
});
var hstore = require('pg-hstore')();
var source = '"foo"=>"oof", "bar"=>"rab", "baz"=>"zab"';
hstore.parse(source, function(result) {
...
// result = { foo: "oof", bar: "rab", baz: "zab" }
...
});
Sequelize is a promise-based Node.js ORM for Postgres, MySQL, MariaDB, SQLite, and Microsoft SQL Server. It supports many features including transactions, relations, and migrations. Unlike pg-hstore, which is focused specifically on hstore serialization and deserialization, Sequelize provides a full ORM solution with broader database interaction capabilities.
pg-promise is a PostgreSQL interface for Node.js that provides a flexible and powerful way to interact with PostgreSQL databases. It supports query building, transactions, and connection management. While pg-promise does not specifically focus on hstore, it can be used in conjunction with pg-hstore to handle hstore data types.
FAQs
A module for serializing and deserializing JSON data into hstore format
The npm package pg-hstore receives a total of 559,673 weekly downloads. As such, pg-hstore popularity was classified as popular.
We found that pg-hstore 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.