
Research
Namastex.ai npm Packages Hit with TeamPCP-Style CanisterWorm Malware
Malicious Namastex.ai npm packages appear to replicate TeamPCP-style Canister Worm tradecraft, including exfiltration and self-propagation.
This package provides authentication module with interceptor
npm install ngx-auth --save
For older versions of angular see Older Versions section.
Full example you can find in the example folder.
Authentication modules provides ability to attach authentication token automatically to the headers (through http interceptors), refresh token functionality, guards for protected or public pages and more.
NgxAuthService interface to implement it with your custom Authentication service, e.g.:ngxPublicGuard for public routes and ngxProtectedGuard for protected respectively, e.g.:provideNgxAuthProviders to provide NgxAuthService implementation and protectedRedirectUri, publicRedirectUri redirect urisBy default, requests are intercepted and a { Authorization: 'Bearer ${token}'} header is injected. To customize this behavior, implement the getHeaders method on your NgxAuthService
The NgxAuthService has an optional method setInterruptedUrl which saves the URL that was requested before the user is redirected to the login page. This property can be used in order to redirect the user to the originally requested page after he logs in.
For angular 16-19, use version 6.0.0
npm install ngx-auth@5.4.0 --save
For angular 7-15, use version 5.4.0
npm install ngx-auth@5.4.0 --save
For angular 6, use version 4.1.0
npm install ngx-auth@4.1.0 --save
For angular 5, use version 3.1.0
npm install ngx-auth@3.1.0 --save
For angular 4, use version 2.2.0
npm install ngx-auth@2.2.0 --save
FAQs
Angular 20+ Authentication module
The npm package ngx-auth receives a total of 1,960 weekly downloads. As such, ngx-auth popularity was classified as popular.
We found that ngx-auth demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Malicious Namastex.ai npm packages appear to replicate TeamPCP-style Canister Worm tradecraft, including exfiltration and self-propagation.

Product
Explore exportable charts for vulnerabilities, dependencies, and usage with Reports, Socket’s new extensible reporting framework.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.