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.
Circle user interface library targeted for artificial life simulations.
<script src="scripts/circles.js"></script>
$ npm install circles
---
> var circles = require('circles');
Creates canvas element and required styles. The element resizes automatically on window resize.
var world = circles.createWorld()
Position and radius in pixels. Color can be any canvas fill style, e.g. '#ff0000' or 'red'
var circle = world.createCircle(100, 200, 20, 'red')
Return array of circles inside the specified circle area. Use this for collision detection.
Possible events: 'tap'
Remove event handler.
Move circle to the specified direction. Angle in radians.
Move circle toward the specified point.
Possible events: 'tap'
Remove event handler.
Run tests with $ npm test
.
Build with $ npm run build
.
Serve with $ npm start
. Then see localhost:8000.
FAQs
Circle user interface library targeted for artificial life simulations.
We found that circles 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.