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.
lucky-canvas
Advanced tools
English:If anyone can help translate the document, please contact me
ldq404@qq.com
从下面的链接里下载一个叫lucky-canvas.umd.min.js
的 js 文件, 然后使用 script 标签引入
<div id="my-lucky" style="width: 300px; height: 300px"></div>
<script src="./lucky-canvas.umd.min.js"></script>
<script>
// 大转盘抽奖
let luckyWheel = new LuckyCanvas.LuckyWheel('#my-lucky', {
// ...你的配置
})
// 九宫格抽奖
let luckyGrid = new LuckyCanvas.LuckyGrid('#my-lucky', {
// ...你的配置
})
</script>
FAQs
一个基于原生 js 的(大转盘 / 九宫格 / 老虎机)抽奖插件
The npm package lucky-canvas receives a total of 2,908 weekly downloads. As such, lucky-canvas popularity was classified as popular.
We found that lucky-canvas demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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.