Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@flywire/flywire-js
Advanced tools
Flywire JavaScript client.
Add the dependency to your package.json
:
npm i @flywire/flywire-js
import Flywire from '@flywire/flywire-js';
const flywire = Flywire({ token: 'TOKEN' });
flywire.country.findAll();
Key | Description |
---|---|
token | Client token provided by Flywire. Default = null |
mock | Enable mock mode. Default = false |
The mock
mode returns fake data and does not query the API. It works in node
and browser, but a service worker is needed in the last case:
npx msw init <PUBLIC_DIR>
To create a new release, make all the changes that you need and commit them, then execute:
npm version [<newversion> | major | minor | patch | premajor | preminor | prepatch | prerelease | from-git]
For example:
npm version patch
This will bump the package.json
version, build a new bundle, commit, push the
changes tagging them to a new release and update the documentation.
Then create a PR and request the review from other project commiters. Once
accepted and merged to master, execute npm publish
from master branch.
FAQs
Flywire JavaScript client
We found that @flywire/flywire-js demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.