
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
dray-client
Advanced tools
Before creating jobs, you need to initialize the job manager:
import { DrayManager } from 'dray-client';
let manager = new DrayManager(
'http://0.0.0.0:3000', // Dray URL
'redis://127.0.0.1:6379' // Redis URL
);
let job = manager.createJob();
job.addStep('foo/bar') // Container to be run
.submit(); // Fire and forget!
let job = manager.createJob();
job.setInput('foo') // Data passed to container
.addStep('centurylink/upper'); // Container to be run
// Fire and wait for promise
job.submit().then((value) => {
console.log("Result:", value);
}, (reason) => {
console.error("Something bad happened:", reason)
});
import { BuildpackJob } from 'dray-client';
let compilation = new BuildpackJob(manager);
compilation.addFiles([
{name: 'foo.ino', data: new Buffer()}
]);
compilation.setEnvironment({
PLATFORM_ID: 6
});
compilation.setBuildpacks([
'particle/buildpack-wiring-preprocessor',
'particle/buildpack-particle-firmware:0.5.1-photon'
]);
compilation.submit().then((binaries) => {
// Do something with binaries
}, (reason) => {
console.error("Compilation error:", reason)
});
dist
directory using npm build
npm version <major|minor|patch>
npm publish
FAQs
Node.js wrapper for managing Dray jobs
The npm package dray-client receives a total of 66 weekly downloads. As such, dray-client popularity was classified as not popular.
We found that dray-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.