Research
Recent Trends in Malicious Packages Targeting Discord
The Socket research team breaks down a sampling of malicious packages that download and execute files, among other suspicious behaviors, targeting the popular Discord platform.
anyport
Advanced tools
Readme
A command line tool to get a list of available ports.
npm i anyport
Usage: anyport [options]
Options:
-h, --help output usage information
-V, --version output the version number
--min [n] The minimum port number, default: 8000
--max [n] The maximum port number, at most 65535
--num [n] The number of the available ports, default: 1
By default, it will print one available port.
$ anyport
8000
With the --num
option, you can specify how many ports you want to get. The port numbers are delimited by comma.
$ anyport --num 10
8000,8001,8002,8003,8004,8005,8006,8007,8008,8009
Also, you can specify the range of the generated ports with the --min
and --max
options.
$ anyport --min 9000
9000
$ anyport --min 9000 --max 9005 --num 10
9000,9001,9002,9003,9004,9005
MIT.
FAQs
A command line tool to get a list of available ports
The npm package anyport receives a total of 1 weekly downloads. As such, anyport popularity was classified as not popular.
We found that anyport 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
The Socket research team breaks down a sampling of malicious packages that download and execute files, among other suspicious behaviors, targeting the popular Discord platform.
Security News
Socket CEO Feross Aboukhadijeh joins a16z partners to discuss how modern, sophisticated supply chain attacks require AI-driven defenses and explore the challenges and solutions in leveraging AI for threat detection early in the development life cycle.
Security News
NIST's new AI Risk Management Framework aims to enhance the security and reliability of generative AI systems and address the unique challenges of malicious AI exploits.