Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

operator: hardening follow-ups from the #429 security review

Open
#455 3 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
helm, kubernetes, rust

Research direction

Read the #429 security review, the operator config docs and code section list, operations.md, chart defaults, and deploy manifests. Trace renewal state in the identity Secret and the signer response path, then inspect the invite enrollment flow. The issue lists the expected behavior for each follow-up; completion means implementing those changes and adding suitable coverage across the affected operator and deployment areas.

Written by the indexing model from the issue text.

Description

triage/needs-triage

Follow-up hardening from the security review of #429. None of these weakens a trust check that existed before #429, and each is Low or below. #429 itself takes the RBAC narrowing, the full identity check for a site with no signer, and the cert-manager renewal evidence.

Renewal can stop through a config edit

Anyone who can edit the operator config can stop renewal. They can set rotation Disabled, remove signerEndpoint, change site.name, or delete the ConfigMap. Each shows on RotationOnSchedule or Accepted, and a deleted ConfigMap logs at info only. The site then fails when its certificate expires.

  • Emit a Warning Event when an identity that was renewing loses its signer.
  • Document an alert on the existing site identity expiry gauge.
  • State in operations.md that write access to the operator config controls renewal.

An older operator ignores a newer config section

An older operator ignores an unknown top-level section and applies the rest, with a Warning Event and a metric. That is correct for most sections. A section whose absence weakens security, such as a future trust or membership section, must bump version instead, because the operator refuses an unknown version. Write that rule into the operator config docs and next to the section list in the code.

The signer host allowlist fails open

GRID_SIGNER_HOSTS unset admits any host. The operator warns at startup, and the chart derives the allowlist from enrollment.url, but the deploy manifests set nothing. A bare host in the list also admits any port. TLS verification still bounds the impact: no token or key leaves without a verified signer.

  • Render host:port in the chart default.
  • Set GRID_SIGNER_HOSTS in the deploy manifests, or document it.
  • Consider refusing to start when the config names a signerEndpoint and the allowlist is unset.

A stale pending renewal key is not tied to its certificate

Renewal stores a pending key and CSR in the identity Secret before it sends. If something outside the operator replaces the certificate and key but leaves the pending fields, the next renewal sends the old pending CSR. Store the fingerprint of the certificate the pending key belongs to, and discard pending fields whose fingerprint does not match.

Signer error text reaches a condition message

Error details from the signer's response body can land in a condition message. Bound the text and reduce it to the status code and a short reason.

Spent invite Secret

The site's invite Secret is never deleted after enrollment. The signer has already spent the token, so this is hygiene: delete the Secret or mark it spent once the operator stores the identity.

Dominant language
Rust
Stars
10
Forks
24
Avg merge
1d 14h
Merged PRs (30d)
138

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from praxis-proxy/grid

All issues in praxis-proxy/grid

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.