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.
zappem.net/pub/graphics/raster
The raster package helps visualize vector graphics in the form of a
PNG image. It can be used with the
"golang.org/x/image/vector"
package. Using primatives in that package, the raster
package
provides support for rendering solid lines and approximate circles. It
also provides a convenience function to render the vector paths to an
image. Documentation for the raster
package should be available on
go.dev.
The package provides a simple examples/trace.go
program
that uses the package to render something resembling a PCB copper
trace.
$ go run examples/trace.go --dest image.png
creates the following image.png
file:
The raster
program is distributed with the same BSD 3-clause license
as that used by golang itself.
The package raster
has been developed purely out of curiosity for
and as part of a project to create simple PCBs using a Snapmaker 2 3D
printer (with laser and CNC tool heads). If you find a bug or want to
suggest a feature addition, please use the bug
tracker.
FAQs
Unknown package
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.