
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.
chrome-tab-identifier
Advanced tools
Simple utility to fetch the current tab id inside a content-script.
Simple utility to fetch the current tab id inside a content-script.
npm install --save chrome-tab-identifier
On your event page:
import { TabIdentifier } from "chrome-tab-identifier";
const tabIdentifier = new TabIdentifier();
Then, on your content script:
import { TabIdentifierClient } from "chrome-tab-identifier";
const tabIdClient = new TabIdentifierClient();
tabIdClient.getTabId().then(tabId => {});
By default, this package will use a message with the type
property set to "__TAB_ID__"
. If you need to use your own type for whatever reason, you can just pass it as the first argument to both the identifier and the client:
new TabIdentifier("custom-type");
// ...
new TabIdentifierClient("custom-type");
Please note: If you do this and don't use the same string in both the identifier and client, then this won't work.
FAQs
Simple utility to fetch the current tab id inside a content-script.
The npm package chrome-tab-identifier receives a total of 2 weekly downloads. As such, chrome-tab-identifier popularity was classified as not popular.
We found that chrome-tab-identifier 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
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.