keepcalculator

06 Numbers and Powers

Security Check Failed: Must Publication Stop?

Card No. 06·66994 · Updated · Standard formula, shown below

When a security check fails, publication must stop only if the check is a mandatory gate in your workflow or required by law or contract. In many cases, a failed check pauses the release until the issue is resolved, but the exact rule depends on your organization’s policy and the nature of the failure. This article explains when a failed security check should halt publication, how to handle it, and what to do if you’re unsure.

What Does “Security Check” Mean?

Security checks are automated or manual processes that scan code, dependencies, configurations, or infrastructure for vulnerabilities, misconfigurations, or compliance issues. Common examples include:

  • Static application security testing (SAST) – scans source code for flaws.
  • Dynamic application security testing (DAST) – tests running applications.
  • Dependency scanning – checks open-source libraries for known vulnerabilities.
  • Container image scanning – inspects Docker images for issues.
  • Infrastructure as code (IaC) scanning – checks Terraform or CloudFormation templates.

These checks are often integrated into CI/CD pipelines (like Jenkins, GitLab CI, or GitHub Actions) and can be configured to block a release if they fail.

When Must You Stop?

You must stop publication if any of the following apply:

  • Regulatory requirement – Industries like finance, healthcare, or government often have legal mandates to fix critical vulnerabilities before release.
  • Contractual obligation – Your service-level agreement (SLA) with clients may require a clean security scan.
  • Critical severity – If the vulnerability allows remote code execution, data breach, or privilege escalation, it’s usually unsafe to proceed.
  • Mandatory gate configured – If your pipeline is set to block on failure, you must honor that.
  • Compliance framework – Standards like PCI DSS, HIPAA, or SOC 2 often require remediation before deployment.

In these cases, proceeding despite a failed check could lead to legal penalties, financial loss, or reputational damage.

When Can You Proceed?

Sometimes a failed check doesn’t require an immediate stop. You can proceed if:

  • The failure is a false positive – The scanner flags something that isn’t actually exploitable in your context. You should document the reason and get approval from a security lead.
  • Low severity with a mitigation plan – If the vulnerability is low-risk and you have a plan to fix it in a future release, you might proceed with a risk acceptance.
  • Non-production release – If you’re deploying to a staging environment for testing, you may not need to stop.
  • Manual override with approval – Some organizations allow a designated person to override a failed check if they accept the risk.

But even in these cases, you should document the decision and ensure the issue is tracked.

Common Problems and Misconceptions

One common misconception is that all security checks are equal. In reality, a failed check on a low-severity issue in a non-critical component may not warrant a stop, while a critical issue in an authentication module definitely does. Another problem is that teams often don’t define what “stop” means – does it mean halt the whole release, or just that particular feature? Clear policies help avoid confusion.

Another issue is that some teams ignore failed checks because they happen frequently, leading to a “cry wolf” effect. To avoid this, prioritize and triage failures based on actual risk, not just the scanner’s severity rating.

How to Decide Quickly

Use a structured approach:

  1. Check if the check is mandatory – Look at your pipeline configuration or policy.
  2. Assess severity – Is it critical, high, medium, or low? Use the CVSS score if available.
  3. Consider exploitability – Is there a known exploit? Is the vulnerable component exposed to the internet?
  4. Estimate fix time – Can you fix it in a few hours, or will it take days?
  5. Get approval – If you’re not the decision-maker, escalate to a security lead or release manager.

This quick triage helps you avoid unnecessary delays while ensuring safety.

Frequently Asked Questions

Can I override a failed security check?

Yes, but only if your organization allows it and you have documented approval from someone with authority. Overrides should be rare and used only for false positives or low-risk issues with a clear mitigation plan.

What if the security check fails after I’ve already published?

If the check runs after deployment (e.g., a post-deployment scan), and it fails, you should immediately assess the risk. If it’s critical, consider rolling back the release or applying a hotfix. If it’s low-risk, you might schedule a fix for the next release, but you should inform stakeholders.

Does a failed security check always mean a vulnerability exists?

No. Scanners can produce false positives. You should manually verify the finding before halting a release. Tools like Snyk or OWASP ZAP often require human review.

What’s the difference between a security check and a security audit?

A security check is typically automated and runs frequently (e.g., on every commit). A security audit is a broader, often manual review that happens periodically or before a major release. A failed check is more immediate and usually blocks the pipeline; a failed audit may trigger a remediation plan but doesn’t necessarily stop a release.

Should I stop publication if the check fails on a non-production branch?

Not necessarily. If the failure is in a feature branch that isn’t being deployed, you can continue working on other parts. But if the branch is merged into the main release branch, you should address it before that release goes live.

How long should I wait to fix a failed check?

There’s no universal rule. For critical vulnerabilities, fix immediately. For medium or low issues, you can schedule them in the next sprint, but ensure they’re tracked. The key is to have a policy that defines acceptable timeframes based on severity.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →