
Security News
/Research
Fake Corepack Site Distributes Infostealer and Proxyware to Developers
A fake corepack.org site is impersonating the Node.js tool and delivers an infostealer and proxyware to developers who download it.
react-with-mediarecorder
Advanced tools
React Higher-Order Component for the MediaStream Recording API.
Capture audio or video from React Component.
Note: As of today (Abril 2019) the only browsers with MediaRecorder support are:
- Chrome 49+
- Firefox 30+
- Opera 36+
Go to caniuse to get updated info about support.
npm install react-with-mediarecorder
WithMediaRecorder(Component)
import React from 'react'
import WithMediaRecorder from 'react-with-mediarecorder'
const Example = ({ mediaRecorder }) => (
<div>
<h1>Media recorder</h1>
<p>{(mediaRecorder.isRecording) && '- Recording...'}</p>
<div>
<div>{mediaRecorder.previewElement}</div>
<div>{mediaRecorder.recordedElement}</div>
</div>
<button onClick={mediaRecorder.askPermissions}>[?] ask/start</button>
{(mediaRecorder.isRecording)
? <button onClick={mediaRecorder.stopRecord}>[x] stop</button>
: <button onClick={mediaRecorder.record}>[o] record</button>
}
</div>
)
export default WithMediaRecorder(Example)
<ExampleWithRecorder
constraints={{ video: true, audio: true }}
recordDelayMs={2000}
recordTimerMs={20000}
/>
constraints: Object : required
A MediaStreamConstraints object
Most simple audio/video example:
{
video: true,
audio: true
}
recordDelayMs: Int
Time (ms) to wait for autorecord.
recordTimerMs: Int
Time (ms) to max record time
FAQs
React HOC for MediaRecorder interface
We found that react-with-mediarecorder 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.

Security News
/Research
A fake corepack.org site is impersonating the Node.js tool and delivers an infostealer and proxyware to developers who download it.

Research
/Security News
A large-scale campaign abused GitHub Actions in compromised repositories to exploit CVE-2026-41940 in cPanel and WHM and steal server credentials.

Security News
Five frontier LLMs generated the same nonexistent package names, leaving 53 available for potential slopsquatting across PyPI and npm.