Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
@2sic.com/dnn-sxc-angular
Advanced tools
Connector for angular 4.3+ (git | web) if you're using
This is a helper system which
It uses observables to make it happen, thereby avoiding timing / async problems common in this scenario.
It's published on npm, so the most common way is to get it using npm install:
npm install -d @2sic.com/dnn-sxc-angular
Make sure your application uses the Http Interceptor by adding the important providers to app.module.ts, so you'll need to add:
import { DnnSxcModule } from '@2sic.com/dnn-sxc-angular'
and this module to the @NgModule - here's an example from the Angular Directory App, yours will look a bit different.
@NgModule({
declarations: [
AppComponent
],
imports: [
DnnSxcModule, // DnnSxc module ensures all connectors are available
HttpClientModule, // important - this changed in Angular 4.3
BrowserModule,
FormsModule,
DirectoryModule,
RouterModule.forRoot(appRoutes)
],
bootstrap: [AppComponent]
})
export class AppModule { }
Now, make sure initializations happen, by changing your app.component.ts from
export class AppComponent {...}
to
export class AppComponent extends DnnAppComponent {
constructor(
element: ElementRef,
context: Context,
) {
super(element, context);
}
}
Again you can compare it with the example from the Angular Directory App. That's it!
FAQs
Connect DNN / DotNetNuke and 2sxc to Angular 6-11 and probably newer as well
The npm package @2sic.com/dnn-sxc-angular receives a total of 48 weekly downloads. As such, @2sic.com/dnn-sxc-angular popularity was classified as not popular.
We found that @2sic.com/dnn-sxc-angular demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.