
Research
/Security News
77 Firefox Extensions Linked to Crypto Wallet and Credential Theft
Socket uncovered 77 linked Firefox extensions, including 40 that steal wallet secrets or credentials and 37 deceptive sports-score shells.
@sapiom/tools
Advanced tools
Typed client for Sapiom capabilities (sandboxes, repositories, agent, …) — the same tools your agents call over MCP, callable from your code, auth'd to your tenant.
A typed TypeScript client for Sapiom capabilities — sandboxes, git repositories, and coding agents — authenticated to your tenant.
These are the same capabilities your Sapiom agents call as tools; this package makes them callable directly from your own code.
npm install @sapiom/tools
# or
pnpm add @sapiom/tools
import { createClient } from "@sapiom/tools";
const sapiom = createClient({ apiKey: process.env.SAPIOM_API_KEY });
// Create a repo, have a coding agent build into it, then publish.
const repo = await sapiom.repositories.create("landing-page");
const run = await sapiom.agent.coding.run({
task: "Build a one-page marketing site in index.html.",
gitRepository: repo, // cloned into the run's sandbox at /workspace/landing-page
});
if (run.result?.success) {
const { sha } = await repo.pushFromSandbox(run.sandbox, { message: "build: landing" });
console.log("published", sha);
}
There are two ways to authenticate, both exposing the identical capability surface:
createClient. This is the standalone entry point:
const sapiom = createClient({ apiKey: process.env.SAPIOM_API_KEY });
await sapiom.sandboxes.create({ name: "demo" });
SAPIOM_API_KEY (or, inside a Sapiom workflow step, from the client the runtime provides):
import { sandboxes, repositories, agent } from "@sapiom/tools";
await sandboxes.create({ name: "demo" });
Calls can be attributed to an agent and trace so they show up correctly in your transaction history. Attribution is set once, on the client — not per call:
const sapiom = createClient({
apiKey: process.env.SAPIOM_API_KEY,
attribution: { agentName: "digest-bot", traceId },
});
// every call this client makes is now attributed to digest-bot / traceId
Inside a Sapiom workflow you don't set this at all — the runtime constructs the client with the running execution's attribution, so every tool call is attributed automatically.
If a single process makes calls on behalf of more than one agent or trace, derive a client per context with sapiom.withAttribution({ ... }).
Each capability is a namespace, importable from the barrel or its own subpath (e.g. @sapiom/tools/sandboxes). Every capability has its own README with usage details, preconditions, and gotchas the type signatures can't express — read it before first use.
| Namespace | What it is | Docs |
|---|---|---|
sandboxes | Isolated, ephemeral compute | src/sandboxes |
repositories | Private, in-network git repos | src/repositories |
agent | Coding agents (LLM execution) | src/agent |
Capabilities are designed to work together. A coding agent run hands back the live Sandbox it executed in, and a Repository can publish a working tree straight from that sandbox:
const run = await agent.coding.run({ task, gitRepository: repo });
await repo.pushFromSandbox(run.sandbox);
A useful pattern: let the agent do the open-ended work (writing files) and perform exact, repeatable actions — committing, pushing, deploying — in your own code rather than in the agent's prompt. The agent produces the changes; pushFromSandbox publishes them deterministically.
MIT
FAQs
Typed client for Sapiom capabilities (sandboxes, repositories, agent, file storage, …) — the same tools your agents call over MCP, callable from your code, auth'd to your tenant.
The npm package @sapiom/tools receives a total of 2,591 weekly downloads. As such, @sapiom/tools popularity was classified as popular.
We found that @sapiom/tools 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.

Research
/Security News
Socket uncovered 77 linked Firefox extensions, including 40 that steal wallet secrets or credentials and 37 deceptive sports-score shells.

Security News
NIST disclosed an unreleased AI tool called V-etalon and opened a broad inquiry into NVD modernization after years of automation plans produced no public enrichment system.

Security News
In his AI Council 2026 talk, Feross Aboukhadijeh covers recent package compromises, vulnerability discovery, and a more automated security model.