
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
ic2-reactor-sim
Advanced tools
Module to do automatic simulations and analysis of Minecraft Industrial Craft 2 nuclear reactors. The mechanics simulated are based on the decompiled code of IC2 2_2.0.397-EXPERIMENTAL
. Many of the simulations performed by this simulator are more accurate than existing simulators, due to this being based on the decompiled code itself (albeit optimized).
var reactorsim = require('ic2-reactor-sim');
var reactor = [
'VV', 'XX', 'XX',
'U1', 'VV', 'XX',
'U1', 'VV', 'XX',
'VV', 'XX', 'XX',
'XX', 'XX', 'XX',
'XX', 'XX', 'XX'
];
reactorsim.runSimulation(reactor, function(error, simulationResults) {
if(error) console.log(error);
else console.log(simulationResults);
});
Reactors are specified with a 1-dimensional array, in row-major order (see example above) of components. The size of the reactor is automatically determined by the length of the array.
The component codes are:
When running many simulations in sequence, I recommend setting the environment variable UV_THREADPOOL_SIZE
to at least the number of cores in the system, to take better advantage of parallel processing.
FAQs
Fast Minecraft IC2 nuclear reactor simulator
The npm package ic2-reactor-sim receives a total of 2 weekly downloads. As such, ic2-reactor-sim popularity was classified as not popular.
We found that ic2-reactor-sim 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.