Container Security Fixer
Automatically detects and remediates security vulnerabilities in container images through iterative scanning and patching workflows.
This loop is republished with attribution. Full credit and the original content belong to the source linked above.
AI Skill Market Insights
Real data. Real impact.
Emerging
Developers
Kickoff Prompt
Copy this prompt and run it with your agent to start the loop.
Start the "Container Security Fixer" loop.
Goal: Remove container vulnerabilities
Max iterations: 10
Between iterations run: container scan
Exit when: Scan clean
Scan this container image for vulnerabilities. Identify all critical and high-severity issues in the packages, configurations, and dependencies. For each vulnerability found, generate a fix that upgrades the affected component to a secure version without breaking the application. Apply the fixes to the container configuration, rebuild, and rescan until the image passes the security check with no remaining issues. Begin by running 'container scan' and analyzing the results.
Self-pace this loop. After each iteration, run `container scan` and evaluate the output, and only continue if the exit condition is not met (Scan clean). Stop when the exit condition passes or 10 iterations are reached. Give a short status update each pass.