
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.
jupyter-session
Advanced tools
Broken out of Hydrogen.
This API is not finalized.
var Session = require('jupyter-session');
pythonSession = new Session(
{
version: 5,
signature_scheme: 'sha256',
key: '<the signing key>',
transport: 'tcp',
ip: '127.0.0.1',
hb_port: 60868,
control_port: 60869,
shell_port: 60870,
stdin_port: 60871,
iopub_port: 60872
},
<'handle to kernel process, if available'>
);
// use wildcards to get all messages on a channel
pythonSession.on('shell.*', function(message) {
// message will be a jmp.Message
});
pythonSession.execute(code, function(results) {
// results will be a jmp.Message
// this function may be called several times
// as additional messages come in from the kernel
});
pythonSession.complete(code, function(results) {
// results will be a jmp.Message
});
Session is an EventEmitter, so you can use any of these methods: https://github.com/asyncly/EventEmitter2
FAQs
A tool for interacting with Jupyter kernels
We found that jupyter-session demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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.