
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.
artillery-plugin-hls
Advanced tools
This plugin adds HTTP Live Streaming (HLS) support to Artillery to make it possible to load test HLS streaming servers. With the plugin enabled, when a request to an M3U8 playlist is made, Artillery will parse the playlist, pick one of the alternative streams, and download its segments (.ts files).
🐞 Please report issues over at https://github.com/shoreditch-ops/artillery/issues
HTTP Live Streaming (also known as HLS) is an HTTP-based media streaming communications protocol implemented by Apple Inc. as part of its QuickTime, Safari, OS X, and iOS software. Client implementations are also available in Microsoft Edge, Firefox and some versions of Google Chrome. Support is widespread in streaming media servers.
Source: HTTP Live Streaming on Wikipedia
Additional reading:
npm install -g artillery-plugin-hls
config:
target: "https://video.example.com"
plugins:
hls: {}
To stream an HLS-encoded video, make a request to an m3u8 playlist, and set the hls attribute to {} to use the default options, or customize streaming options:
scenarios:
- name: "Stream an HLS video"
flow:
- get:
url: "/streams/xyz0123/xyz0123.m3u8"
hls:
concurrency: 2
streamSelector:
resolution:
width: 320
height: 184
throttle: 100
The following options are supported on the hls attribute:
concurrency - the number of segments to download concurrently; defaults to 4throttle - set to a number (in kb/sec) to throttle bandwidth available to download that streamstreamSelector - specify how an alternative stream should be selected; defaults to a random stream.resolution - set width and height to pick the stream that matchesname - set to match on the NAME attribute of a streambandwidth - set to a number to select a specific bandwidth; or to "min"/"max" to select the lowest/highest bandwidthindex - set to a number to select the alternative stream at that index in the playlist, "random" to select a stream at random, or "all" to iterate through all streams.The plugin adds a number of custom metrics to Artillery reports:
.ts files) requested from the serverStreaming video with a large number of virtual users can quickly exhaust all available bandwidth on a single machine. Therefore bandwidth utilization should be monitored closely while tests run to scale out the number of nodes on which Artillery runs as needed.
Artillery Pro provides a solution for running tests from a cluster of nodes easily as well as a number of other team and enterprise-oriented features, and deep AWS integration.
Some of the code in this project has been adopted from hls-fetcher, licensed under MIT:
The rest of the code is licensed under MPL-2.0.
FAQs
HTTP Live Streaming (HLS) support for Artillery
The npm package artillery-plugin-hls receives a total of 17 weekly downloads. As such, artillery-plugin-hls popularity was classified as not popular.
We found that artillery-plugin-hls 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.