
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
A command line tool to set the metadata for your default Youtube Live stream.
A command line tool to set the metadata for your default Youtube Live stream.
livestream --title "Test livestream" --description "Here's my livestream. Isn't it great?"
This will print out the view URL.
require('livestream')({
title: 'My livestream',
description: 'In which I complain about many things',
})
.then(url => {
console.log('stream url:', url)
})
.catch(console.error)
The parameters we accept are:
async livestream({
title?: String,
description?: String,
interactive=true: Bool,
partition='persist: livestream': String
}) ~> url: String
You need interactive
to be true the first time you call this function. Otherwise, you won't be able to log in.
We use Nightmare to set the stream metadata. This is hackish, and arguably weird, but is has the benefit of working and being very quick to write.
The Youtube API would be better in some abstract sense, but it doesn't have an obvious way to manipulate the default stream. You can create streams, but these will all have their own stream keys, which I'd have to wire into my stream software, which doesn't have a remote access API, because of course it doesn't.
Also, this command would probably require an API key, which you'd have to dig into the developer's console to create, and then you'd probably have to do something with OAuth, and as is well known, doing nothing with OAuth is vastly superior to doing anything with OAuth, and anyway, I stopped caring about finding a better approach two sentences into the first paragraph.
FAQs
A command line tool to set the metadata for your default Youtube Live stream.
The npm package livestream receives a total of 2 weekly downloads. As such, livestream popularity was classified as not popular.
We found that livestream 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
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.