Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@bigcommerce/form-poster
Advanced tools
This is a JavaScript library for making a POST request as if you are submitting a HTML form. The request will have application/x-www-form-urlencoded
content-type header. This is useful in situations where you want the same behaviour as submitting a HTML form without actually having the form in DOM.
You can install this package using npm or yarn. Below is an example of how to use it.
import { createFormPoster } from 'form-poster';
const formPoster = createFormPoster();
const url = '/url/123';
const data = { field_1: 'foo', field_2: 'bar' };
formPoster.postForm(url, data, () => {
console.log('done');
});
To install dependencies:
npm install
To transpile source code:
npm run build
To bump and tag a release:
npm run release
FAQs
A JavaScript library for posting HTML form data
The npm package @bigcommerce/form-poster receives a total of 3,541 weekly downloads. As such, @bigcommerce/form-poster popularity was classified as popular.
We found that @bigcommerce/form-poster demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 15 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
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.