PRODUCT INTELLIGENCE APPSEC

GitHub (Microsoft)
Source-control native code and secret security

GitHub Code Security and GitHub Secret Protection

Security at the repository boundary still needs deliberate coverage and ownership

GitHub Code Security and GitHub Secret Protection are separate stock-keeping units in the Advanced Security family. Code Security covers code scanning, dependency review, Dependabot extras, and Copilot Autofix. Secret Protection covers secret scanning, push protection, and custom patterns. Several features remain free on public repositories; private and internal repositories require GitHub Team or Enterprise purchases of the relevant SKU.

01 / EDITORIAL JUDGMENT

The Atlas take.

GitHub Code Security and Secret Protection integrate security checks into a repository platform many developers already use. The separate products address different work: code and dependency review versus secret detection and push protection. Atlas analysis: proximity to a pull request can reduce handoff friction, but only if features are enabled across the intended repositories and the right build or analysis path runs. Treat secret exposure as credential remediation, not just alert closure. Supported patterns, bypass authority, language support, and active-committer billing all deserve explicit verification before broad enablement.

Our interpretation of the cited evidence. Independent hands-on effectiveness remains unassessed.

02 / DEFINE THE BOUNDARY

What you are actually evaluating.

Do not assume one license covers secrets and code. Secret push protection and branch protection are distinct controls. Committer metering and languages outside CodeQL are separate tests. Public-repository entitlements do not automatically apply to private repositories.

Names you may encounter GitHub Advanced Security · GitHub Code Security · GitHub Secret Protection. Historical names do not establish current feature equivalence.

03 / THE CONTROL PATH

Where it sits. How it works.

Atlas architecture interpretation: follow the actual artifact through the selected analysis engine and back to an owned development decision.

Conceptual architecture Atlas interpretation · verify the proposed configuration
  1. 01

    Repository changes

    Code, dependencies, and potential secrets enter the GitHub workflow.

  2. 02

    Code and secret checks

    Enabled products apply supported scanning and protection features.

  3. 03

    Remediation and governance

    Developers fix code or rotate credentials while owners govern exceptions and campaigns.

04 / WHAT EARNS ITS PLACE

Strengths, with the evidence attached.

Atlas analysis of documented capabilities; availability and behavior depend on the edition and environment.

01

Checks live near development decisions

GitHub documents code scanning, dependency review, secret scanning, and push protection in repository workflows.

02

The products can be scoped separately

Code Security and Secret Protection have distinct feature and billing boundaries.

Inspect the documented capability notes
  • GitHub Code Security: code scanning, dependency review, additional Dependabot capabilities, and Copilot Autofix on entitled repositories.
  • GitHub Secret Protection: secret scanning, push protection, and custom patterns as a distinct SKU.
  • Free availability of several features on public repositories, with Team or Enterprise required to buy the SKUs for private and internal repositories.

05 / KNOW THE COMPROMISES

The tradeoffs to take seriously.

Architectural implications and procurement questions from Atlas; these are not independently measured product failures.

Secret coverage depends on patterns

Supported patterns and validation behavior differ; use a documented test pattern or configured custom rule.

Usage follows active contributors

Billing documentation counts unique active committers to enabled repositories, not simply purchased platform seats.

06 / FROM PURCHASE TO PRACTICE

Make it work in your environment.

A proposed implementation sequence. Confirm supported versions, permissions, and rollback with the current documentation.

  1. 01

    Inventory repository coverage

    Map owned repositories, languages, required builds, and enabled security products.

  2. 02

    Set exception authority

    Define who can bypass protection, dismiss alerts, and approve time-bound code risk.

  3. 03

    Connect secret response

    Assign credential rotation and downstream invalidation tasks separately from removing the code.

07 / THE OPERATING COMMITMENT

The bill is only part of the cost.

Commercial shape

Model Code Security and Secret Protection separately using the documented active-committer rules and actual enabled repository population.

  • Unique active committers for enabled products
  • Code Security versus Secret Protection scope
  • Runner, analysis, and remediation operating effort
AFTER GO-LIVE

What your team owns

Repository coverage, CodeQL or selected scanner configuration, alert ownership, and secret bypass rules need regular review. Atlas analysis: a useful rollout starts with known owners and a measured backlog. A check appearing on one pull request does not prove branch, language, or organization-wide coverage.

Confirm the full order form: modules, usage meters, support, retention, and exit costs. A public price is not your complete operating estimate.

08 / COMPARE THE JOB

Put these beside it.

Alternatives worth examining for the same problem. Check each offering’s scope before treating it as a substitute.

Open a comparison workspace ↗

09 / MAKE THE DECISION OBSERVABLE

Earn confidence through a real evaluation.

Suggested by Atlas. Agree acceptance criteria, use synthetic fixtures in an authorized environment, and capture both useful work and failed controls.

  1. TEST 01

    Check a supported secret

    Acceptance evidence: Use an approved inactive test pattern and retain blocking, bypass, and alert evidence.

  2. TEST 02

    Prove code-scan coverage

    Acceptance evidence: Show the intended language and build were analyzed on the exact pull-request revision.

  3. TEST 03

    Complete credential remediation

    Acceptance evidence: Demonstrate rotation and failed use of the old lab credential, then close the repository alert.

START WITH ONE EXERCISE

In a private lab repository, enable the Code Security and Secret Protection features you are entitled to test. Seed a supported CodeQL flaw, a vulnerable dependency, and a vendor-approved nonfunctional secret pattern or configured synthetic custom pattern. Never use a live credential.

Evidence to look for: The applicable code scan and dependency review report the selected issues. Enabled push protection handles the supported test pattern as configured. Record unsupported patterns, validity-check behavior, bypass permissions, and missing entitlements separately; arbitrary fake tokens need not trigger detection.

Questions to bring to the vendor
  1. Which repositories need Code Security, Secret Protection, both, or only public-repository defaults?
  2. How is committer metering calculated across the organization, including bots and outside collaborators?
  3. Which languages lack CodeQL coverage, and what alternative scanning is required?
Take the evaluation brief with you ↓

10 / SHOW THE WORK

Evidence, and what is still unknown.

What this research cannot establish

  • No independent benchmark of CodeQL or secret-detection quality was performed.
  • Enterprise Server deployment differences and current feature availability require confirmation.

Dossier research reviewed October 18, 2026. Earlier profile references are retained for traceability; products and commercial terms change.

  1. GitHub Advanced Security products ↗Documentation
  2. Advanced Security license billing ↗Pricing
  3. Supported secret scanning patterns ↗Documentation

KEEP BUILDING YOUR JUDGMENT

Understand the system around the tool.

Read the APPSEC field guide ↗

Find your next idea.

Tip: press / to open search. Escape closes this window.