
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.
@getyoti/share-client-core
Advanced tools
⚠️ Are you set up with Yoti?
Please make sure you have read the quick introduction
Install the package
npm i @getyoti/share-client-core
Ready to use! Simply pass your SDK_ID
, the DOM
identifier of the html container, and specify the controls and options.
import { startYotiModalShare } from '@getyoti/share-client-core'
const SDK_ID = '60f98bf7-0da7-4484-aa64-5a753dd502e0'
const DOM_ID = 'share-div'
const shareUrlProvider = async () => {
// Call your server to get a new share url and return that url.
}
await startYotiModalShare({
clientSdkId: SDK_ID,
domId: DOM_ID,
controls: {
shareUrlProvider,
},
options: {
skin: 'digital-id-uk',
button: {
width: 'full',
},
},
})
The library exposes 3 methods
import { loadClient, startYotiModalShare, startYotiInlineShare } from '../lib/main'
Method | Description |
---|---|
loadClient() | Utility method, loads the Yoti share client once only |
startYotiModalShare({...}) | Loads the share client if not present and then render the modal element |
startYotiInlineShare({...}) | Same as startYotiModalShare but for the inline element |
FAQs
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.