Skip to content

devcloud: a host's managed settings seat no security default (devcloud 0.4.3) - #277

Merged
SSFSKIM merged 2 commits into
mainfrom
devcloud-unseat-sec-default
Oct 19, 2026
Merged

SSFSKIM merged 2 commits into
mainfrom
devcloud-unseat-sec-default

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Oct 19, 2026 •

Copy link
Copy Markdown
Owner

On a machine whose managed settings hold any key, Claude Code seats its security default, cc-plugin-sec-default@builtin, as the outermost module. The only exception is when managed prependPlugins is set and leaves it out. Seated, the default passes the plugins a person installs over on:

  • classic hooks;
  • the prompt's sections, context and attachments;
  • compactions;
  • the transcript rows that come from attachments, hook context and compactions.

devcloud hosts write an env-only managed file, so every host has run this way. A container probe on 2.1.303 used the person's plugins, a stand-in gateway and a made-up token in the project's CLAUDE.md. It observed:

  • The default alone settled classic.SessionStart, classic.PermissionRequest, prompt.compose, prompt.context, prompt.attachment and session.compact, and 43 of the 52 session.append rows. No to-human, doperpowers, devcloud or cua hook on those ran.
  • The guard's system-prompt line never reached the gateway.
  • The token arrived raw in every request, twice in the compaction request.
  • doperpowers' bridge never saw a permission prompt.
  • The passed-over rows went into the transcript, and on a host into the session store, without the guard's scrub. The probe did not check whether any shipped row held a value.

Change. Boot step 10, and every reconcile, writes the profile's managed-settings.json with "prependPlugins": [] added. Two cases are left unchanged:

  • A profile that sets prependPlugins itself keeps its own value.
  • An empty file stays as it is: the engine counts it as no managed settings, so it seats nothing.

With the empty list, the probe saw the default unseated and every probed hook run. The guard scrubbed again at the gateway, and no warning appeared beyond those the session logs with no managed file.

Tests.

Not done here. On hosts, to-human and doperpowers still load in the user tier, not the prepend tier the Macs give them. The engine grants that tier to a policy-enabled plugin only when the plugin is read in place from a directory marketplace that managed settings declare. That route is deferred: it means a host-side marketplace clone with no auto-update, and one session without the guard on a host that already recorded the marketplace from GitHub. It matters only once a host is enrolled at the desk. The design spec's Decision Log entry of 2026-10-19 records the probe's cases, the routes weighed, and when to revisit.

…d 0.4.3)

Any managed settings seat Claude Code's security default
(cc-plugin-sec-default@builtin) outermost unless managed prependPlugins is
set and leaves it out, and the seated default passes the plugins a person
installs over on classic.*, the prompt's sections, context and attachments,
and session.compact. On a host with the env-only managed file, the guard's
prompt and compaction hooks never ran (a made-up token reached a stand-in
gateway raw) and doperpowers' bridge never saw a permission prompt.

Boot step 10 and every reconcile now write the profile's
managed-settings.json with "prependPlugins": [] added, unless the profile
sets prependPlugins itself. The probe's cases, the routes weighed, and the
deferred one (the Macs' prepend tier through a managed directory
marketplace) are in the design spec's Decision Log, 2026-10-19.
SSFSKIM added a commit that referenced this pull request Oct 19, 2026
@SSFSKIM
SSFSKIM force-pushed the devcloud-unseat-sec-default branch from f7923fc to 69e6f36 Compare October 19, 2026 16:37
@SSFSKIM
SSFSKIM merged commit cb58e5e into main Oct 19, 2026
6 checks passed
SSFSKIM added a commit that referenced this pull request Oct 19, 2026
…ise-handle-form; bump to 7.189.2

Sminos-Session: smns-erb-71#b4948247 (doperpowers on macbook)
SSFSKIM added a commit that referenced this pull request Oct 19, 2026
…s-guide-roster; bump to 7.189.4

Conflicts only where both sides edited one line: CLAUDE.md's hooks/ row and
hooks.json's description (main's compact-offer figures, with the roster
clause kept), and the version manifests (main's side, devcloud 0.4.3 with
it, then bump-version.sh to 7.189.4).

Sminos-Session: smns-erb-71#b4948247 (doperpowers on macbook)
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.

1 participant