
Research
/Security News
jscrambler npm Package Compromised in Supply Chain Attack
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.
@rrweb/record
Advanced tools
This package contains all the record related code in rrweb and is designed to be published in a frontend app/webpage. See [Getting Started](../../guide.md#getting-started) in the rrweb guide for more information including the [record options](../../guide.
This package contains all the record related code in rrweb and is designed to be published in a frontend app/webpage. See Getting Started in the rrweb guide for more information including the record options.
For websocket based recording against the rrweb cloud API use the browser-client which builds on this package and accepts the same record options.
npm install @rrweb/record
import { record } from '@rrweb/record';
Use the CDN-hosted @rrweb/record browser asset when loading directly in the
browser:
<script type="module">
import { record } from 'https://cdn.rrweb.com/record/current/dist/record.js';
</script>
Use current for the latest stable release, or pin an exact version such as
https://cdn.rrweb.com/record/2.0.0/dist/record.js for immutable
production URLs.
<script> Include (UMD fallback)Use this only for compatibility with non-module environments.
<script src="https://cdn.rrweb.com/record/current/dist/record.umd.cjs"></script>
The legacy UMD global is rrwebRecord.
import { record } from '@rrweb/record';
record({
emit(event) {
// send event to server
},
});
Currently this package is really just a wrapper around the record function in the main rrweb package.
All record related code will get moved here in the future.
Become a sponsor and get your logo on our README on Github with a link to your site.
|
Yuyz0112 |
Yun Feng |
eoghanmurray |
Juice10 open for rrweb consulting |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
FAQs
This package contains all the record related code in rrweb and is designed to be published in a frontend app/webpage. See [Getting Started](../../guide.md#getting-started) in the rrweb guide for more information including the [record options](../../guide.
The npm package @rrweb/record receives a total of 639,829 weekly downloads. As such, @rrweb/record popularity was classified as popular.
We found that @rrweb/record demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers 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
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.

Research
/Security News
A malicious .NET package is typosquatting the Braintree SDK to steal live payment card data, merchant API keys, and host secrets from production apps.

Security News
/Research
Compromised Injective SDK npm version 1.20.21 exfiltrates wallet private keys and mnemonics through fake telemetry functionality.