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.
Pytest plugin to add a timestamp prefix to the pytest output.
➜ myproject python3 -m pytest -v
==================================== test session starts ====================================
platform darwin -- Python 3.9.4, pytest-6.3.0.dev494+g43faea832.d20210528, py-1.10.0, ...
cachedir: .pytest_cache
rootdir: /Users/user/myproject
plugins: timestamper-0.1.dev14+gaacde4a
collected 3 items
[2021-06-06 12:19:06] tests/test_one.py::test_dummy PASSED [ 33%]
[2021-06-06 12:19:06] tests/test_one.py::test_dummy_two PASSED [ 66%]
[2021-06-06 12:19:06] tests/test_two.py::test_another_dummy PASSED [100%]
===================================== 3 passed in 0.02s =====================================
For various reasons tests can be slower on some runs than other. However, without a timestamp in front of the test it is not clear to the user how long the current test has been taking. This plugin adds a simple timestamp in front of the pytest output.
pip install pytest-timestamper
To activate the plugin one simply needs to install it.
The user can update the format of the prefix with the --prefixfmt
and the datetime format with --datefmt
.
FAQs
Pytest plugin to add a timestamp prefix to the pytest output
We found that pytest-timestamper 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.