Browse / Agent tools

jkreileder/cf-ips-to-hcloud-fw

Update Hetzner Cloud firewall rules with current Cloudflare IP ranges

  • cloudflare
  • docker
  • firewall-configuration
  • firewall-rules
  • hcloud
  • hetzner
  • hetzner-cloud
  • kubernetes
  • networking
  • python

Needs keys or hardware.Tested on 2026-11-26. From the README alone, on Linux with Luna.

For maintainers

Fix your README for agents

Paste this prompt into Claude Code, Codex, or your coding agent to fix the exact setup issue Coldpass recorded.

Improve the README and setup experience of jkreileder/cf-ips-to-hcloud-fw so a small coding agent can install and verify it from scratch on a fresh Linux machine (Python 3, Node 22, standard tools).
Latest Coldpass Linux status: Needs keys or hardware (HCLOUD_TOKEN, tested 2026-11-26).
Please:
1. List all required environment variables, keys, logins, or hardware clearly at the top of the README (and add a .env.example if env vars are needed).
2. If possible, add a keyless local dry-run, mock, or fixture mode documented in the README so developers and agents can verify installation without live credentials.
3. Keep install and first-use commands copy-pasteable with pinned dependencies.
Also review the recorded check notes (known vulnerabilities) and address any unintended dependency advisories or committed sample tokens.

Shareable status badge

Add a live Coldpass Linux verification badge to your README.

Coldpass status for jkreileder/cf-ips-to-hcloud-fw
[![Coldpass status](https://coldpass.dev/badge/jkreileder--cf-ips-to-hcloud-fw.svg)](https://coldpass.dev/repo/jkreileder--cf-ips-to-hcloud-fw/)

What we checked

Is it safe?Review first. Found: known vulnerabilities.Each check
  • Malware: none found in its 32 pinned dependency versions or the 26 Python and npm packages installed during our run (OSV malware advisories).
  • Secrets in its files: none found by gitleaks.
  • Known vulnerabilities in its dependencies: 12 OSV advisories: pip 24.0 (GHSA-4xh5-x5gv-qwph); pip 24.0 (GHSA-58qw-9mgm-455v); pip 24.0 (GHSA-6vgw-5pg2-w6jp); pip 24.0 (GHSA-jp4c-xjxw-mgf9); pip 24.0 (GHSA-qwm4-qh6w-59xr); pip 24.0 (GHSA-wf93-45jw-7689); pip 24.0 (PYSEC-2026-1795); pip 24.0 (PYSEC-2026-1796); pip 24.0 (PYSEC-2026-196); pip 24.0 (PYSEC-2026-2875); pip 24.0 (PYSEC-2026-2876); pip 24.0 (PYSEC-2026-3721). Packages installed during our run were not checked for ordinary vulnerabilities on every setup.
  • Lines that download and run a program: none found in its source.
  • Planted fake secret files: repo code opened none.
  • Planted fake credential: not seen in unencrypted outgoing traffic. Encrypted traffic can't be read.
  • Hosts the repo's own code contacted: none. Not recorded for Haiku.

From our newest run of each setup (Nov 19, 2026, Nov 26, 2026). A quiet run is not a safety guarantee.

Can a small agent set it up?Not tested (Haiku, HCLOUD_TOKEN)
Not tested (Luna, HCLOUD_TOKEN)
The run

Stuck at: Run the one-shot CLI with a valid Hetzner token and firewall configuration.

What failed: Hetzner API token and firewall are required.

Suggested fix: Provide HCLOUD_TOKEN and HCLOUD_FIREWALLS for a disposable/test Hetzner project, or a protected config.yaml with a token and firewall name, then rerun the documented CLI operation.

Test history

  • Nov 26, 2026 · 0bb58907c70c · linux / Luna · needs a key or login we did not have · run JSON
  • Nov 19, 2026 · 3549cb8d9386 · linux / Luna · needs a key or login we did not have · run JSON
  • Nov 19, 2026 · 3549cb8d9386 · linux / Luna · needs a key or login we did not have · run JSON
  • Nov 19, 2026 · 3549cb8d9386 · linux / Haiku 5.5 · needs a key or login we did not have · run JSON
Does it do what the README says?0 of 3 claims held up. A claim is one README promise we ran and checked.Evidence

No claim held up.

Which checks were skipped?4 checks skipped.Reasons

Skipped checks count as neither passes nor failures.

  • helps keep firewall rules current: The documented end-to-end update requires a Hetzner API token and existing firewall; neither is available in the guest. The observed CLI reports this prerequisite before network access.
  • fetches Cloudflare ranges and updates Hetzner firewall: The Hetzner API token and firewall required for an actual update are unavailable in the guest. Cloudflare retrieval is performed only as part of that update flow.
  • updates tagged incoming rules: Requires an authenticated Hetzner firewall to inspect and modify; no token/firewall is available.
  • one-shot sync operation: Triggered one cycle by hand (manual; normal trigger: schedule it with your platform's usual mechanism): 2026-11-26 03:52:02,722 ERROR No configuration found and HCLOUD_TOKEN is not set; provide -c CONFIGFILE or a 'config.yaml' file, or set HCLOUD_TOKEN and HCLOUD_FIREWALLS (one firewall name per line).; product invocation failed: {"argv": ["<guest-path>"], "returncode": 1, "stdout": "", "stderr": "2026-11-26 03:52:02,722 ERROR No configuration found and HCLOUD_TOKEN is not set; provide -c CONFIGFILE or a 'config.yaml' file, or set HCLOUD_TOKEN and HCLOUD_FIREWALLS (one firewall name per line).\n", "output_truncated": false, "hardware_prerequisite": null, "needs_credentials": true, "needs_browser": false}
Does the repo’s own CI pass?Pending.GitHub checks

GitHub’s check status for the default branch at the commit we tested. We did not run their CI.

Needs keys, a login or a browser?Yes.Details

credentials

What does it depend on?Python 3.12.3, pip, Hetzner Cloud API token, Hetzner firewall name, network access to Cloudflare and Hetzner APIsDependencies

Software the test agent reported the README needed.

Local or hosted?bothHow we tell

From the README and the endpoint we tested.

Is the README accurate?Yes.Deviations

No step differed.

What did it do when we ran it?During our run, it tried to contact 2 outside addresses.What we saw

Linux / Haiku

  • During our run, cf-ips-to-hcloud-fw tried to contact 2 addresses on port 443: 104.19.192.176 (api.cloudflare.com), 213.239.246.78 (api.hetzner.cloud).
  • While installing, git-remote-https looked up github.com.
  • While installing, pip, python3 looked up files.pythonhosted.org, pypi.org.
  • During our run, cf-ips-to-hcloud-fw looked up api.cloudflare.com, api.hetzner.cloud.
  • We found no known-malicious packages among the 26 Python and npm packages we installed (checked against OSV malicious-package advisories).

Linux / Luna

  • Nothing unexpected in the trace for this setup.
  • While installing, git-remote-https looked up github.com.
  • While installing, pip, python looked up files.pythonhosted.org, pypi.org.
  • We found no known-malicious packages among the 26 Python and npm packages we observed (checked against OSV malicious-package advisories).

We found no compiled programs in its files.

What we checked: OSV vulnerability and malware advisories for pinned dependencies, OSV malicious-package advisories for observed Python and npm packages, secret-pattern scanning (gitleaks), compiled files shipped in the repo, and the connection attempts, host name lookups, file writes and credential-file reads we traced from repo processes while we installed and ran it. Expected package-manager and cache activity is left out. Where a setup's record is missing, capped or cut short, it says so above, and these checks may not have run for it.

What we didn't check: host names looked up by programs with their own resolver, such as Go programs; whether a connection got through; other UDP traffic; environment variables it read; minified JavaScript; programs packed inside archives or Git LFS; packages beyond the Python and npm inventory; or what the code is meant to do.

A quiet run is not a safety guarantee.

Is it maintained?MaintainedActivity

actively maintained: last commit 0 days ago; 162 commits and 162 merged PRs in 90 days; 3 open issues, 0 open PRs; 1 of 1 recent threads got a maintainer reply, median first reply 16.1h; latest release 2026-11-07

AboutStars: 13 · Forks: 5 · Contributors: 6 · Owner account since May 9, 2013Source

Recorded GitHub repository and owner account metadata.

LicenseSPDX: MIT · commercial use: yesSource

From GitHub’s license detection. The repository’s license text gives the terms.

Cost to runNeeds a key or login (HCLOUD_TOKEN)Details

Peak guest RAM: 484 MiB

Guest disk change: 172 MiB

GPU need: not captured

Paid service: not captured