Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
smp
implements serialization and deserialization of the Simple Management Protocol.
The SMP specification can be found here.
If you'd like a library that implements the serial (UART or USB), Bluetooth (BLE), and UDP transport layers for SMP, take a look at smpclient.
If you need an SMP CLI application to interact with device firmware, then try smpmgr.
smp
is distributed by PyPI and can be installed with poetry
, pip
, and other dependency managers.
Documentation is in the source code so that it is available to your editor. An online version is generated and available here.
Assumes that you've already setup your development environment.
. ./envr.ps1
poetry install
when pulling in new changeslint
after making changestest
after making changespoetry
:
poetry add <my_new_dependency>
poetry add -G dev <my_dev_dependency>
tox
poetry install
The venv
should be installed to .venv
.
envr supports bash, zsh, and PS in Linux, MacOS, and Windows. If you are using an unsupported shell, you can activate the
.venv
environment manually, usepoetry run
andpoetry shell
, and refer toenvr-default
for useful aliases.
. ./envr.ps1
To verify the installation, make sure that all of the tests are passing using these envr aliases:
lint
test
The pre-commit hook will run the linters but not the unit tests.
git config core.hooksPath .githooks
FAQs
Simple Management Protocol (SMP) for remotely managing MCU firmware
We found that smp demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.