NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
Suppress vulnerabilities applying Kubernetes context to scans (github.com)
alegrey91 2 days ago [-]
vex8s is an open source tool that analyzes Kubernetes workloads and generates VEX documents based on their SecurityContext.

The idea is to distinguish vulnerabilities that are actually exploitable in a given deployment from those mitigated by Kubernetes security settings (for example, readOnlyRootFilesystem, dropped capabilities, non-root users, and read-only volume mounts).

vex8s embeds a ML model trained on CVE data to predict vulnerability classes, then combines those predictions with the workload's security configuration to determine whether a vulnerability can be mitigated.

I'm particularly interested in feedback on the decision logic and on whether this approach could be useful as part of a vulnerability scanning pipeline.

GitHub: https://github.com/alegrey91/vex8s

Grimburger 13 hours ago [-]
This is very cool, why not directly test the exploitability direct with harmless pods on the cluster for verification? If it's only model based as a defender I'd worry about how many % of misses arise. Even frontier models are going to miss some stuff, a programmatic gate seems prudent.

Not trying to be negative, do think it's a good approach youve got, but the modern reality of dealing with cve's and compliance is to just fix them because it's a massive headache trying to write exemptions for all the ones that don't matter. Been my experience anyway.

alegrey91 4 hours ago [-]
Hello, thanks for your feedback. The point of vex8s is to avoid fixing all the CVEs at the same time giving them less or more priority depending on their exposure. If you find there's some protection, you can keep that CVE aside to focus more on other with higher priority.
iou 7 hours ago [-]
Before LLMs “just-patch-anyway” was a viable strategy because of the low volume. Now it’s amplified so much that taking that approach can introduce instability when the vulnerability was not even exploitable in your usage.

Take the recent example of Copy/Fail (CVE-2026-31431) if you were to evaluate it against your k8s seccomp and noticed that the argument to the syscall socket of AF_ALG is not allowed, then the vuln is not reachable in your pods.

I’ve not used this tool (I plan to check it out), but I think contextual evaluation of CVEs is important in modern times.

alegrey91 4 hours ago [-]
Let me know what do you think in case you decide to use it. The model is still far from being perfect, but it gives decent results considering I'm new to the ML topic.
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 23:17:09 GMT+0000 (UTC) with Wasmer Edge.