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.
@excalidraw/laser-pointer
Advanced tools
import { LaserPointer } from '@excalidraw/laser-pointer'
const stroke = new LaserPointer(options)
stroke.addPoint([100, 200, 1])
stroke.close()
const outline = stroke.getStrokeOutline()
Property | Type | Default | Description |
---|---|---|---|
size | number | 2 | Radius of the stroke. |
streamline | number | 0.42 | Interpolate input points to reduce jitter. |
simplify | number | 0.1 | Reduce stroke size by sacrificing precision. |
simplifyPhase | "input" | "output" | "tail" | "output" | Decides when the simplification algorithm should be applied. |
sizeMapping | (details: SizeMappingDetails) => number | () => 1 | Maps each point to a value between 0.0 and 1.0 . |
FAQs
Generate outline for laser pointer tool
The npm package @excalidraw/laser-pointer receives a total of 1,901 weekly downloads. As such, @excalidraw/laser-pointer popularity was classified as popular.
We found that @excalidraw/laser-pointer demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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.