
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Deterministically frozen UUID's for your tests.
You can install "pytest-frozen-uuids" via pip from PyPI:
$ pip install pytest-frozen-uuids
Freeze UUID's by using the freeze_uuids
fixture:
def test_freeze_uuids(freeze_uuids):
import uuid
assert str(uuid.uuid4()) == "00000000-0000-0000-0000-000000000000"
Or by using the freeze_uuids
marker:
import pytest
@pytest.mark.freeze_uuids
def test_freeze_uuids():
import uuid
assert str(uuid.uuid4()) == "00000000-0000-0000-0000-000000000000"
Contributions are very welcome. Tests can be run with tox. You can later check coverage with coverage combine && coverage html. Please try to keep coverage at least the same before you submit a pull request.
Distributed under the terms of the MIT license, "pytest-frozen-uuids" is free and open source software
If you encounter any problems, please file an issue along with a detailed description.
This Pytest plugin was generated with Cookiecutter along with @hackebrot's Cookiecutter-pytest-plugin template.
FAQs
Deterministically frozen UUID's for your tests
We found that pytest-frozen-uuids 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.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.