Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Warning: This is a super pre-alpha software. It will only works if you are brave and patient. Watch/Star to follow with the progress
Enable a computer to distribute tasks to execute to other computers. Websites can use computing power of visitors to test performance, scientists can distributedly fold DNA, hackers can distributedly crack passwords (:/).
Eventually one would be able to do something on these lines:
// Server
var Crowd = require('crowd')
var router = require('crowd-express')
function task (data) {
// some calculations
return result
}
var crowd = new Crowd({x:1, y:2}, task)
.on('data', function(data) {
// data coming in real time
})
.on('end', function(results) {
// task completed
})
.on('error', function(err) {
// errors on the way
})
var express = require('express')
var app = express()
var bodyParser = require('body-parser')
var port = process.env.PORT || 8080
app.use(bodyParser())
app.use('/task', router(crowd))
app.listen(port)
The way it will work on the client will be:
var worker = require('crowd-webworker')
var crowd = require('crowd-client')
var rest = require('crowd-rest')
crowd(opts)
.use(rest('http://127.0.0.1:1200/task'))
.pipe(worker())
What happens in the worker is that the task
function is retrieved from the crowd-client
, evaluated and executed.
Obviously this is not bound to javascript, to REST and to the browser. Server and clients will be available for WebSockets and WebRTC, and you will be free to implement any of the technology you want.
FAQs
Reverse cloud computing powered by the crowd
The npm package crowdjs receives a total of 1 weekly downloads. As such, crowdjs popularity was classified as not popular.
We found that crowdjs 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.
Security News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.