
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@complycube/api
Advanced tools
The official Node.js library for integrating with the ComplyCube API.
ComplyCube enables you to automate your AML/KYC workflows effortlessly.
Documentation can be found at https://docs.complycube.com.
Using npm:
npm install @complycube/api
Using Yarn:
yarn add @complycube/api
Require the package:
const { ComplyCube } = require("@complycube/api");
Configure with your API key:
const complycube = new ComplyCube({
apiKey: process.env.COMPLYCUBE_API_KEY
});
Using with async/await (in an async function):
try {
const client = await complycube.client.create({
type: "person",
email: "jane.doe@example.com",
personDetails: {
firstName: "Jane",
lastName: "Doe"
}
});
const check = await complycube.check.create(client.id, {
type: "standard_screening_check"
});
return check;
} catch (error) {
if (error instanceof ComplyCubeApiError) {
// An error response was returned by the ComplyCube API.
console.log(error.message);
console.log(error.type);
} else {
console.log(error.message);
}
}
Using with promises:
complycube.client
.create({
type: "person",
email: "jane.doe@example.com",
personDetails: {
firstName: "Jane",
lastName: "Doe"
}
})
.then(client =>
complycube.check.create(client.id, {
type: "standard_screening_check"
})
)
.then(check =>
// Handle successfully created check.
)
.catch(error => {
// Handle error.
});
All responses will be JavaScript objects.
const client = await complycube.client.create({
type: "person",
email: "jane.doe@example.com",
personDetails: {
firstName: "Jane",
lastName: "Doe"
}
});
console.log(client);
{
"id": "<CLIENT_ID>",
"type": "person",
"email": "jane.doe@example.com",
"personDetails": {
"firstName": "Jane",
"lastName": "Doe"
},
"createdAt": "2025-01-01T00:00:00.000Z",
"updatedAt": "2025-01-01T00:00:00.000Z"
}
More documentation and code examples can be found at https://docs.complycube.com.
Further information on ComplyCube can be found at https://www.complycube.com.
FAQs
ComplyCube's Node.js library for the AML/KYC API
The npm package @complycube/api receives a total of 2,321 weekly downloads. As such, @complycube/api popularity was classified as popular.
We found that @complycube/api 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.