Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
queue-xec-worker
Advanced tools
Worker part of queue-xec , can runs jobs - install required dependencies dynamically on demand.All required data with master exchanged with encryption.
As the name itself states it , Worker is the task processor node. After initial connection , Worker waiting for new tasks.
Info needs from Master :
These 2 tokens are generated in Master due setup.Worker can operate in any network condition as long is online, can work behind NAT or home routers. Using webrtc and peer to peer trackers to connect and communicate with master.
Can receive task assets and their dependencies , while can track any changes made in files shared from Master ,if has outdated version of those files , will request again latest ones from Master.Dependencies automatically installed when a file change takes place.
Can receive job data , as part of job if Master passes them.And finally send back to Master job results , all data communication are encrypted.
With npm
yarn add queue-xec-worker #or# npm install queue-xec-worker
Including in existing project
const Worker = require('queue-xec-worker')
const work1 = new Worker({
token, // token generated from Master
name = 'worker_1',
loglevel, // off -> info -> warn -> error -> debug
transferEncryptToken = null, // token generated from Master
}); // work1 instance is ready for incoming new tasks
** file an issue if you think Worker should expose any other functionalities (for example, to have more control) .
git clone https://github.com/queue-xec/worker
cd worker
yarn #or# npm install
node worker.js --setup
Will prompt user to enter following info:
These info will saved and loaded (later) in .env file at root workers folder.
node worker.js
FAQs
Worker part of queue-xec , can runs jobs - install required dependencies dynamically on demand.All required data with master exchanged with encryption.
The npm package queue-xec-worker receives a total of 1 weekly downloads. As such, queue-xec-worker popularity was classified as not popular.
We found that queue-xec-worker 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
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.