Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@mashroom-content/mashroom-content-asset-processing
Advanced tools
Mashroom Content Asset services
Plugin for Mashroom Server, a Microfrontend Integration Platform. Part of the Mashroom Content extension.
This plugin adds a service to fetch and process assets (e.g. image conversion).
If node_modules/@mashroom is configured as plugin path just add @mashroom-content/mashroom-content-asset-processing as dependency.
You can override the default config in your Mashroom config file like this:
{
"plugins": {
"Mashroom Content Asset Processing Services": {
"scaleUp": false,
"defaultQuality": 75,
"cacheEnable": true,
"cacheDefaultTTLSec": 31536000,
"cacheFolder": "./data/asset-proc-cache"
}
}
}
On the Server side you can use the following new service accessible through pluginContext.services.assetProc.service:
export interface MashroomContentAssetProcService {
/**
* Process and return given asset from URI - result will be cached
*/
processAssetFromUri(assetUri: string, resize?: MashroomContentAssetProcImageResize, convert?: MashroomContentAssetProcImageConvert): Promise<MashroomContentAssetProc>;
/**
* Process given asset
*/
processAsset(asset: Readable, resize?: MashroomContentAssetProcImageResize, convert?: MashroomContentAssetProcImageConvert): Promise<Readable>;
}
FAQs
Mashroom Content Asset services
The npm package @mashroom-content/mashroom-content-asset-processing receives a total of 1 weekly downloads. As such, @mashroom-content/mashroom-content-asset-processing popularity was classified as not popular.
We found that @mashroom-content/mashroom-content-asset-processing 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
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.