Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
adf-prefix-updater
Advanced tools
Switches the `alfresco and activiti` prefix to `adf` in ADF apps
npm i -g angular-material-prefix-updater
Note: Running this tool with Angular Material versions higher than beta.11
will not work. The prefix updater tool requires type information from the outdated Md
classes.
The upgrade to the latest version of Angular Material should happen after running the tool.
# Show the help for the tool
adf-switcher --help
# Run the tool to update prefixes
adf-switcher -p path/to/project/tsconfig.json
# Run the tool to update prefixes with additional style
# files not referenced by an Angular component, where --extra-css
# accepts a glob pointing to the style files
adf-switcher -p path/to/project/tsconfig.json --extra-css 'custom/**/*.css'
After running the tool, add a provider to the root of your application:
import {MATERIAL_COMPATIBILITY_MODE} from '@angular/material';
@NgModule({
providers: [
{provide: MATERIAL_COMPATIBILITY_MODE, useValue: true},
// ...
],
})
export class MyModule { }
This will enforce that only the "mat" prefix is used for all selectors.
FAQs
Switches the `alfresco and activiti` prefix to `adf` in ADF apps
The npm package adf-prefix-updater receives a total of 1 weekly downloads. As such, adf-prefix-updater popularity was classified as not popular.
We found that adf-prefix-updater 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.