
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.
angular2-reflow
Advanced tools
Contextimport * as reflow from 'angular2-reflow';
export class ContextFactory extends reflow.ContextFactory {
mapDependency() {
// mapping dependency
}
}
import * as reflow from 'angular2-reflow';
class Class1 {
constructor(@Inject(reflow.EVENT_BUS) private eventBus:reflow.EventBus) {
}
click() {
this.eventBus.dispatchEvent(new Event('some-event'));
}
}
import * as reflow from 'angular2-reflow';
class Class2 {
constructor(@Inject(reflow.EVENT_BUS) private eventBus:reflow.EventBus) {
eventBus.addEventListener('some-event', this.handler);
}
handler(event) {
console.log('!!!');
}
}
Commandimport * as reflow from 'angular2-reflow';
export class Command1 implements reflow.Command {
constructor(@Inject('service') private service:Service
@Inject('model') private model:Model) {
}
execute(chain:reflow.CommandChain) {
this.service.getData().then((result) => {
this.model.data = result;
chain.next();
});
}
}
Command to Contextimport * as reflow from 'angular2-reflow';
import {Command1, Command2} from './commands';
export class ContextFactory extends reflow.ContextFactory {
mapDependency() {
this.mapCommand('execute-commands', [Command1, Command2]);
}
}
Commandimport * as reflow from 'angular2-reflow';
import {ContextFactory} from './context';
let factory:reflow.ContextFactory = new ContextFactory;
@Component({
selector: 'app-main',
providers: [factory.providers]
})
class Main implements OnInit, OnDestroy {
constructor(@Inject(reflow.CONTEXT) private context:reflow.Context,
@Inject(reflow.EVENT_BUS) private eventBus:reflow.EventBus) {
}
ngOnInit() {
this.context.start();
}
ngOnDestroy() {
this.context.destroy();
}
click() {
this.eventBus.dispatchEvent(new Event('execute-commands'));
}
}
FAQs
...
We found that angular2-reflow 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.