
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
temporalio-cluster-cdk
Advanced tools
CDK constructs to setup a [Temporal](https://temporal.io/) cluster on ECS Fargate.
CDK constructs to setup a Temporal cluster on ECS Fargate.
Note: this is currently a work in progress. At this point, I consider it as a proof-of-concept. However, I believe that, once completed, these constructs will provide a reasonable method for setup of production-grade application-scoped Temporal cluster in AWS/CDK environements.
Note that default machine specs are intentionnaly small; also, in the following examples, removal policy is intentionnaly set to DESTROY. This is appropriate for tests and development purpose. In production, you should size up your containers appropriately and would most likely want to set removal policy to RETAIN (well, at least on your datastore).
import { App, RemovalPolicy, Stack } from 'aws-cdk-lib';
import { TemporalCluster } from 'temporalio-cluster-cdk';
import { Vpc } from 'aws-cdk-lib/aws-ec2';
import { PrivateDnsNamespace } from 'aws-cdk-lib/aws-servicediscovery';
const app = new App();
const stack = new Stack(app, 'MyTemporalClusterStack', {
region: process.env.CDK_DEFAULT_REGION,
account: process.env.CDK_DEFAULT_ACCOUNT,
});
const vpc = new Vpc(stack, 'Vpc', {
maxAzs: 2,
natGateways: 1,
});
const cloudMapNamespace = new PrivateDnsNamespace(stack, 'CloudMapNamespace', {
name: 'privatesvc',
vpc: vpc,
});
const temporalCluster = new TemporalCluster(stack, 'TemporalCluster', {
vpc,
cloudMapRegistration: {
namespace: cloudMapNamespace,
serviceName: 'temporal',
},
removalPolicy: RemovalPolicy.DESTROY,
});
//
// temporalCluster.connections.allowDefaultPortFromAnyIpv4();
// temporalCluster.roleConnections.web.allowDefaultPortFromAnyIpv4();
app.synth();
new TemporalCluster(stack, 'TemporalCluster', {
...
temporalVersion: TemporalVersion.V1_14_1
...
}
new TemporalCluster(stack, 'TemporalCluster', {
...
temporalVersion: TemporalVersion.V1_14_3.withCustomizations({ repositoryBase: 'public.ecr.aws/123456789/' }),
...
}
const ecsCluster = new Cluster(stack, 'EcsCluster', {
vpc: vpc,
enableFargateCapacityProviders: true,
containerInsights: true,
});
new TemporalCluster(stack, 'TemporalCluster', {
...
ecsCluster
...
}
const datastore = new AuroraServerlessTemporalDatastore(stack, 'Datastore', {
engine: DatabaseClusterEngine.auroraMysql({ version: AuroraMysqlEngineVersion.VER_2_10_1 }),
vpc,
removalPolicy: RemovalPolicy.DESTROY,
});
new TemporalCluster(stack, 'TemporalCluster', {
...
datastore,
...
}
The MIT License
Copyright (c) 2022 Progymedia Inc. All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
FAQs
CDK constructs to setup a [Temporal](https://temporal.io/) cluster on ECS Fargate.
The npm package temporalio-cluster-cdk receives a total of 1 weekly downloads. As such, temporalio-cluster-cdk popularity was classified as not popular.
We found that temporalio-cluster-cdk 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
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.