Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
text4shell-policy — ClusterImagePolicy demo for cve-2022-42889 text4shell | Kitploit
Tools/GitHubGitHub/chainguard-dev/text4shell-policy
Container SecurityVulnerability AnalysisCloud SecurityDevSecOpsSupply Chain SecurityMisconfigurationArchived
GitHubchainguard-dev/text4shell-policy

text4shell-policy

ClusterImagePolicy demo for cve-2022-42889 text4shell

View Repository
4183 years agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

Text4Shell Demo

This demo shows how you can use Sigstore to validate your signed SBOMs against text4shell policies in Kubernetes or on the command line

Option 1: Check if your remote OCI image is affected using cue with cosign 2.0

root@kitploit:~
cosign verify-attestation --policy policy/text4shell.cue --type https://cyclonedx.org/bom --certificate-identity-regexp=.* --certificate-oidc-issuer-regexp=.* ghcr.io/chainguard-dev/text4shell-policy:main

Option 2: Check using Enforce for Kubernetes with image built from this repo

root@kitploit:~
chainctl policies create --group $DEMO_GROUP -f policy/text4shell-policy.yaml
kubectl label ns default policy.sigstore.dev/include=true --overwrite
kubectl run text4shell --image=ghcr.io/chainguard-dev/text4shell-policy:main

text4shell diagnostic

Clean Up

root@kitploit:~
kubectl delete pod text4shell --grace-period=0
chainctl policy delete -y $(chainctl policy list -o json | jq -r '[.items[] | select(.name == "vuln-cve-2022-42889-text4shell")][0].id')
kubectl label ns default policy.sigstore.dev/include-
Download Tool