
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
nodes-crypter
Advanced tools
A package to encrypt a C++ program to create a script that can decrypt & run as a child process (usage: nodes-crypter ./original keyphrase && node run.js).
A Node.js package to encrypt and run a C++ program using XOR encryption.
Install the package globally or locally using npm:
npm install -g nodes-crypter
or
npm install nodes-crypter
To encrypt a C++ executable file and generate a self-contained run.js script, use the following command:
If you installed globally (-g flag) you do not need to use 'npx' in front.
npx nodes-crypter <input_file> <key>
or if you installed globally (-g flag) you do not need to use 'npx' in front.
nodes-crypter <input_file> <key>
Example:
nodes-crypter ./hello mysecretkey
This command encrypts the hello executable and outputs a run.js file containing the encrypted data and the logic to decrypt and execute it using the key mysecretkey.
To decrypt and run the executable, use the following command:
node run.js
To create a simple "Hello, World!" C++ program, follow these steps:
Create a C++ source file hello.cpp:
#include <iostream>
int main() {
std::cout << "Hello, World!" << std::endl;
return 0;
}
Compile the C++ program:
g++ hello.cpp -o hello
Encrypt the executable and generate the run.js file:
nodes-crypter ./hello mysecretkey
Run the generated script to decrypt and execute the program:
node run.js
This project is licensed under the MIT License - see the LICENSE file for details.
LNodesL
FAQs
A package to encrypt a C++ program to create a script that can decrypt & run as a child process (usage: nodes-crypter ./original keyphrase && node run.js).
The npm package nodes-crypter receives a total of 1 weekly downloads. As such, nodes-crypter popularity was classified as not popular.
We found that nodes-crypter demonstrated a not healthy version release cadence and project activity because the last version was released 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
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.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.