
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.
cpp-crypter
Advanced tools
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 cpp-crypter
or
npm install cpp-crypter
To encrypt a C++ executable file, use the encrypt command:
npx cpp-crypter encrypt <input_file> <output_file> <key>
Example:
npx cpp-crypter encrypt ./hello ./hello.enc mysecretkey
This command encrypts the hello executable and outputs the encrypted file as hello.enc using the key mysecretkey.
To decrypt and run the encrypted executable file, use the main script index.js:
node index.js <encrypted_file> <key>
Example:
node index.js ./hello.enc mysecretkey
This command decrypts the hello.enc file using the key mysecretkey and runs the decrypted executable.
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:
npx cpp-crypter encrypt ./hello ./hello.enc mysecretkey
Decrypt and run the executable:
node index.js ./hello.enc mysecretkey
This project is licensed under the MIT License - see the LICENSE file for details.
LNodesL
FAQs
A package to encrypt and decrypt & run a C++ program
We found that cpp-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
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.