
Security News
Insecure Agents Podcast: Certified Patches, Supply Chain Security, and AI Agents
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.
@sigmacomputing/node-embed-sdk
Advanced tools
Node.js SDK for Sigma Computing with encryption/decryption utilities
This package provides Node.js utilities for working with Sigma Computing's Embed API.
To use the node-embed-sdk in your project, you can install it using your node package manager.
Using npm:
npm install @sigmacomputing/node-embed-sdk
yarn:
yarn add @sigmacomputing/node-embed-sdk
pnpm:
pnpm add @sigmacomputing/node-embed-sdk
The SDK provides utilities for encrypting and decrypting OAuth tokens using AES-256-GCM encryption.
See our documentation on embedding with JWTS for more information.
Sigma expects you to encrypt OAuth tokens using the same embed secret used to sign the embed.
import { encrypt, decrypt } from "@sigmacomputing/node-embed-sdk/promises";
// Encrypt an OAuth token
const encryptedToken = await encrypt("your-embed-secret", "your-oauth-token");
// Decrypt an encrypted token
const decryptedToken = await decrypt("your-embed-secret", encryptedToken);
import { encrypt, decrypt } from "@sigmacomputing/node-embed-sdk";
// Encrypt an OAuth token
const encryptedToken = encrypt("your-embed-secret", "your-oauth-token");
// Decrypt an encrypted token
const decryptedToken = decrypt("your-embed-secret", encryptedToken);
FAQs
Node.js SDK for Sigma Computing with encryption/decryption utilities
We found that @sigmacomputing/node-embed-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 210 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
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.

Security News
The planned feature introduces a review step before releases go live, following the Shai-Hulud attacks and a rocky migration off classic tokens that disrupted maintainer workflows.