Skip to content
vetkitChecksChangelogDocumentation

vetkit.serverless.s3.public-acl

A bucket declared in serverless.yml uses a public canned ACL (PublicRead / PublicReadWrite). Every object, including later uploads, becomes readable (or writable) by anyone.

Last updated:

Suite: Security

yaml

A bucket declared in serverless.yml uses a public canned ACL (PublicRead / PublicReadWrite). Every object, including later uploads, becomes readable (or writable) by anyone.

Category: SECURITY · Engine rule severity: WARNING

How to fix it

Keep buckets private (Block Public Access) and serve public assets through CloudFront with origin access control.

References

Source: packages/engine/rules/sast/config.yml.

Generated from shipped rule definitions at build time. Matching is a review signal, not proof of exploitability. “generic” denotes text matching, not complete language or framework coverage. Runtime configuration and available tools affect whether a rule runs.