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.
.. .. .. .. .. you see.. promise
and async function is actually a promise
soo.. you the code will promise he would wait as much as you want (even for infinity)
const {
aforSec,
aforMin,
aforInfinit,
aforDays,
aforHours,
aforYears,
aforDecades
} = require("aforwait");
(async () => {
console.log("i'm gonna wait 5 seconds and then tell you yee")
await afor(5000) // await aforSec(5);
console.log("yee")
})()
import {
aforSec,
aforMin,
aforInfinit,
aforDays,
aforHours,
aforYears,
aforDecades} from "aforwait";
// or
import afor from "aforwait"
(async () => {
console.log("i'm gonna wait 5 seconds and then tell you yee")
await afor(5000) // await aforSec(5);
console.log("yee")
})()
simple huh...
enjoy :>
FAQs
awaiting but for specific amout of time
We found that aforwait 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.