Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
secure-cdk
Advanced tools
Security abstraction for AWS CDK library. Create AWS resources with best security practices applied for you.
The purpose of this package is to enforce best security practices for AWS
services. It uses AWS CDK
under the hood to create resources and won't without it.
You may find that some of the rules are too strict for your use cases, but you always have a possibility be explicitly overriding them. If you do that, you will get a warning that will remind you about the security violations.
npm i secure-cdk --save-dev
or
yarn add secure-cdk -D
By using SecureBucket
class instead of the AWS's Bucket
construct, you are getting the following properties set by default.
Property | Value | Description | AWS CDK Default |
---|---|---|---|
enforceSSL | true | Enforces SSL for requests. | false |
publicReadAccess | false | Grants public read access to all objects in the bucket. | false |
encryption | Encrypted (S3 managed) | The kind of server-side encryption to apply to this bucket. | Unencrypted |
import { SecureBucket } from 'secure-cdk';
const mySiteBucket = new SecureBucket(this, 'myBucket', {
bucketName: 'my-bucket-name',
websiteIndexDocument: 'index.html'
});
FAQs
Security abstraction for AWS CDK library. Create AWS resources with best security practices applied for you.
The npm package secure-cdk receives a total of 25 weekly downloads. As such, secure-cdk popularity was classified as not popular.
We found that secure-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.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.