
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
@aws-community/self-destruct
Advanced tools
Ephemeral Stacks! A CDK Stack and Construct that will self-destruct after a specified time period.
Blog Post: Say Goodbye to Your CDK Stacks: A Guide to Self-Destruction
This project publishes an npm library that contains a CDK Stack and CDK Construct that will self-destruct the Stack at a defined interval since the last deployment.
The Step Function:
In the event that the CloudFormation stack was already being deleted, it will gracefully exit.
You can use this in your projects in two ways:
To build this into your stacks... you can simply extend the stack:
export interface MyStackProps extends SelfDestructStackProps {};
export class MyStack extends SelfDestructStack {
constructor(scope: Construct, id: string, props: MyProps) {
super(scope, id, props);
}
}
By default the self destruct construct is DISABLED. You have to explicitly enable it by passing in the selfDestructEnabled: true
. You can also override the duration with the selfDestructDuration
property.
If instead you want to install this into an existing stack, you can!
export class MyStack {
constructor(scope: Construct, id: string) {
super(scope, id);
new SelfDestructConstruct(this, 'SelfDestruct', {
duration: Duration.days(7), // a duration is required
});
}
}
FAQs
Ephemeral Stacks! A CDK Stack and Construct that will self-destruct after a specified time period.
We found that @aws-community/self-destruct 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.