Suppress vulnerabilities applying Kubernetes context to scans
Recorded: Sept. 19, 2026, 9:10 a.m.
| Original | Summarized |
GitHub - alegrey91/vex8s: Suppress vulnerabilities applying Kubernetes context to scans · GitHub Skip to content Navigation MenuSign inAppearance settingsPlatformAI CODE CREATIONGitHub CopilotWrite better code with AIGitHub Copilot appDirect agents from issue to mergeMCP RegistryIntegrate external toolsDEVELOPER WORKFLOWSActionsAutomate any workflowCodespacesInstant dev environmentsIssuesPlan and track workCode ReviewManage code changesCode QualityEnforce quality at mergeAPPLICATION SECURITYGitHub Advanced SecurityFind and fix vulnerabilitiesCode securitySecure your code as you buildSecret protectionStop leaks before they startEXPLOREWhy GitHubDocumentationBlogChangelogMarketplaceView all featuresSolutionsBY COMPANY SIZEEnterprisesSmall and medium teamsStartupsNonprofitsBY USE CASEApp ModernizationDevSecOpsDevOpsCI/CDView all use casesBY INDUSTRYHealthcareFinancial servicesManufacturingGovernmentView all industriesView all solutionsResourcesEXPLORE BY TOPICAISoftware DevelopmentDevOpsSecurityView all topicsEXPLORE BY TYPECustomer storiesEvents & webinarsEbooks & reportsBusiness insightsGitHub SkillsSUPPORT & SERVICESDocumentationCustomer supportCommunity forumTrust centerPartnersView all resourcesOpen SourceCOMMUNITYGitHub SponsorsFund open source developersPROGRAMSSecurity LabMaintainer CommunityGitHub StarsArchive ProgramREPOSITORIESTopicsTrendingCollectionsEnterpriseENTERPRISE SOLUTIONSEnterprise platformAI-powered developer platformAVAILABLE ADD-ONSGitHub Advanced SecurityEnterprise-grade security featuresCopilot for BusinessEnterprise-grade AI featuresPremium SupportEnterprise-grade 24/7 supportPricingSearch/Sign inSign upAppearance settings You signed in with another tab or window. Reload to refresh your session. Dismiss alert alegrey91 vex8s Public
Notifications
Fork
Star Code Issues Pull requests Actions Projects Security and quality Insights
Additional navigation options
Code Issues Pull requests Actions Projects Security and quality Insights
mainBranchesTagsGo to fileCodeOpen more actions menuLatest commit History101 Commits101 CommitsFolders and filesNameNameLast commit messageLast commit date.github/workflows.github/workflows .vscode.vscode cmdcmd docsdocs examplesexamples pkgpkg testtest .gitignore.gitignore LICENSELICENSE MakefileMakefile README.mdREADME.md go.modgo.mod go.sumgo.sum main.gomain.go model-version.txtmodel-version.txt vex8s-logic.pngvex8s-logic.png vex8s.pngvex8s.png View all filesRepository files navigationREADMELicenseMore itemsVex8s (this logo is not AI generated) It is based on the following concept: Each CVE is categorized into one or more vulnerability classes (CWE) For a more in-depth reading you can consult this paper: Environment-Aware Vulnerability Suppression Using Kubernetes Security Contexts and VEX Usage passive-mode: passing an already generated vulnerability report created by trivy or grype. active-mode: actively scanning the images using trivy or grype engines and then gereating the document based on the results. Passive mode (recommended) # generate VEX document by processing vulnerability report. # scan again with VEX document to suppress vulnerabilities. The same can be applied using grype: # generate vulnerability report. # generate VEX document by processing vulnerability report. # scan sbom with VEX document to suppress vulnerabilities. Active mode # scan again with VEX document to suppress vulnerabilities. The same can be applied using grype: # scan the image and automatically generate VEX document. # scan sbom with VEX document to suppress vulnerabilities. Classifiers embedded (default): an offline ONNX ML model export GEMINI_API_KEY="your-api-key" vex8s generate --manifest examples/nginx.yaml --report nginx.trivy.json \ See the documentation — in particular the Footer © 2026 GitHub, Inc. Footer navigation Terms Privacy Security Status Community Docs Contact Manage cookies Do not share my personal information You can’t perform that action at this time. |
The vex8s project is designed to assess the exploitability of known common vulnerabilities and exposures (CVEs) within Kubernetes workloads by correlating container vulnerability data with specific Kubernetes security context settings. The core concept involves a multi-stage analytical process to determine if a vulnerability is actually exploitable within a deployed environment. This process begins by classifying each CVE into one or more vulnerability classes, known as CWEs, and then employing an embedded machine learning model to predict the exploitation category of the CVE based on its description. These vulnerability classifications and ML predictions are then combined to determine potential mitigation strategies. The system links these derived exploitation categories to specific Kubernetes settings that possess the capability to block or reduce the impact of the vulnerability. By parsing the Kubernetes manifest of the workload, vex8s inspects the container settings to verify the presence and configuration of these relevant security settings. The integration of these two analytical streams—the vulnerability classification/prediction and the Kubernetes context inspection—allows the system to definitively determine if a specific CVE is exploitable given the current workload configuration. If the analysis indicates that a mitigation strategy is possible, this finding is incorporated into the final VEX document generated by the system. The methodology is inspired by the work of Akihiro Suda, particularly vexllm, and is formally documented in research concerning environment-aware vulnerability suppression using Kubernetes security contexts and VEX. The project provides users with flexible modes for operation, primarily passive-mode and active-mode, depending on the presence of pre-existing vulnerability reports. In passive mode, the system processes vulnerability reports generated by tools like trivy or grype, in conjunction with Kubernetes manifests, to generate a VEX document. A subsequent scanning operation can then use this VEX document to suppress the reported vulnerabilities in the container images. Active mode allows the system to perform the scanning of images directly using engines like trivy or grype and automatically generate the corresponding VEX document. The system incorporates flexible classification mechanisms that allow for different approaches to determining the exploitation categories. It natively supports an embedded classification engine, which utilizes an offline ONNX machine learning model bundled within the binary, requiring no external network access. Additionally, vex8s supports integration with large language models, such as Gemini, for classifying CVE descriptions. This LLM-based classification, when enabled, requires the user to provide an appropriate API key, allowing for more sophisticated categorization of vulnerabilities. This adaptability in classification, combined with the context-aware analysis of Kubernetes settings, positions vex8s as a tool for advanced application security posture management within containerized environments. |