
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@tkey/seed-phrase
Advanced tools
The tKey Seed Phrase Module helps you add or remove the and password as a share for tkey. This module is the part of the tKey SDK.
npm install --save @tkey/seed-phrase
SeedPhraseModule
class from @tkey/seed-phrase
import SeedPhraseModule from "@tkey/seed-phrase";
SeedPhraseModule
class to a variableconst seedPhraseModule = new SeedPhraseModule();
The SeedPhraseModule
class returns an object with the following properties:
declare class SeedPhraseModule implements IModule {
moduleName: string;
tbSDK: ITKeyApi;
seedPhraseFormats: ISeedPhraseFormat[];
constructor(formats: ISeedPhraseFormat[]);
setModuleReferences(tbSDK: ITKeyApi): void;
initialize(): Promise<void>;
setSeedPhrase(seedPhraseType: string, seedPhrase?: string): Promise<void>;
setSeedPhraseStoreItem(partialStore: ISeedPhraseStore): Promise<void>;
CRITICAL_changeSeedPhrase(oldSeedPhrase: string, newSeedPhrase: string): Promise<void>;
getSeedPhrases(): Promise<ISeedPhraseStore[]>;
getSeedPhrasesWithAccounts(): Promise<ISeedPhraseStoreWithKeys[]>;
getAccounts(): Promise<BN[]>;
}
With the SeedPhraseModule
, you've access to the following functions:
setSeedPhrase(seedPhraseType: string, seedPhrase?: string)
seedPhraseType
: The type of seed phrase to set.seedPhrase
: The seed phrase to set.setSeedPhraseStoreItem(partialStore: ISeedPhraseStore)
partialStore
: The partial store to set.getSeedPhrases()
Promise<ISeedPhraseStore[]>
: A list of seed phrases.getSeedPhrasesWithAccounts()
Promise<ISeedPhraseStoreWithKeys[]>
: A list of seed phrases with accounts.FAQs
TKey Seed Phrase Module
We found that @tkey/seed-phrase demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.