
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).
dataverse-auth
Advanced tools
Performs on-behalf-of auth against a Microsoft Dataverse envrionment. Stores the token a local token for use in other NodeJS applications.
Cross-platform pure NodeJS On-behalf-of authenticaiton against Microsoft dataverse Pro. Stores the token for use with NodeJS applications such as dataverseify
~$ npx dataverse-auth [environment]
E.g.
~$ npx dataverse-auth contosoorg.crm.dynamics.com
You you want to specify the tenant Url rather that it be looked up automatically
~$ npx dataverse-auth [tennant] [environment]
E.g.
~$ npx dataverse-auth contoso.onmicrosoft.com contosoorg.crm.dynamics.com
For more information see the dataverse-ify project
By default the Debian kernel is hardened and proactively deny unprivileged user namespaces. This causes an issue when you install electron or packages depending on it, and there are (at least) two ways to bypass that.
For NPX to work you will have to enable unprivileged user namespaces. Instructions on how to do this is found in the this article
First, install the NPM package, globally or in a dedicated project. After the install navigate to $NPM_PACKAGES/lib/node_modules/dataverse-auth/node_modules/electron/dist (tip: if you try to run dataverse-auth the full path will be in the error message)
Change the owner of chrome-sandbox to root and chmod it to 4755:
~$ sudo chown root chrome-sandbox && sudo chmod 4755 chrome-sandbox
Now you can run it like any other package:
~$ dataverse-auth myorg.crm.dynamics.com
FAQs
Performs on-behalf-of auth against a Microsoft Dataverse envrionment. Stores the token a local token for use in other NodeJS applications.
The npm package dataverse-auth receives a total of 254 weekly downloads. As such, dataverse-auth popularity was classified as not popular.
We found that dataverse-auth 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.