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.
bulk-strings
Advanced tools
A simple random bulk string generator. Useful for testing/benchmarking applications.
A simple random bulk string generator. Useful for testing/benchmarking applications.
Install with npm:
$ npm install --save bulk-strings
Here are examples to generate 10 strings, 3-4 characters in length:
const bulkStrings = require('bulk-strings');
// generate 10 strings, 3-4 characters in length
bulkStrings({ total: 10, min: 3, max: 4 });
$ bulk-strings --total 10 --min 3 --max 4
total
- The total number of strings to generate (default: 100).min
- The minimum length of each string (default: 1).max
- The maximum length of each string (default: 10).format
- The output format (default: array). Valid options are:
array
- JavaScript arraycsv
- Delimited string (useful with separator
option)json
- JSON formatted stringseparator
- Character(s) used to join the strings together (if format
is csv
) (default: ,).file
- A file path to write output to.FAQs
A simple random bulk string generator. Useful for testing/benchmarking applications.
We found that bulk-strings 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.