Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
fuzzy-testing
Advanced tools
Fuzz testing tools for node.
Because javascript is a loosely typed language, it is difficult to prepare for all the different possible types that a function might receive. In order to better build stable javascript applications, fuzzy-testing is a tool that will try many possible combinations of data types within arguments.
To install to your local project, simply run:
npm install fuzzy-testing
then, call one of the fuzzFunctions from within your testing code. If you're using jest, you can do something like this:
import { fuzzFunction } from 'fuzzy-testing';
expect(fuzzFunction(onlyBools, { maxArgs: 1 })).toEqual([]);
fuzzFunction
is a function that takes a function and an object specifying it's options.
Fuzzy testing also allows you to fuzz the render method of react component via fuzzReactComponent
.
FAQs
Javascript fuzz testing tools
The npm package fuzzy-testing receives a total of 7 weekly downloads. As such, fuzzy-testing popularity was classified as not popular.
We found that fuzzy-testing 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 uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.