
Research
/Security News
OpenAPI React Query Codegen Compromised in Mini Shai-Hulud npm Supply Chain Attack
Ten malicious OpenAPI React Query Codegen versions were published to npm in the Mini Shai-Hulud attack, all with valid provenance.
@papi-ai/adapter-pg
Advanced tools
PAPI PostgreSQL adapter — read/write shared layer entities in PostgreSQL
PostgreSQL adapter for PAPI. Reads and writes project data to a Supabase-hosted PostgreSQL database.
This adapter implements the PapiAdapter interface using PostgreSQL (via Supabase) as the storage backend. It's the recommended adapter for hosted/production usage — all data is stored in the database with Row Level Security (RLS) for multi-tenant isolation.
npm install @papi/adapter-pg
This adapter is bundled into @papi/server — install separately only if building custom tooling.
Set these environment variables to connect to your Supabase instance:
| Variable | Required | Description |
|---|---|---|
DATABASE_URL | Yes | PostgreSQL connection string |
PAPI_PROJECT_ID | Yes | UUID identifying your project in the database |
MIT
FAQs
PAPI PostgreSQL adapter — read/write shared layer entities in PostgreSQL
The npm package @papi-ai/adapter-pg receives a total of 534 weekly downloads. As such, @papi-ai/adapter-pg popularity was classified as not popular.
We found that @papi-ai/adapter-pg demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Research
/Security News
Ten malicious OpenAPI React Query Codegen versions were published to npm in the Mini Shai-Hulud attack, all with valid provenance.

Security News
Socket joins more than 100 technology, cybersecurity, and financial organizations calling for a global surge in cyber defense.

Product
Enterprise security teams can now detect malware, credential theft, suspicious network activity, and risky updates across Microsoft Edge extensions.