
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.
A secure, Docker-based remote code execution engine for Node.js supporting Python, C++, Java, and JS.
Codexe is a secure, lightweight, multi-language remote code execution (RCE) engine for Node.js.
It uses isolated Docker containers to safely run untrusted user code.
Perfect for building:
--network nonenpm install codexe
Using scoped version:
npm install @pratik-patil-369/codexe
const { executeCode } = require('codexe');
async function run() {
// 1. Execute Python
console.log("Running Python...");
const pythonResult = await executeCode(
'python',
'print(f"Hello {input()}!")',
'World' // stdin
);
console.log(pythonResult);
// Output: { status: 'Success', output: 'Hello World!' }
// 2. Execute C++
console.log("Running C++...");
const cppCode = `
#include <iostream>
int main() {
int x;
std::cin >> x;
std::cout << "Square is: " << x * x;
return 0;
}
`;
const cppResult = await executeCode('cpp', cppCode, '5');
console.log(cppResult);
// Output: { status: 'Success', output: 'Square is: 25' }
}
run();
| Identifier | Language | Docker Image |
|---|---|---|
python | Python 3 | python:3.9-alpine |
javascript | Node.js | node:18-alpine |
cpp | C++ (GCC) | gcc:latest |
c | C (GCC) | gcc:latest |
java | Java 17 | eclipse-temurin:17-jdk-alpine |
Codexe uses a Docker-per-request model:
Contributions are welcome! Want to add Rust, Go, or enhanced sandboxing? Open an issue or submit a PR.
FAQs
A secure, Docker-based remote code execution engine for Node.js supporting Python, C++, Java, and JS.
We found that codexe 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.