
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.
@beyonk/svelte-facebook-customer-chat
Advanced tools
Pure vanilla JS Facebook Customer Chat integration

$ npm install --save-dev @beyonk/svelte-facebook-customer-chat
<CustomerChat ref:fb page_id="163258547622199" theme_color="#05a092" />
<script>
import CustomerChat from '@beyonk/svelte-facebook-customer-chat'
export default {
components: {
CustomerChat
}
}
</script>
The attributes you pass to the CustomerChat component are as per facebook documentation.
You definitely need to pass the attribute page_id.
<div id="my-chat"></div>
<script>
import CustomerChat from '@beyonk/svelte-facebook-customer-chat'
const chat = new CustomerChat({
target: document.querySelector('#my-chat'),
data: {
page_id: '1234567890',
theme_color: '#ff0000'
}
})
</script>
There are a number of configuration attributes you can pass, but all are optional.
List of possible options in the module:
| Option | Default | Required | Description |
|---|---|---|---|
| locale | 'en_GB' | false | Facebook chat locale |
| version | v2.12 | false | Facebook Customer Chat SDK version |
| autoLogAppEvents | true | false | as Facebook. Automatically log app events |
| lib | true | false | Unique id to determine if component is loaded. You probably don't need to change this. |
FAQs
Unknown package
The npm package @beyonk/svelte-facebook-customer-chat receives a total of 1 weekly downloads. As such, @beyonk/svelte-facebook-customer-chat popularity was classified as not popular.
We found that @beyonk/svelte-facebook-customer-chat 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
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.