
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.
@sapiom/agent-core
Advanced tools
Pure, stateless core functions for scaffolding, validating, and operating Sapiom agents — shared by the CLI and MCP packages.
A Sapiom agent, authored as code against @sapiom/agent.
npm install
Then open index.ts. The agent is defined with defineAgent({ steps }); each step is a defineStep({ name, next, run }). The run body is ordinary code — and inside it, the full Sapiom tool catalog is available, pre-auth'd and tenant-scoped, on ctx.sapiom:
const box = await ctx.sapiom.sandboxes.create({ name: "demo" });
const repo = await ctx.sapiom.repositories.create("my-repo");
No credentials to wire — a per-execution tenant credential is injected for each agent run.
Author and run this agent with the Sapiom dev tools:
ctx.sapiom.* calls resolved from stubs, iterating until completion without Sapiom capability spend. Ordinary code in the project can still make its own network or machine changes.npm run typecheck and npm run format are also available for editor-level checks.
See AGENTS.md for the full authoring loop.
FAQs
Pure, stateless core functions for scaffolding, validating, and operating Sapiom agents — shared by the CLI and MCP packages.
The npm package @sapiom/agent-core receives a total of 1,331 weekly downloads. As such, @sapiom/agent-core popularity was classified as popular.
We found that @sapiom/agent-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.

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.