
Research
/Security News
10 npm Typosquatted Packages Deploy Multi-Stage Credential Harvester
Socket researchers found 10 typosquatted npm packages that auto-run on install, show fake CAPTCHAs, fingerprint by IP, and deploy a credential stealer.
bivrost-save-blob-adapter
Advanced tools
Bivrost adapter. Allows to save api resposne as blob.
yarn add bivrost-save-blob-adapter
With Bivrost:
import DataSource from 'bivrost/data/source';
import bivrostApi from 'bivrost/http/api';
import axiosAdapter from 'bivrost-axios-adapter';
import saveBlobAdapter from 'bivrost-save-blob-adapter';
const api = bivrostApi({
host: 'localhost',
adapter: saveBlobAdapter(axiosAdapter()),
});
class UsersDataSource extends DataSource {
steps = ['api'];
api = {
loadAll: api('GET /users'),
};
saveUsersJSON(filters) {
return this.invoke('loadAll', filters).then(download => {
// call download function and generate filename
download((url, params, response) => `users-${response.length}.json`);
});
}
}
const usersDataSource = new UsersDataSource();
// Will save GET /users response as "users.json" file
usersDataSource.saveUsersJSON().then(() => {
console.log('file saved');
});
Direct calls:
import axios from 'axios';
import axiosAdapter from 'bivrost-axios-adapter';
import saveBlobAdapter from 'bivrost-save-blob-adapter';
const axiosAdapter = axiosAdapter(axios);
const saveBlob = saveBlobAdapter(axiosAdapter);
const requestOptions = {
method: 'GET',
};
saveBlob('/report/exel', requestOptions).then(download => {
download(() => 'exel.xls');
}); // browser will save and download response as file
Bivrost allows to organize a simple interface to asyncronous APIs.
FAQs
Bivrost adapter. Allows to save api resposne as blob
We found that bivrost-save-blob-adapter 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
Socket researchers found 10 typosquatted npm packages that auto-run on install, show fake CAPTCHAs, fingerprint by IP, and deploy a credential stealer.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.