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.
@starnetbih/au2-auth
Advanced tools
This library is a based on aurelia2-auth plugin and previous work done by SpoonX.
Full disclosure: this plugin is in alpha stage. Use at your own risk.
npm install @starnetbih/au2-auth
or yarn add @starnetbih/au2-auth
Inside of your main.ts/main.js file register the plugin on the register method:
import { AureliaAuthConfiguration } from '@starnetbih/au2-auth';
Aurelia.register(AureliaAuthConfiguration);
//Or configure
Aurelia.register(
AureliaAuthConfiguration.configure({responseTokenProp: 'bearerToken'})
);
import { IAppConfiguration } from '@starnetbih/au2-auth';
export class MyApp {
constructor( @IAuthService private Auth: IAuthService ) { }
async attached() {
let resp = await this.Auth.login({
credentials: { username: "admin", password: "admin" }
});
console.log(this.Auth.getTokenPayload());
}
}
FAQs
Auth plugin for aurelia 2 (alpha)
The npm package @starnetbih/au2-auth receives a total of 1 weekly downloads. As such, @starnetbih/au2-auth popularity was classified as not popular.
We found that @starnetbih/au2-auth demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.