
Research
GemStuffer Campaign Abuses RubyGems as Exfiltration Channel Targeting UK Local Government
GemStuffer abuses RubyGems as an exfiltration channel, packaging scraped UK council portal data into junk gems published from new accounts.
@postgresql-typed/postgres
Advanced tools
A type-safe PostgreSQL client for Node.js (Using the postgres module)
A type-safe PostgreSQL client for Node.js (Using the postgres module)
Install @postgresql-typed/postgres and @postgresql-typed/cli (For generating types)
npm install --save @postgresql-typed/postgres
npm install --save-dev @postgresql-typed/cli
A documentation website is coming soon for the entire PostgreSQL-Typed ecosystem to explain how to use the system and all of its features.
# Generate types
npx pgt gen
import { Client, isReady } from "@postgresql-typed/postgres";
import { Databases, DatabasesData } from "./__generated__/index.js";
const client = await new Client<Databases>(
DatabasesData,
process.env.DATABASE_URI
).testConnection();
if (!isReady(client)) {
throw new Error("Client not ready");
}
const table = client.table("<your table path>");
const result = await table.select.execute("*");
if (!result.success) {
throw new Error("Failed to select");
}
console.log(result.data.rows);
This package is part of the PostgreSQL-Typed ecosystem.
FAQs
A type-safe PostgreSQL client for Node.js (Using the postgres module)
We found that @postgresql-typed/postgres 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
GemStuffer abuses RubyGems as an exfiltration channel, packaging scraped UK council portal data into junk gems published from new accounts.

Company News
Socket was named to the Rising in Cyber 2026 list, recognizing 30 private cybersecurity startups selected by CISOs and security executives.

Research
Socket detected 84 compromised TanStack npm package artifacts modified with suspected CI credential-stealing malware.