
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.
dropbox-streaming-upload
Advanced tools
Streaming uploads for dropbox api v2
Official js sdk by dropbox lacks streaming upload feature. This package provide just that missing feature, nothing else.
npm install --save dropbox-streaming-upload
const upload = require('dropbox-streaming-upload').default
upload(options).then(function(successMetadata) {
}, function(error) {
})
const upload = require('dropbox-streaming-upload').default
const options = {
access_token: 'token',
readable_stream: someStream,
file_size: totalSize,
destination: '/mypath/myfile.ext',
}
upload(options).then(function(successMetadata) {
}, function(error) {
if (error.message === 'user_aborted') {
// you cancelled the upload below
}
})
// when you want to cancel it (before upload is done/failed)
// cancel function is added to your options object by library
// calling cancel function after upload is done/failed has no effect
options.cancel()
npm install
{
"localFilePath": "localfilepath.ext",
"destination": "./relative/to/tmp/folder/risingearth.jpg",
"forced_chunked_upload": false,
"chunk_size": 5e+6
}
npm test
FAQs
Streaming uploads to dropbox v2 api
The npm package dropbox-streaming-upload receives a total of 8 weekly downloads. As such, dropbox-streaming-upload popularity was classified as not popular.
We found that dropbox-streaming-upload 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
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.