
Research
Malicious fezbox npm Package Steals Browser Passwords from Cookies via Innovative QR Code Steganographic Technique
A malicious package uses a QR code as steganography in an innovative technique.
@wix/agent-platform-bm-sdk
Advanced tools
`agent-platform-bm-sdk` is a library designed to facilitate interaction with a platform's agent within a Domain Assistant Tool. It provides a way to report events and errors to the platform, and to invoke side effects.
agent-platform-bm-sdk
is a library designed to facilitate interaction with a platform's agent within a Domain Assistant Tool. It provides a way to report events and errors to the platform, and to invoke side effects.
Add to your Assistant App, the GENIE.PUBLISH_ASSISTANT_SIDE_EFFECT
permission
In the tools execute function use this:
execute: async (params, ctx) => {
const APP_SECRET = ctx.getConfig('app-secret')!
ctx.apiGatewayClient.signWith('<PASTE_APP_DEF_ID>', APP_SECRET)
const signedAspects = await ctx.apiGatewayClient.addServiceIdentitySafe(ctx.aspects)
const data = {
url: 'http://www.wix.com'
}
await ctx.invokeSideEffect(
'your-event-name', //Like 'navigate-to' - must match this regex `^[A-Za-z0-9_-]+$`
data,
signedAspects
)
Add this code to your BM app when you want to receive event on the client (like navigate)
import { useAssistantEffect } from '@wix/agent-platform-bm-sdk';
// ...
useAssistantEffect<{url: string}>(
({url}) => {
console.log({url});
window.open(url);
},
'your-app-def-id',
'your-event-name', //like 'navigate-to'
);
Advanced Assistant Configuration
(initial screen) register a side effect listener.FAQs
`agent-platform-bm-sdk` is a library designed to facilitate interaction with a platform's agent within a Domain Assistant Tool. It provides a way to report events and errors to the platform, and to invoke side effects.
The npm package @wix/agent-platform-bm-sdk receives a total of 718 weekly downloads. As such, @wix/agent-platform-bm-sdk popularity was classified as not popular.
We found that @wix/agent-platform-bm-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 29 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
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.
Application Security
/Research
/Security News
Socket detected multiple compromised CrowdStrike npm packages, continuing the "Shai-Hulud" supply chain attack that has now impacted nearly 500 packages.