
Security News
/Research
Compromised Injective SDK npm Package Exfiltrates Wallet Keys and Mnemonics
Compromised Injective SDK npm version 1.20.21 exfiltrates wallet private keys and mnemonics through fake telemetry functionality.
@prisma/studio-core
Advanced tools
@prisma/studio-core is the embeddable Prisma Studio package.
It provides the same core experience as Prisma Studio: a visual way to explore schema, browse table data, edit rows, filter/sort/paginate records, inspect relation data, and run SQL queries with an operation log.
This package is published to npm and consumed by Prisma surfaces such as Console and CLI integrations.
Import the UI entrypoint, include the packaged CSS once, and pass a configured adapter into Studio:
import { Studio } from "@prisma/studio-core/ui";
import "@prisma/studio-core/ui/index.css";
import { createStudioBFFClient } from "@prisma/studio-core/data/bff";
import { createPostgresAdapter } from "@prisma/studio-core/data/postgres-core";
const adapter = createPostgresAdapter({
executor: createStudioBFFClient({
url: "/api/query",
}),
});
export function EmbeddedStudio() {
return (
<Studio
adapter={adapter}
aiFilter={async (request) => {
const response = await fetch("/api/ai-filter", {
body: JSON.stringify({ prompt: request }),
headers: { "content-type": "application/json" },
method: "POST",
});
const payload = (await response.json()) as {
error?: unknown;
text?: unknown;
};
if (!response.ok) {
throw new Error(
typeof payload.error === "string"
? payload.error
: `AI filter request failed (${response.status} ${response.statusText})`,
);
}
if (typeof payload.text !== "string") {
throw new Error("AI filter response did not include text.");
}
return payload.text;
}}
/>
);
}
adapter is required. aiFilter is optional and is the new LLM completion hook: it takes the user's natural-language request and returns JSON text describing one or more filters. When aiFilter is omitted, Studio renders only the manual filter controls and hides the inline AI prompt entirely.
Studio handles prompt construction, type-aware validation, correction retries, and conversion into the normal URL-backed filter pills. The hook can return regular column filters or a SQL fallback when the request cannot be expressed with the predefined operators.
This package includes anonymized telemetry to help us improve Prisma Studio. Use implies consent. Learn more in our Privacy Policy.
Requirements:
^20.19 || ^22.12 || ^24.0pnpm 8bunInstall dependencies and start the demo:
pnpm install
pnpm demo:ppg
Then open http://localhost:4310.
To enable the demo's AI filtering flow, copy .env.example to .env and set ANTHROPIC_API_KEY.
The demo reads that key server-side and calls Anthropic Haiku 4.5 directly over HTTP for the aiFilter hook. Set STUDIO_DEMO_AI_FILTERING_ENABLED=false to hide the AI filter UI without removing the key. .env and .env.local are gitignored.
The demo:
ppg-dev) programmatically via @prisma/devThe demo database is intentionally ephemeral: it is pre-seeded when the demo starts and reset when the demo process stops.
pnpm demo:ppg - run local Studio demo with seeded Prisma Postgres devpnpm typecheck - run TypeScript checkspnpm lint - run ESLint (--fix)pnpm test - run default vitest suitepnpm test:checkpoint - run checkpoint testspnpm test:data - run data-layer testspnpm test:demo - run demo/server testspnpm test:ui - run UI testspnpm test:e2e - run e2e testspnpm demo:ppg:build - bundle the demo server with bun buildpnpm demo:ppg:bundle - build and run the bundled demo serverpnpm build - build distributable package with tsuppnpm check:exports - validate package export map/typesWhen bundling the demo with bun build, we use --packages external so
@prisma/dev can resolve its PGlite runtime assets (WASM/data/extensions)
directly from node_modules at runtime.
For day-to-day development, use an agent with Playwright available and let the agent run the demo itself.
Recommended flow:
pnpm demo:ppg.Because the demo is pre-seeded and resets between runs, update seed data whenever needed to reproduce richer scenarios.
Seed data lives in /Users/sorenschmidt/code/studio-private/demo/ppg-dev/server.ts (seedDatabase).
FAQs
Modular Prisma Studio components
The npm package @prisma/studio-core receives a total of 3,996,430 weekly downloads. As such, @prisma/studio-core popularity was classified as popular.
We found that @prisma/studio-core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers 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.

Security News
/Research
Compromised Injective SDK npm version 1.20.21 exfiltrates wallet private keys and mnemonics through fake telemetry functionality.

Security News
npm v12 is generally available, turning install scripts off by default and beginning the deprecation of 2FA-bypass publishing tokens.

Research
/Security News
Socket tracks the activity as Operation “Muck and Load”: a threat actor uses commit-farming workflows, public dead drops, and protected archives to stage Windows RAT and infostealer malware.