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.
blockcast-state-engine
Advanced tools
Scan the Bitcoin blockchain for an ordered list of Blockcast data.
npm install blockcast-state-engine
var RpcClient = require('bitcoind-rpc')
var rpcCommonBlockchain = require('rpc-common-blockchain')
var config = {
protocol: 'http',
user: 'rpcuser',
pass: 'rpcpassword',
host: '127.0.0.1',
port: '18332'
}
var rpc = new RpcClient(config)
var commonBlockchain = rpcCommonBlockchain({
rpc: rpc
})
var blockcastStateEngine = require('blockcast-state-engine')({
commonBlockchain: commonBlockchain
})
blockcastStateEngine.scanFrom({
blockHeight: 572949, // scan the four blocks from 572949 to 572952
toBlockHeight: 572952,
onBlock: function (err, blockInfo) {}, // callback on every block, contains full blockHex
onFound: function (err, blockInfo) {} // callback on every block found with blockcasts, includes list of blockcasts
}, function (err, blockcasts) {
console.log(blockcast[0])
{
index: 1, // the index of the transaction in the block
blockId: '0000000000003585e8d4a23ec784dc845f28cc8bc0950fc68a6bc5863a10f578',
tx: {}, // detailed information about the primary transaction
data: 'fTmp34KdrUApes4Ro4NpSUpR4gItC0', // the data the was embedded
addresses: [ 'msLoJikUfxbc2U5UhRSjc2svusBSqMdqxZ' ]
}
})
FAQs
Blockcast State Engine
The npm package blockcast-state-engine receives a total of 1 weekly downloads. As such, blockcast-state-engine popularity was classified as not popular.
We found that blockcast-state-engine 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.