
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@smartbear/browser-info
Advanced tools
Tiny developer-friendly JS library that provides information about host browser
Tiny (~2KB) vanilla JS developers-friendly library that provides information about host browser and OS. A goal of this library isn't creation of the all-knowing and heavy database. Rather focus is to keep is small and light. Eg if you want to focus on major browsers and platforms.
Demo: https://smartbear.github.io/browser-info/
import BrowserInfo from '@smartbear/browser-info'
BrowserInfo.detect(); // if param not given, then it will use navigator.userAgent
console.log(BrowserInfo.name); // print detected browser's name
console.log(BrowserInfo.release); // print detected browser's major release number
console.log(BrowserInfo.version); // print detected browser's version string
console.log(BrowserInfo.os); // print detected OS name
In dist
directory there is a file with .embed
sufix. Importing this library into your UI will cause calling
detect()
method and assigning BrowserInfo
to window.navigator.browserInfo
- this way it is accessible globally.
import '@smartbear/browser-info/dist/smartbear-browser-info.embed.min'
console.log(window.navigator.browserInfo);
This project is licensed under the ISC License - see the LICENSE file for details.
FAQs
Tiny developer-friendly JS library that provides information about host browser
We found that @smartbear/browser-info demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 18 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.