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.
Notice: This module and API is in early development and may change in the future.
Install the tangoalpha NPM Package with:
npm i tangoalpha
Also, require the module in your Node.js application with:
var tango = require("tangoalpha")
tango.blocktime().then(result => { //Result is a float
console.log(result) // Logs the average blocktime in seconds
})
tango.blockdrift().then(result => { // Result is an Array
console.log(JSON.stringify(result)) // Logs the 'drift' of the past 1000 blocks
})
tango.getdb().then(result => { // Result is an Array
console.log(JSON.stringify(result)) // Logs the entire DB of TangoAlpha
})
tango.mnstcount().then(result => { // Result is an Object
console.log(JSON.stringify(result)) // Logs the blocks and votes betweeen Stakers and MNs
})
var block = 1685805
tango.getblock(block).then(result => { // "Block" is an integer of the desired block. Result is an Object
console.log(JSON.stringify(result)) // Logs the block and it's winners
})
var address = 1685805
tango.address(address).then(result => { // "Address" is a string of the desired coin address. Result is an Object
console.log(JSON.stringify(result)) // Logs the address and it's TangoAlpha stats (voteweight, balance, blocksseen)
})
FAQs
The TangoAlpha Node.js API
The npm package tangoalpha receives a total of 2 weekly downloads. As such, tangoalpha popularity was classified as not popular.
We found that tangoalpha 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.