
Security News
White House Authorizes Private Companies to Conduct Offensive Cyber Operations
A new federal program will let vetted U.S. cybersecurity firms help investigate and disrupt foreign cybercrime groups under government direction.
@sidearmdrm/sdk-node
Advanced tools
TypeScript client for the Sidearm API — protect media from AI training, detect AI content, and search for stolen work
TypeScript client for the Sidearm API. Protect media from AI training, detect AI content, search for stolen work.
npm install @sidearmdrm/sdk-node
import { Sidearm } from "@sidearmdrm/sdk-node";
const client = new Sidearm({ apiKey: "sk_live_..." });
const job = await client.protect({
media_url: "https://example.com/art.png",
level: "maximum",
});
const result = await job.wait();
// Preset level (auto-selects algorithms)
const job = await client.protect({
media_url: "https://...",
level: "standard",
tags: ["portfolio"],
});
// Run specific algorithms by name
const job2 = await client.run({
algorithms: ["nightshade", "glaze", "hmark"],
media_url: "https://...",
});
Async endpoints return a Job handle with built-in polling:
// Wait until done
const result = await job.wait({ timeoutMs: 120_000, intervalMs: 2_000 });
// Manual poll
const status = await job.poll();
// Resume from a previous job ID
const resumed = client.jobs.handle("job-uuid");
await resumed.wait();
const all = await client.algorithms.list();
const audio = await client.algorithms.list({ media_type: "audio" });
const open = await client.algorithms.list({ category: "open" });
// AI content detection (async)
const aiJob = await client.detect.ai({ media_url: "https://..." });
const aiResult = await aiJob.wait();
// Fingerprint detection (sync)
const matches = await client.detect.fingerprint({
media_url: "https://...",
tier: "perceptual",
});
// Membership inference
const memJob = await client.detect.membership({
content_ids: ["uuid-1", "uuid-2"],
suspect_model: "stable-diffusion-xl",
method: "combined",
});
await memJob.wait();
const results = await client.search.run({
media_url: "https://...",
type: "perceptual",
limit: 10,
});
const history = await client.search.list({ limit: 20 });
await client.media.register({ media_url: "https://...", mode: "basic" });
const library = await client.media.list({ limit: 50 });
const asset = await client.media.get("uuid");
await client.media.update("uuid", { original_media_url: "https://..." });
await client.media.delete("uuid");
const rights = await client.rights.get("media-uuid");
const billing = await client.billing.get("account-uuid", {
start_date: "2026-01-01",
});
import { Sidearm, SidearmError } from "@sidearmdrm/sdk-node";
try {
await client.protect({ media_url: "..." });
} catch (err) {
if (err instanceof SidearmError) {
console.error(err.message); // Human-readable message
console.error(err.status); // HTTP status code
console.error(err.body); // Raw response body
}
}
MIT
FAQs
TypeScript client for the Sidearm API — protect media from AI training, detect AI content, and search for stolen work
The npm package @sidearmdrm/sdk-node receives a total of 3 weekly downloads. As such, @sidearmdrm/sdk-node popularity was classified as not popular.
We found that @sidearmdrm/sdk-node 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.
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
A new federal program will let vetted U.S. cybersecurity firms help investigate and disrupt foreign cybercrime groups under government direction.

Research
/Security News
The campaign amassed more than 75,000 installs by targeting Russian-speaking users seeking access to blocked services.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.