Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@ohos-ports/rsa-keygen

Latest version: v1.0.6-beta.2

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
npm package Publisher: asra_km, glora_li, jason_ccl, ljry, lljry, louzen, nodejs_3rd, nodejs_mgr, npm_3rd_aoe, social4hyq, virtfans, w30010987, yzz_0126, z30010987, zhenghongfei
6 Stars
9 Forks
1 Versions
241 Downloads
Shell Repo language

Scan summary

@ohos-ports/rsa-keygen was last scanned on 28 Nov 2026 at version 1.0.6-beta.2. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: First and only release on 28 Nov 2026.
  • Findings: No rules fired in version 1.0.6-beta.2.
  • Downloads: 241 downloads.

Versions

1 version published
Versions and the rules that fired in each
VersionPublishedStatus
1.0.6-beta.2 LATEST 28 Nov 2026 No rules fired

No rules fired in 1.0.6-beta.2

Findings

Findings for v1.0.6-beta.2. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 1.0.6-beta.2; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

node-rsa-keygen

Generates a RSA keypair using native OpenSSL library.

This code is loosely based on ursa RSA generation code.

History

As from node 0.11 the crypto library has publicEncrypt and privateDecrypt functions, we don't need to rely on any external libraries for public-key cryptography.

Usage

Install the library:

npm install --save rsa-keygen
var rsaKeygen = require('rsa-keygen');
var keys = rsaKeygen.generate();

Example

var crypto = require('crypto');
var rsaKeygen = require('rsa-keygen');

var keys = rsaKeygen.generate();

var result = crypto.publicEncrypt({
    key: keys.public_key
}, new Buffer('Hello world!'));
// <Crypted Buffer>

var plaintext = crypto.privateDecrypt({
    key: keys.private_key
}, result);
// Hello world!

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @ohos-ports/rsa-keygen

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229