Skip to content
HALOWERK

Codewerk

git history secrets

Clones a public HTTPS repository shallowly (depth up to 300 commits, blobs up to 1 MB, 120 MB download cap) or unpacks a git bundle, then scans every distinct blob in that history once with the 222 rules of the gitleaks v8.30.1 default configuration (MIT): keyword prefilter, RE2 patterns translated to JavaScript, entropy thresholds, secret groups, global and rule allowlists, stopwords, gitleaks:allow markers and the generic-rule de-duplication. Each finding names rule, path, line, first.

POST https://code.halowerk.com/v1/git-history-secrets

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
repo_urlstringNoPublic HTTPS clone URL, e.g. https://github.com/owner/repo. No credentials, port 443 only; ssh/git/file URLs are rejected.
bundle_base64stringNoAlternative to repo_url: a git bundle (git bundle create repo.bundle --all), base64-encoded, up to about 180 KB.
refstringNoBranch or tag to analyse instead of the default branch.
depthintegerNoNumber of commits of history to fetch and scan.
all_branchesbooleanNoFetch all branches (each up to depth commits) instead of one.
max_findingsintegerNoMaximum number of distinct findings returned.
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "repo_url": {
      "type": "string",
      "minLength": 12,
      "maxLength": 300,
      "pattern": "^https://\\S+$",
      "description": "Public HTTPS clone URL, e.g. https://github.com/owner/repo. No credentials, port 443 only; ssh/git/file URLs are rejected."
    },
    "bundle_base64": {
      "type": "string",
      "minLength": 24,
      "maxLength": 250000,
      "description": "Alternative to repo_url: a git bundle (git bundle create repo.bundle --all), base64-encoded, up to about 180 KB."
    },
    "ref": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "pattern": "^[A-Za-z0-9][A-Za-z0-9._/-]*$",
      "description": "Branch or tag to analyse instead of the default branch."
    },
    "depth": {
      "type": "integer",
      "minimum": 1,
      "maximum": 300,
      "default": 50,
      "description": "Number of commits of history to fetch and scan."
    },
    "all_branches": {
      "type": "boolean",
      "default": false,
      "description": "Fetch all branches (each up to depth commits) instead of one."
    },
    "max_findings": {
      "type": "integer",
      "minimum": 1,
      "maximum": 200,
      "default": 50,
      "description": "Maximum number of distinct findings returned."
    }
  }
}

Open original schema

Published input example

{
  "repo_url": "https://github.com/octocat/Hello-World",
  "depth": 50
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.

More endpoints in this hub

All endpoints in this hub โ†’