Skip to content

Bring the security policy up to date with cloud leases and Windows - #52

Merged
lydakis merged 6 commits into
mainfrom
claude/project-thread-0dinpc
Oct 6, 2026
Merged

lydakis merged 6 commits into
mainfrom
claude/project-thread-0dinpc

Conversation

@lydakis

@lydakis lydakis commented Oct 6, 2026

Copy link
Copy Markdown
Owner

Requested by George · project thread

Before: SECURITY.md was last changed during the snapshot work. It said jobs run only on configured machines and didn't mention cloud peers, leases, the lease action, the Lambda provider, the Windows runner or the runner heartbeat.

After: it describes what is on main now:

  • Scope: cloud peers and leases (lease endpoints, lease records, provider commands, the Lambda provider and its install) and the experimental Windows runner are in scope. Jobs can also run on a machine a configured cloud peer leases.
  • Lease invariants: leasing needs lease and submit, and clients only ask configured peers. Lease requests are refused from browsers (Origin, JSON only). Leases are scoped to the requesting principal, and losing submit ends them. A leased machine admits only its owner's devices and the cloud peer, and SSH host keys are pinned when the lease carries one. Targets are url/ssh only. Facts are checked before use. Caller values reach provider commands only as environment variables. Rules for secret file ownership and modes, how the tailnet auth key gets to the machine, the checked errand build, and how leases are recorded and released by idle and lifetime rules. The max_leases / max_price_per_hour bounds.
  • Accepted limitations: a lease grant can spend money, and the limits hold only while the cloud peer runs. A cloud peer is trusted like a configured peer and has root on Lambda machines. An admitted key gets a shell (with sudo on Lambda). Revocation lags until the owner's next request. Provider commands are operator config, and static-pool.sh doesn't separate successive owners. The Lambda account can read host keys. Downloaded builds are trusted as far as the GitHub release checksums are.
  • Other: Windows Job Object process scope and the .bat/.cmd argument refusal. A lost heartbeat reports "state unknown" and never resubmits. Helper-process output is bounded.

This is docs only. Open PRs #45 and #46 change lease admission details (SSH drain hold, target checks, device cap). The text avoids depending on them, and a short follow-up can add their guarantees once they merge.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LXfrreiGwp7WUvn3ubCMTS


Generated by Claude Code

SECURITY.md predated cloud peers, the Windows runner and the runner
heartbeat. It now describes leases and their owners, what a leased
machine admits, how cloud peer secrets and installs are handled, the
release rules, the lease-specific accepted limitations, the Windows
process scope and batch argument refusal, and that a lost heartbeat
never resubmits a job.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01LXfrreiGwp7WUvn3ubCMTS
@lydakis lydakis self-assigned this Oct 6, 2026

lydakis commented Oct 6, 2026

Copy link
Copy Markdown
Owner Author

github-advanced-security (Copilot autofind) failed with HTTP 402, "You have exceeded your monthly quota", before it looked at the diff. The same thing happens on every PR in this repo right now. This PR only changes SECURITY.md, so the failure isn't caused by it, and there is nothing to port. Re-runs of this check return 403 from here, so I'm leaving it as is.


Generated by Claude Code

@lydakis
lydakis marked this pull request as ready for review October 6, 2026 03:05
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for security reviews. Please try again later.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-06T03:44:33.733037Z 46791f2 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4e20249d7f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread SECURITY.md Resolved
Comment thread SECURITY.md Resolved
Comment thread SECURITY.md Resolved
Comment thread SECURITY.md Resolved
Comment thread SECURITY.md Resolved
Comment thread SECURITY.md Resolved
claude added 2 commits October 6, 2026 03:14
… them

Narrow the leased-machine admission guarantee to include the offer's
allow_users and leave provider-command machines to their operator; say
only the Lambda provider installs errand; limit the bounded-output
guarantee to the cloud peer's provider and SSH commands; describe
max_leases as a cap on new leases and when the Lambda price is checked;
note that a restart starts a fresh idle window; and add the target check
on acquire that #46 brought.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01LXfrreiGwp7WUvn3ubCMTS
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for security reviews. Please try again later.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0555c6a8c7

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread SECURITY.md Resolved
Comment thread SECURITY.md Resolved
Comment thread SECURITY.md Resolved
Comment thread SECURITY.md Resolved
A failed EndAll leaves leases until the next request, idle and lifetime
rules start a release rather than cutting access, Lambda release also
accepts preempted or vanished instances, and a stalled stream reports
the runner's state when it still answers.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01LXfrreiGwp7WUvn3ubCMTS
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for security reviews. Please try again later.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1b4bb05395

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread SECURITY.md Resolved
Comment thread SECURITY.md Resolved
Comment thread SECURITY.md Resolved
Comment thread SECURITY.md Resolved
List the Windows job environment allowlist, count tailnet capability
grants on the lease tag among those a Lambda machine admits, say that
admitted callers have root on Lambda machines, and describe two gaps as
they are on main: the tailnet auth key is removed only after the runner
starts, and configured Lambda offers have no price cap.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01LXfrreiGwp7WUvn3ubCMTS
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for security reviews. Please try again later.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 38d96e2aa5

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread SECURITY.md Resolved
Comment thread SECURITY.md Resolved
Comment thread SECURITY.md Resolved
Comment thread SECURITY.md Resolved
Comment thread SECURITY.md Resolved
Comment thread SECURITY.md Resolved
Say that whether to lease is the client's choice, scope the archive
guarantee to what it carries, drop the Lambda release-confirmation
detail that docs/CLOUD.md owns, qualify the spending limits, limit the
root note to callers that can run jobs, and say unknown state is
reported whenever the runner returns none.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01LXfrreiGwp7WUvn3ubCMTS
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for security reviews. Please try again later.

@lydakis
lydakis merged commit d91a6e0 into main Oct 6, 2026
8 of 9 checks passed
@lydakis
lydakis deleted the claude/project-thread-0dinpc branch October 6, 2026 04:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants