
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.
github.com/bugoio/bugo-sass-utilities
A Hugo Module that contains Bugo specific Sass functions, mixins & variables
Before starting check the list below:
If your project isn't a Hugo Module.
hugo mod init
Get this module.
hugo mod get github.com/bugoio/bugo-sass-utulities
Add it to your Hugo config file (shown in YAML).
module:
imports:
- disable: false
ignoreConfig: false
path: github.com/bugoio/bugo-sass-utilities
This partial consolidates all SASS variables stored in your project's assets folders. Since this runs at build time it uses Hugo's "consoloidated" assets directory.
Files must be named one of two ways to be included.
Add the partial to your /layouts/_default/baseof.html
template. Anywhere will do. This partial does not output any markup. The partial call below is included in the bugo-stylesheets partial. If you're already using bugo-stylesheets, you don't need to call it again.
{{ partial "utilities/bugo-sass-utilities" . }}
Creates a variables file in your local build folder from all files labeled *-vars.scss
at build time.
/public/site-variables-example.scss
**/*-global-variables.scss
firstThis partial returns a permalink to a consolidated CSS resource.
.scss`` files in Hugo's assetDir (
/assets`` by default)_*.scss
){{ $stylesheet := partial "utilities/bugo-stylesheets" . }}
<link rel="stylesheet" href="{{ $stylesheet }}" media="screen" />
FAQs
Unknown package
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.