
Research
Supply Chain Attack on Axios Pulls Malicious Dependency from npm
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.
@ckbox/sdk-node
Advanced tools
A lightweight JavaScript SDK for interacting with the CKBox API. This package provides easy integration between NodeJS application and CKBox services.
# Using npm
npm install @ckbox/sdk-node
# Using yarn
yarn add @ckbox/sdk-node
# Using pnpm
pnpm add @ckbox/sdk-node
To use the CKBox SDK, you'll need to obtain API credentials from your Customer Portal dashboard:
import { CKBox } from '@ckbox/sdk-node';
// Configure CKBox
const config = {
accessKey: 'your-access-key',
environmentId: 'your-environment-id',
workspaceId: 'your-workspace-id', // Optional
userId: 'user-id', // Optional
userName: 'User Name', // Optional
role: 'user' // Optional, defaults to 'user'
};
// Initialize the CKBox wrapper
const { uploader, assets } = new CKBox(config);
// Upload a file from a path
const uploadedFile = await uploader.uploadFile('/path/to/image.jpg', {
categoryId: 'category-id', // Optional
folderId: 'folder-id', // Optional
onProgress: (progress) => {
console.log(`Upload progress: ${progress.progress}%`);
}
});
// Upload a buffer
const buffer = Buffer.from('file content');
const uploadedBuffer = await uploader.uploadBuffer(buffer, 'filename.txt', {
categoryId: 'category-id'
});
// Upload a stream
const fileStream = fs.createReadStream('/path/to/file.pdf');
const uploadedStream = await uploader.uploadStream(fileStream, 'file.pdf', fileSize, {
folderId: 'folder-id'
});
// Get a specific asset by ID
const asset = await assets.getAsset('asset-id');
// List assets with pagination
const assetsList = await assets.getAssets({
offset: 0,
limit: 50,
sortBy: 'uploadedAt',
order: 'desc',
categoryId: 'category-id' // Optional filter
});
CKBoxConfigConfiguration object for CKBox SDK:
| Property | Type | Required | Description |
|---|---|---|---|
| accessKey | string | Yes | The access key available in the Customer Portal dashboard |
| environmentId | string | Yes | The environment ID for CKBox instance |
| workspaceId | string | No | The workspace ID for the user |
| role | 'user' | 'admin' | 'superadmin' | No | The role of the user (defaults to 'user') |
| userId | string | No | The user ID for the user |
| userName | string | No | The user name for the user |
| serviceOrigin | string | No | Base URL for the CKBox service (defaults to 'https://api.ckbox.io') |
For more detailed information and examples, please refer to the CKBox documentation.
Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. CKBox is licensed under a commercial license and is protected by copyright law. For more details about available licensing options please contact us at sales@cksource.com.
Trademarks CKBox is a trademark of CKSource Holding sp. z o.o. All other brand and product names are trademarks, registered trademarks or service marks of their respective holders.
FAQs
CKBox SDK
The npm package @ckbox/sdk-node receives a total of 5 weekly downloads. As such, @ckbox/sdk-node popularity was classified as not popular.
We found that @ckbox/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.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.

Security News
TeamPCP is partnering with ransomware group Vect to turn open source supply chain attacks on tools like Trivy and LiteLLM into large-scale ransomware operations.