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.
Compiler API for the Femotsense Sparse Processing Unit (SPU).
This package drives compilation of machine learning models to SPU binaries, as well as simulation of those binaries on SPU hardware.
The package itself is a thin Python wrapper communicating to the actual compiler / simulator via gRPC.
Supported ML model representations:
You will need to install femtocrux
and femtodriver
to compile models to run on the SPU and to run simulations to
get power metrics.
You will need to have python 3.10
and Docker installed.
Install Docker by following these instructions.
femtocrux is available on PyPI via
pip install femtocrux
femtodriver is also available on PyPI via
pip install femtodriver
Please refer to the documentation in the e2e walkthrough for a full example of how to create a model in pytorch, use femtodriver to compile program files to run on the SPU, and for how to run simulations of the model to get power estimates.
If you want more detailed documentation of all the options you can use to compile and simulate with please refer to the femtodriver documentation.
FAQs
Femtosense Compiler
We found that femtocrux demonstrated a healthy version release cadence and project activity because the last version was released less than 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.