
Research
Supply Chain Attack on Axios Pulls Malicious Dependency from npm
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.
Angular 15 library with several components to handle Chilean RUT validation, cleaning and formatting.
yarn add ng15-rut
# or
npm install ng15-rut --save
The easiest way to use this library is to import Ng15Rut in your app's main module.
import { NgModule } from '@angular/core';
import { Ng15Rut } from 'ng15-rut';
import { BrowserModule } from '@angular/platform-browser';
@NgModule({
...
imports: [
BrowserModule,
Ng15Rut
],
})
class DemoAppModule { }
See ./demo folder for a fully working example.
ng15-rut exposes multiple features that can be used to perform input validation and formatting. Probably you want to use one of the following:
RutValidator: Exposes the validateRut directive (to attach to models or inputs) and the RutValidator class to be used as Validator on reactive forms.RutPipe: Exposes the RutPipe pipe to format rut numbers on templatesRutDirective: Exposes the formatRut directive to format RUT inputs.import { FormGroup, FormBuilder, Validators, FormControl } from '@angular/forms';
export class DemoAppComponent {
constructor (fb: FormBuilder, rutValidator: RutValidator) {
this.reactiveForm = fb.group({
rut: ['30972198', [Validators.required, rutValidator]]
});
}
}
<input [(ngModel)]="user.rut" name="rut" validateRut required>
{{ user.rut }}
<!-- 30972198 -->
{{ user.rut | rut }}
<!-- 3.097.219-8 -->
<input [(ngModel)]="user.rut" name="rut" formatRut required>
<!--
(on blur)
3.097.219-8
(on focus)
30972198
-->
git checkout -b my-new-feature)git commit -am 'Add some feature')git push origin my-new-feature)Thank you contributors!
ng15-rut is maintained by odisleysi.
Angular 15 RUT is © 2023 GDExpress, spa. It is free software and may be redistributed under the terms specified in the LICENSE file.
FAQs
RUT for Angular 15
We found that ng15-rut 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
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.

Security News
TeamPCP is partnering with ransomware group Vect to turn open source supply chain attacks on tools like Trivy and LiteLLM into large-scale ransomware operations.