
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
@opportify/sdk-nodejs
Advanced tools
The Opportify API provides access to a powerful and up-to-date platform. With advanced data warehousing and AI-driven capabilities, this API is designed to empower your business to make informed, data-driven decisions and effectively assess potential risks.
Use the following base URL for all API requests:
https://api.opportify.ai/insights/v1/<service>/<endpoint>
Recommended Node version 22.x.x. It is also compatible with +v18 .
First, install Opportify via the npm package manager:
npm install --save @opportify/sdk-nodejs
import { EmailInsights } from '@opportify/sdk-nodejs';
const clientEmailInsights = new EmailInsights({
version: '1.0',
apiKey: 'YOUR_API_KEY'
});
async function analyzeEmail() {
try {
const response = await clientEmailInsights.analyze({
email: "email_to_validate@domain.com",
enableAutoCorrection: true,
enableAI: true, // only available on paid plans.
});
console.log('response', response);
} catch (error: unknown) {
console.error('error', error);
}
}
analyzeEmail();
import { IPInsights } from '@opportify/sdk-nodejs';
const clientIpInsights = new IPInsights({
version: '1.0',
apiKey: 'YOUR-API-KEY-HERE'
});
async function analyzeIP() {
try {
const response = await clientIpInsights.analyze({
ip: '8.8.8.8',
enableAI: true // only available for paid plans.
});
console.log('response', response);
} catch (error: unknown) {
console.error('error', error);
}
}
analyzeIP();
This NodeJs package is a customization of the base generated by:
FAQs
Opportify SDK for NodeJs
The npm package @opportify/sdk-nodejs receives a total of 14 weekly downloads. As such, @opportify/sdk-nodejs popularity was classified as not popular.
We found that @opportify/sdk-nodejs demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.