Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
@tkey-mpc/chrome-storage
Advanced tools
The tKey Chrome Storage Module helps you store and recall key shares in the chrome extension storage. This module is the part of the tKey SDK.
npm install --save @tkey-mpc/chrome-storage
ChromeExtensionStorageModule
class from @tkey-mpc/chrome-storage
import ChromeExtensionStorageModule from "@tkey-mpc/chrome-storage";
ChromeExtensionStorageModule
class to a variableconst chromeStorageModule = new ChromeExtensionStorageModule();
The ChromeExtensionStorageModule
class returns an object with the following properties:
class ChromeExtensionStorageModule implements IModule {
moduleName: string;
tbSDK: ITKeyApi;
constructor();
setModuleReferences(tbSDK: ITKeyApi): void;
initialize(): Promise<void>;
storeDeviceShare(deviceShareStore: ShareStore, customDeviceInfo?: StringifiedType): Promise<void>;
storeShareOnChromeExtensionStorage(share: ShareStore): Promise<void>;
getStoreFromChromeExtensionStorage(): Promise<ShareStore>;
inputShareFromChromeExtensionStorage(): Promise<void>;
}
With the ChromeExtensionStorageModule
, you've access to the following functions:
storeDeviceShare(deviceShareStore, customDeviceInfo?)
deviceShareStore
: The ShareStore
object to store.customDeviceInfo?
: Information about the device to store.ShareStore
class ShareStore implements ISerializable {
share: Share;
polynomialID: PolynomialID;
constructor(share: Share, polynomialID: PolynomialID);
static fromJSON(value: StringifiedType): ShareStore;
toJSON(): StringifiedType;
}
interface ISerializable {
toJSON(): StringifiedType;
}
storeShareOnChromeExtensionStorage(share)
share
: The ShareStore
object to store.getStoreFromChromeExtensionStorage()
Promise<ShareStore>
: The ShareStore
object.FAQs
TKey Chrome Storage Module
The npm package @tkey-mpc/chrome-storage receives a total of 151 weekly downloads. As such, @tkey-mpc/chrome-storage popularity was classified as not popular.
We found that @tkey-mpc/chrome-storage demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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 researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.