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.
这是一个只用来检验ipv4 和 ipv6 Cidr掩码是否合法的包,比如:192.12.0.0/12 (合法) , 192.12.0.0/11 (不合法)。 实现的依据是根据《计算机网络》书中cidr的掩码的概念
This is a package that only can be used to verify whether the ipv4、ipv6 Cidr mask is legal, such as 192.12.0.0/12 (legal) and 192.12.0.0/11 (illegal). The basis for implementation is based on the concept of CIDR mask in the book "Computer Network"
example:
const res = judgeIpv4CidrRule('192.12.0.0/12 ') // res = true const res = judgeIpv4CidrRule('192.12.0.0/11 ') // res = false
const res = judgeIpv6CidrRule('2000::/8') // res = true const res = judgeIpv6CidrRule('1::/3') // res = false
FAQs
a package can check the IPv4 Cidr and IPv6 Cidr Mask is validate or not
The npm package mask-vali receives a total of 2 weekly downloads. As such, mask-vali popularity was classified as not popular.
We found that mask-vali 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.