
Research
Security News
Malicious PyPI Package Exploits Deezer API for Coordinated Music Piracy
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Thekdar is module which will manage node child process , it will help us creating workers, distribute task across workers, kill workers or limit there work
Thekdar is module which will manage node child process , it will help us creating workers, distribute task across workers, kill workers or limit there work
- Clone this repo
- Run `npm install`
- Run `npm t` to see how it works
const Thekdar = require("thekdar");
const events = Thekdar.events;
const Task = Thekdar.Tasks;
// Create new thekdar object
const thekdar = new Thekdar();
// Path of script to be executed and type of worker
thekdar.addWorkerAddress(
"./core/workers/fork.js",
Task.TYPE_FORK
);
handleJobs(data, done) {
// Create new task from Task class
const task = new Task();
task.setData(data);
// Set type of task like (fork, spawn)
task.setType(Task.TYPE_FORK);
try {
// add task to thekdar
const add = thekdar.addTask(task);
} catch (error) {
logger.error(error);
logger.error(`Unable to completed job,
Workers ${thekdar.getWorkers().size},
tasks ${thekdar.getTasks().size}`);
return done(error);
}
}
_handleThekdarMessages() {
thekdar.on("message", data => {
switch (data.type) {
case events.TASK_ERROR:
break;
case events.TASK_COMPLETE:
case events.TASK_REMOVE:
console.log(thekdar.getWorkers().size);
console.log(thekdar.getTasks().size);
break;
}
});
}
FAQs
Thekdar is module which will manage node child process , it will help us creating workers, distribute task across workers, kill workers or limit there work
The npm package thekdar receives a total of 3 weekly downloads. As such, thekdar popularity was classified as not popular.
We found that thekdar 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
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.
Security News
Newly introduced telemetry in devenv 1.4 sparked a backlash over privacy concerns, leading to the removal of its AI-powered feature after strong community pushback.