
Research
Malicious fezbox npm Package Steals Browser Passwords from Cookies via Innovative QR Code Steganographic Technique
A malicious package uses a QR code as steganography in an innovative technique.
@linzjs/cdk-elastic-shipper
Advanced tools
Lambda function to ship logs from various AWS sources into a elastic search instance of your choosing.
This package exposes a AWS-CDK construct that can be imported into your CDK stack and can be used to configure logs to be automatically shipped into an elastic search of your choosing
import * as cdk from '@aws-cdk/aws-cdk'
import * as ssm from '@aws-cdk/aws-ssm'
import { LambdaLogShipperFunction } from '@linzjs/cdk-elastic-shipper'
export class YourStack extends cdk.Stack {
public constructor(scope: cdk.Construct, id: string, props?: cdk.StackProps) {
super(scope, id, props);
const vpc = new ec2.Vpc(this, 'Vpc');
const config = {
name: 'default',
accounts: [{
id: '1234567890',
elastic: '/es-shipper-config/elastic-default',
name: 'linz',
tags: ['hello'],
prefix: 'account-prefix',
logGroups: [{
filter: '**',
prefix: 'lg-prefix',
}],
}],
};
this.logShipper = new LambdaLogShipperFunction(this, 'LogShipper', { config, vpc });
/** Register a listener on a bucket, so when files are added they are to submitted to the log shipper*/
const logBucket = new s3.Bucket(this, 'LogBucket');
this.logShipper.addS3Source(logBucket);
}
}
The elastic connection strings need to be stored inside of SSM before running the deployment, there are three options for elasticsearch connections
{ url: 'https://node-name.eu-west-1.es.amazonaws.com' }
{
id: 'cloud:abc123',
username: 'foo',
password: 'bar'
}
{
url: 'https://fake.com'
username: 'foo'
password: 'bar'
}
This repository requires NodeJs > 12 & Yarn
Use n to manage nodeJs versions
# Download the latest nodejs & yarn
n latest
npm install -g yarn
# Install node deps
yarn
# Build everything into /build
yarn run build
# Run the unit tests
yarn run test
FAQs
Ship log lines to elasticsearch
The npm package @linzjs/cdk-elastic-shipper receives a total of 1 weekly downloads. As such, @linzjs/cdk-elastic-shipper popularity was classified as not popular.
We found that @linzjs/cdk-elastic-shipper 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.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.
Application Security
/Research
/Security News
Socket detected multiple compromised CrowdStrike npm packages, continuing the "Shai-Hulud" supply chain attack that has now impacted nearly 500 packages.