
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
opengov-k6-core
Advanced tools
A robust k6 core library designed to enhance load testing capabilities. It offers extended functionalities for various protocols, custom metrics, aiming to simplify and empower performance testing for developers and QA engineers.
Install Node 18.16.0+ or set Node 18.16.0+ as the version to use with this project
nvm use 18.16.0
Thank you for considering to contribute to this project! Please review the Contribution Guidelines to begin.
To test changes to the library, follow these steps:
yarn build
yarn pack
"dependencies": {
"opengov-k6-core": "file:path/to/your-library.tgz"
}```
yarn install
The ThresholdMerger class is designed to manage and merge performance monitoring thresholds. It allows users to easily integrate custom thresholds while default thresholds are maintained as a fallback.
Custom thresholds provided for a metric completely replace the existing defaults for that metric, rather than merging or appending. This ensures that custom settings are prioritized and simplifies configuration management.
Simple and intuitive method interfaces make it straightforward to merge custom thresholds with defaults.
To use the ThresholdMerger class within the getLoadProfile function, pass the custom thresholds as the fourth argument. This argument should be an object where the keys are the metric names and the values are arrays of threshold conditions you wish to apply. Ensure that the ThresholdMerger class is properly integrated to handle these thresholds according to the specific requirements of your project.
import customThresholds from '../../../../../../load_rates/samples/rates/thresholds/customThresholds.json';
export const options: Options = getLoadProfile(
Number(__ENV.DURATION),
Number(__ENV.VUS),
scenariosConfig,
customThresholds,
);
{
"http_req_duration": ["p(90)<200", "p(95)<300", "avg<250"],
"http_req_failed": ["rate<0.01"],
"http_req_connecting": ["p(95)<50"],
"http_req_sending": ["avg<50"],
"http_req_receiving": ["avg<3000"]
}
Error: error:0308010C:digital envelope routines::unsupported execute following command
export NODE_OPTIONS=--openssl-legacy-providerFAQs
Enhanced k6 core library for efficient load testing
We found that opengov-k6-core demonstrated a not healthy version release cadence and project activity because the last version was released 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
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.