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.
Find out if Deno can be accessed on the current system
yarn add hasdeno --dev
scripts:{
"build":"(hasnode || (echo Omg - use deno instead please && exit 1)) && rollup",
}
import hasDeno from 'hasdeno' // default export is a boolean that will always have the same value. (Name it as you want)
if(hasDeno){
console.log('Niiiiiice with Deno')
} else {
console.log('Check out deno.land')
}
import {hasDeno, hasDenoVersion} from 'hasdeno' // Import two functions that will update each time they are called
setInterval(()=>{
if(hasDeno()){
Console.log('You have Deno version ', hasDenoVersion())
}
}, 5000);
I know I know - with Deno all the npm and node things should not be needed any more. Well, For some of us there is a transition period. Making it easyer to leverage the known ecosystem helps get Deno into the hands of all the people sitting in large organisations.
FAQs
Check if Deno is installed
The npm package hasdeno receives a total of 1 weekly downloads. As such, hasdeno popularity was classified as not popular.
We found that hasdeno 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.