
Security News
/Research
Fake Corepack Site Distributes Infostealer and Proxyware to Developers
A fake corepack.org site is impersonating the Node.js tool and delivers an infostealer and proxyware to developers who download it.
@chaindoc_io/embed-sdk
Advanced tools
JavaScript/TypeScript SDK for embedding Chaindoc document signing flow via iframe
Official JavaScript/TypeScript SDK for embedding Chaindoc signature flows into web applications
Chaindoc Embed SDK is a lightweight JavaScript library that allows you to seamlessly integrate document signing functionality into your web application. Instead of redirecting users to a separate signing page, you can embed the entire signing experience directly within your site using a modal dialog or inline container.
npm install @chaindoc_io/embed-sdk
Or using yarn:
yarn add @chaindoc_io/embed-sdk
You can also use the SDK directly via CDN:
<script src="https://unpkg.com/@chaindoc_io/embed-sdk"></script>
<script>
const sdk = new ChaindocEmbed.ChaindocEmbed({
publicKey: "pk_live_xxx",
environment: "production",
});
</script>
import { ChaindocEmbed } from "@chaindoc_io/embed-sdk";
// Initialize SDK
const sdk = new ChaindocEmbed({
publicKey: "pk_live_xxx",
environment: "production",
});
// Open signature flow in modal
const instance = sdk.openSignatureFlow({
sessionId: "ses_xxx", // From your backend
email: "user@example.com",
mode: "modal",
language: "en", // Optional: UI language (en, ru, uk, pl, de, es, pt, fr, et, kk, zh, hi, tr, vi)
onSuccess: (data) => {
console.log("Document signed!", data);
instance.close();
},
onError: (error) => {
console.error("Signing failed:", error);
},
});
publicKey todaypublicKey is still required and validated on SDK initialization, but it is not currently forwarded to the iframe or used for runtime authentication. The real embedded auth flow is:
/api/v1/embedded/*The field remains in the API for backward compatibility and future productization, but for Phase 0 it should be understood as ceremonial rather than security-critical runtime auth.
sessionId to the SDKOpens a centered modal dialog with overlay - perfect for most use cases.
Embeds the signing flow directly into a container element on your page - ideal for multi-step forms or dedicated signing pages.
For detailed documentation, API reference, and examples, visit:
See CHANGELOG.md for release history and migration guides.
MIT License - see LICENSE file for details
Made with ❤️ by the Chaindoc team
FAQs
JavaScript/TypeScript SDK for embedding Chaindoc document signing flow via iframe
The npm package @chaindoc_io/embed-sdk receives a total of 6 weekly downloads. As such, @chaindoc_io/embed-sdk popularity was classified as not popular.
We found that @chaindoc_io/embed-sdk 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
/Research
A fake corepack.org site is impersonating the Node.js tool and delivers an infostealer and proxyware to developers who download it.

Research
/Security News
A large-scale campaign abused GitHub Actions in compromised repositories to exploit CVE-2026-41940 in cPanel and WHM and steal server credentials.

Security News
Five frontier LLMs generated the same nonexistent package names, leaving 53 available for potential slopsquatting across PyPI and npm.