Get support for banzaicloud/chartsec
If you're new to LTH, please see our FAQ for more information on what it is we do.
Support Options
Unfortunately, there are currently no active helpers for this repository on the platform. Until they become available, we reccomend the following actions:
View Open IssuesTake a look to see if anyone else has experienced the same issue as you and if they managed to solve it.
Open an IssueMake sure to read any relevant guidelines for opening issues on this repo before posting a new issue.
Sponsor directlyCheck out the page and see if there are any options to sponsor this project or it's developers directly.
banzaicloud/chartsec
Chartsec: Helm Chart security checker
Chartsec scans a Helm chart for potential security vulnerabilities for it's user. It's especially useful to check third-party charts before even decompressing them.
Usage
Chartsec can be used both as a library and an executable.
Build the binary executable with the following command:
go get github.com/banzaicloud/chartsec/cmd/chartsec
Use it to check a chart package:
chartsec path/to/package.tgz
Or use it as a library in your project:
package main
import (
"os"
"github.com/banzaicloud/chartsec"
)
func main() {
file, err := os.Open("path/to/package.tgz")
if err != nil {
panic(err)
}
scanner := chartsec.NewDefaultChartScanner()
err = scanner.Scan(file)
if err != nil {
panic(err)
}
}
Security checks
- Compressed archive does not exceed 10MB
- Decompressed archive does not exceed 10MB
- Markdown files do not contain malicious content (html script, etc)
Why is everything in package internal
?
While we believe this package is ultimately useful for anyone who work with third-party charts, the API is not quite stable yet, the implementation might change, so we decided to expose only what's necessary to use the core functionality to prevent ossification.
License
Apache 2.0 License. Please see License File for more information.
Our Mission
We want to make open source more sustainable. The entire platform was born from this and everything we do is in aid of this.
From the Blog
Interesting Articles
-
Generating income from open source
Jun 23 • 8 min read
-
2023 State of OSS
Apr 23 • 45 min read ★
-
A funding experiment...
Aug 19 • 10 min read
-
But You Said I could
Aug 19 • 2 min read
Thank you for checking out LiveTechHelper |
2025 © lth-dev incorporated
p-e622a1a2