
Research
Malicious npm Package Brand-Squats TanStack to Exfiltrate Environment Variables
A brand-squatted TanStack npm package used postinstall scripts to steal .env files and exfiltrate developer secrets to an attacker-controlled endpoint.
motorq-documentdb
Advanced tools
Follow these instructions to run the tests locally.
Clone Azure/azure-documentdb-node repository Please clone the source and tests from https://github.com/Azure/azure-documentdb-node
Install Node.js and npm https://docs.npmjs.com/getting-started/installing-node
Install mocha package globally
npm install -g mocha
Using your command-line tool, from the root of your local copy of azure-documentdb-node repository: If you are contributing changes and submitting PR then you need to ensure that you run the tests against your local copy of the source, and not the published npm package.
If you just want to run the tests against the published npm package then skip steps #1 & #2 proceed directly to step #3
npm remove documentdb
npm install source
test directorycd test
mocha -t 0 -R spec
FAQs
Azure Cosmos DB Service Node.js SDK for SQL API
The npm package motorq-documentdb receives a total of 464 weekly downloads. As such, motorq-documentdb popularity was classified as not popular.
We found that motorq-documentdb demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
A brand-squatted TanStack npm package used postinstall scripts to steal .env files and exfiltrate developer secrets to an attacker-controlled endpoint.

Research
Compromised SAP CAP npm packages download and execute unverified binaries, creating urgent supply chain risk for affected developers and CI/CD environments.

Company News
Socket has acquired Secure Annex to expand extension security across browsers, IDEs, and AI tools.