
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@alisonc/squidget-hello
Advanced tools
1. Copy the `widget-starter` folder and rename as needed 2. Create new components in [./src/components](./src/components) as new folders, for example [./src/components/sqh-my-component](./src/components/sqh-my-component)
Copy the widget-starter
folder and rename as needed
Create new components in ./src/components as new folders, for example ./src/components/sqh-my-component
Before you begin:
my-theme-components
@saasquatch-themes/my-theme-components
Develop Stencil components locally
npm start
Build and publish to NPM under personal user to @saasquatch-themes/my-theme-components@1.0.0
npm login
npm run build
2a. Navigate to dist/my-theme-components/my-theme-components.js
and find + remove window.location.origin
from the built file (only needed if loading these components in an iframe)npm publish --access public
Implement widget in portal widget editor
Reference deployed components in advanced section of the widget editor:
dependencies:
package: @saasquatch-themes/my-theme-components
version: 1.0.0
filePath: /dist/mint-components/my-theme-components.js
plugins:
package: @saasquatch-themes/my-theme-components
version: 1.0.0
filePath: /grapesjs/grapesjs.js
Import custom html from index.html
Test widget in browser using squatch.js library
tenantAlias
, domain
, user
, widgetType
(p/[programId]/w/referrerWidget
), and jwt
fields for squatch initObj
in config{
"user":{
"id":"my-user-id",
"accountId":"my-account-id"
}
}
and your tenant's API key in the Verify Signature sectionFAQs
1. Copy the `widget-starter` folder and rename as needed 2. Create new components in [./src/components](./src/components) as new folders, for example [./src/components/sqh-my-component](./src/components/sqh-my-component)
We found that @alisonc/squidget-hello 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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.