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.
Diskest is an advanced disk benchmark tool designed to provide comprehensive disk performance assessment for Linux systems.
To install Diskest, you can use pip:
pip install diskest
For development installation with additional tools:
pip install diskest[dev]
Or clone the repository and install:
git clone https://github.com/lemonsterfy/diskest.git
cd diskest
pip install -e .[dev]
This will install Diskest along with all development dependencies.
Diskest provides a command-line interface with the following main commands:
Run benchmark tests:
diskest run [--config CONFIG_FILE]
Generate reports:
diskest report [--format {cli,markdown,csv,json,pdf}] [--output OUTPUT_FILE]
Manage configuration:
diskest config {show,edit}
For more detailed usage instructions, use the --help
option with any command.
If you're using Diskest in a virtual environment and need to run it with elevated privileges, use the following command:
sudo /path/to/your/venv/bin/diskest run [--config CONFIG_FILE]
For example, if your virtual environment is named diskest_env
and is located in your home directory:
sudo /home/yourusername/diskest_env/bin/diskest run [--config CONFIG_FILE]
Replace /home/yourusername
with your actual home directory path.
Note: Running Diskest with sudo privileges is necessary for certain disk operations. Always exercise caution when running commands with elevated privileges.
To run the tests for Diskest, follow these steps:
Ensure you have installed the development dependencies:
pip install -e .[dev]
Run the tests using pytest:
pytest
This will run all the tests in the tests/
directory. For more detailed output, you can use the -v
flag:
pytest -v
Our test suite covers the following areas:
To run tests for a specific module, use:
pytest tests/test_<module_name>.py
Contributions are welcome! Please see our Contributing Guide for more details.
Diskest is released under the MIT License. See the LICENSE file for more details.
If you encounter any issues or have questions, please file an issue on the GitHub issue tracker.
FAQs
Advanced Disk Benchmark Tool
We found that diskest 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.