Stealth Chromium that passes every bot detection test. Drop-in Playwright replacement with source-level fingerprint patches. 50+ tests passed.
Python ai-agentsanti-detectantidetect-browserbot-detectionbrowser-automationcaptcha-bypasschromiumcloudflarecloudflare-bypassfingerprintheadless-browserplaywrightpuppeteerpythonrecaptchaseleniumstealth-browserundetectedweb-scrapingwebscraping
ci: adopt workflow dependency lockfiles
CloakHQ91effe40c7d5
diff --git a/.github/workflows/actions.lock b/.github/workflows/actions.locknew file mode 100644index 0000000..a526885--- /dev/null+++ b/.github/workflows/actions.lock@@ -0,0 +1,98 @@+# This file is machine-generated by `gh actions-lock`.+# Do not edit by hand; run `gh actions-lock` to update.+# Docs: https://gh.io/actions-lockfile+version: 'v0.0.3'+workflows:+ '.github/workflows/ci.yml':+ - 'actions/[email protected]'+ - 'actions/[email protected]'+ - 'actions/[email protected]'+ - 'actions/[email protected]'+ '.github/workflows/publish.yml':+ - 'actions/[email protected]'+ - 'actions/[email protected]'+ - 'actions/[email protected]'+ - 'actions/[email protected]'+ - 'actions/[email protected]'+ - 'docker/[email protected]'+ - 'docker/[email protected]'+ - 'docker/[email protected]'+ - 'docker/[email protected]'+ - 'nuget/[email protected]'+ - 'pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086'+ - 'sigstore/[email protected]'+dependencies:+ 'actions/[email protected]':+ ref: 'v4.2.2'+ commit: 'sha1-4d101475d8b20a2381f78447822ac1eab6504dd8'+ owner_id: 44036562+ repo_id: 760702757+ uses:+ - 'actions/attest@508db95dd578ae2727ebd6217d5ba78e4fbda05d'+ 'actions/attest@508db95dd578ae2727ebd6217d5ba78e4fbda05d':+ ref: 'v4.2.1'+ commit: 'sha1-508db95dd578ae2727ebd6217d5ba78e4fbda05d'+ owner_id: 44036562+ repo_id: 760701061+ 'actions/[email protected]':+ ref: 'v7.0.1'+ commit: 'sha1-3d3c42e5aac5ba805825da76410c181273ba90b1'+ owner_id: 44036562+ repo_id: 197814629+ 'actions/[email protected]':+ ref: 'v6.0.0'+ commit: 'sha1-a98b56852c35b8e3190ac28c8c2271da59106c68'+ owner_id: 44036562+ repo_id: 192625306+ 'actions/[email protected]':+ ref: 'v7.1.0'+ commit: 'sha1-949feb2413d6458794dcd2491c4babbbce0c15c1'+ owner_id: 44036562+ repo_id: 189476904+ 'actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405':+ ref: 'v6.2.0'+ commit: 'sha1-a309ff8b426b58ec0e2a45f0f869d46889d02405'+ owner_id: 44036562+ repo_id: 192625525+ 'actions/[email protected]':+ ref: 'v7.1.0'+ commit: 'sha1-6d4fd22b20465ccc0f7354476588e8df7c9ca0e0'+ owner_id: 44036562+ repo_id: 192625525+ 'docker/[email protected]':+ ref: 'v7.4.0'+ commit: 'sha1-c3c9e263c25d99ce0380d002d59b67737d91b0dc'+ owner_id: 5429470+ repo_id: 241092383+ 'docker/[email protected]':+ ref: 'v4.7.0'+ commit: 'sha1-81c6f93d4bc991e510b342a00b419b3bb4efc5c6'+ owner_id: 5429470+ repo_id: 287743349+ 'docker/[email protected]':+ ref: 'v4.4.1'+ commit: 'sha1-f87e5991a6d7451dcb8d9637bfbc97413f497069'+ owner_id: 5429470+ repo_id: 288485773+ 'docker/[email protected]':+ ref: 'v4.4.0'+ commit: 'sha1-99012661954931238ded8c8b007157a8430204e1'+ owner_id: 5429470+ repo_id: 288487894+ 'nuget/[email protected]':+ ref: 'v1.2.0'+ commit: 'sha1-8d196754b4036150537f80ac539e15c2f1028841'+ owner_id: 968310+ repo_id: 1037624552+ 'pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086':+ ref: 'v1.14.3'+ commit: 'sha1-7245906fb61fa33a13554f9d5fb856fe61758086'+ owner_id: 647025+ repo_id: 178055147+ uses:+ - 'actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405'+ 'sigstore/[email protected]':+ ref: 'v4.1.2'+ commit: 'sha1-6f9f17788090df1f26f669e9d70d6ae9567deba6'+ owner_id: 71096353+ repo_id: 351211695diff --git a/.github/workflows/attest-release.yml b/.github/workflows/attest-release.ymldeleted file mode 100644index b954b9d..0000000--- a/.github/workflows/attest-release.yml+++ /dev/null@@ -1,29 +0,0 @@-name: Attest Release Binary--on:- workflow_dispatch:- inputs:- tag:- description: 'Release tag (e.g. chromium-v145.0.7632.159.2)'- required: true--jobs:- attest:- runs-on: ubuntu-latest- permissions:- id-token: write # Sigstore OIDC- attestations: write # GitHub attestation API- contents: write # Download release assets- steps:- - name: Download release binaries- run: gh release download "$RELEASE_TAG" --repo CloakHQ/cloakbrowser --pattern "cloakbrowser-*.tar.gz" --pattern "cloakbrowser-*.zip"- env:- GH_TOKEN: ${{ github.token }}- RELEASE_TAG: ${{ github.event.inputs.tag }}-- - name: Attest build provenance- uses: actions/attest-build-provenance@4d101475d8b20a2381f78447822ac1eab6504dd8 # v4.2.2- with:- subject-path: |- cloakbrowser-*.tar.gz- cloakbrowser-*.zipdiff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex ca08be7..3c63735 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -13,8 +13,8 @@ jobs:env:CLOAKBROWSER_LICENSE_KEY: ${{ secrets.CLOAKBROWSER_CI_KEY }}steps:- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1- - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0+ - uses: actions/[email protected]+ - uses: actions/[email protected]with:python-version: "3.12"- name: Install dependencies@@ -29,8 +29,8 @@ jobs:javascript:runs-on: ubuntu-lateststeps:- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1- - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0+ - uses: actions/[email protected]+ - uses: actions/[email protected]with:node-version: 22- name: Install and build@@ -47,8 +47,8 @@ jobs:env:CLOAKBROWSER_LICENSE_KEY: ${{ secrets.CLOAKBROWSER_CI_KEY }}steps:- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1- - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0+ - uses: actions/[email protected]+ - uses: actions/[email protected]with:node-version: 22- name: Check for a license key@@ -81,8 +81,8 @@ jobs:dotnet:runs-on: ubuntu-lateststeps:- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1- - uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0+ - uses: actions/[email protected]+ - uses: actions/[email protected]with:dotnet-version: '8.0.x'- name: Builddiff --git a/.github/workflows/publish.yml b/.github/workflows/publish.ymlindex 1abf26d..3d5e7a4 100644--- a/.github/workflows/publish.yml+++ b/.github/workflows/publish.yml@@ -25,8 +25,8 @@ jobs:test:runs-on: ubuntu-lateststeps:- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1- - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0+ - uses: actions/[email protected]+ - uses: actions/[email protected]with:python-version: "3.12"- name: Python tests@@ -36,12 +36,12 @@ jobs:run: |pip install -e ".[dev]" pytest pytest-asynciopytest tests/ -v -m "not slow"- - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0+ - uses: actions/[email protected]with:node-version: 22- name: JavaScript testsrun: cd js && npm ci && npm run build && npm test- - uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0+ - uses: actions/[email protected]with:dotnet-version: '8.0.x'- name: .NET tests@@ -51,8 +51,8 @@ jobs:if: startsWith(github.ref, 'refs/tags/')runs-on: ubuntu-lateststeps:- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1- - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0+ - uses: actions/[email protected]+ - uses: actions/[email protected]with:python-version: "3.12"- name: Check tag matches package versions@@ -73,8 +73,8 @@ jobs:permissions:id-token: write # OIDC trusted publishing — no PYPI_TOKEN neededsteps:- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1- - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0+ - uses: actions/[email protected]+ - uses: actions/[email protected]with:python-version: "3.12"- name: Build@@ -82,7 +82,8 @@ jobs:pip install buildpython -m build- name: Publish to PyPI- uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # v1+ # Keep SHA: the publisher derives its Docker image tag from github.action_ref.+ uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # v1.14.3publish-npm:needs: [test, validate-version]@@ -91,8 +92,8 @@ jobs:permissions:id-token: write # OIDC trusted publishing + provenance — no NPM_TOKEN neededsteps:- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1- - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0+ - uses: actions/[email protected]+ - uses: actions/[email protected]with:node-version: 24 # npm 11.11.0 native — no upgrade needed (Node 22.22.2 has broken npm)registry-url: 'https://registry.npmjs.org'@@ -108,13 +109,13 @@ jobs:permissions:id-token: write # OIDC trusted publishing — no NUGET_API_KEY secret neededsteps:- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1- - uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0+ - uses: actions/[email protected]+ - uses: actions/[email protected]with:dotnet-version: '8.0.x'- name: NuGet login (OIDC trusted publishing)id: nuget-login- uses: NuGet/login@8d196754b4036150537f80ac539e15c2f1028841 # v1.2.0+ uses: NuGet/[email protected]with:user: CloakHQ- name: Pack@@ -132,20 +133,20 @@ jobs:attestations: writepackages: writesteps:- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1+ - uses: actions/[email protected]- name: Extract versionrun: |VERSION=$(python -c 'import re; print(re.search(r"__version__\s*=\s*[\"'\'']([^\"'\'']+)", open("cloakbrowser/_version.py").read()).group(1))')echo "VERSION=$VERSION" >> $GITHUB_ENV- - uses: docker/setup-qemu-action@99012661954931238ded8c8b007157a8430204e1 # v4.4.0- - uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1- - uses: docker/login-action@81c6f93d4bc991e510b342a00b419b3bb4efc5c6 # v4.7.0+ - uses: docker/[email protected]+ - uses: docker/[email protected]+ - uses: docker/[email protected]with:username: ${{ secrets.DOCKER_USER }}password: ${{ secrets.DOCKER_PAT }}- name: Build and pushid: build- uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0+ uses: docker/[email protected]with:context: .platforms: linux/amd64,linux/arm64@@ -155,11 +156,11 @@ jobs:cloakhq/cloakbrowser:latestprovenance: truesbom: true- - uses: sigstore/cosign-installer@6f9f17788090df1f26f669e9d70d6ae9567deba6 # v4.1.2+ - uses: sigstore/[email protected]- name: Sign imagerun: cosign sign --yes cloakhq/cloakbrowser@${{ steps.build.outputs.digest }}- name: Attest build provenance- uses: actions/attest-build-provenance@4d101475d8b20a2381f78447822ac1eab6504dd8 # v4.2.2+ uses: actions/[email protected]with:subject-name: index.docker.io/cloakhq/cloakbrowsersubject-digest: ${{ steps.build.outputs.digest }}