This document describes what the stride-ideation Claude Code plugin does at
runtime, written for a security reviewer evaluating it for the plugin directory.
Every claim here is backed by the plugin's own files — primarily
commands/stridify.md,
commands/ideate.md,
lib/read_auth.py, and
lib/draft.sh.
Key difference from the
strideplugin: stride-ideation ships nohooks.jsonand therefore performs no client-side hook execution of your.stride.mdcommands. There is nohooks/directory;.claude-plugin/contains onlyplugin.json(metadata).
- What runs on your machine: the agent following this plugin's Markdown
skill/commands/subagents (instructions, not executable code), plus the small
set of
lib/helper scripts the plugin ships (a few Python/bash utilities for slug/path generation, batch-JSON validation, drift checks, draft autosave, and credential extraction). The slash commands'allowed-toolsfrontmatter enumerates exactly which Bash invocations are permitted (commands/stridify.md:3,commands/ideate.md:3); neither command is allowed to callcurl, and neither grantsrm,catormktemp. The list names the commands the fragments run at top level (lib/test-command-fragments.shchecks that it covers them). Note that aBash(<cmd>:*)entry pre-approves every use of that command, not only the fragment's; the olderBash(bash:*),Bash(python3:*)andBash(. *:*)entries are the broad ones. - Which helper scripts run: the commands reach their
lib/scripts through Claude Code's plugin-root substitution, which fills in the installed plugin's own path when the command loads. A fragment that finds no substituted path stops with an error rather than guessing — earlier releases left the path for the model to resolve, which could have sourced a same-namedlib/*.shfrom the repository being worked in. - Untrusted text stays out of shell commands: the decomposer subagent's
JSON is written to
.stride/stridify-subagent-output.jsonwith theWritetool and validated from that file (/stridifyStep 8a); it is never pasted into a Bash call, where a crafted line could end a heredoc early and run as shell. Values carried between steps are pasted as single-quoted literals. - What leaves your machine: exactly one network request — a single
POSTof the decomposed batch JSON to your configured Stride server (stridelikeaboss.comby default) when you run/stridify. Nothing else is transmitted. - Where your secret lives: a project-local
.stride_auth.mdfile that you create and that is never committed. The plugin reads it; it never bundles, prints, logs, or persists the token. - What the plugin does NOT do: no telemetry/analytics, no background
processes, no auto-update, and no arbitrary code execution beyond the
lib/helper scripts it ships.
All agent-facing components are Markdown (instructions for the agent, not executable code):
| Component | Count | Files |
|---|---|---|
| Slash commands | 2 | commands/ideate.md, commands/stridify.md |
| Skill | 1 | skills/stride-ideation/SKILL.md |
| Subagents | 2 | agents/requirements-decomposer.md, agents/requirements-reviewer.md |
Plus lib/ helper scripts — the only executable surface the plugin ships:
read_auth.py, ship.sh, validate_batch.py, drift_check.py,
strip_audit_fields.py, filename.sh, draft.sh, and run_smoke_test.sh (the
smoke-test harness, used for development; its only network call is gated behind
an explicit --live flag and goes through ship.sh). There is no hooks.json and no hooks/ directory — the plugin
registers no lifecycle hooks and executes none of your .stride.md sections.
The plugin is purely invocation-driven: its two slash commands execute synchronously in your Claude Code session when you invoke them. There is no event-triggered hook, no daemon, and no background task.
/stride-ideation:ideatedrives an interactive ideation session and, on completion, writes and commits a requirements Markdown document. It is not permitted to make network calls (itsallowed-toolslist contains nocurl)./stride-ideation:stridifydecomposes the requirements doc into a Stride batch JSON (via a read-only subagent), commits it for audit, and — after a human preview-and-approval gate — issues the single POST described below.
The lib/ helpers are plain utilities invoked by these commands: regex
credential extraction (read_auth.py), JSON shape validation
(validate_batch.py), SHA drift checks (drift_check.py), audit-field stripping
(strip_audit_fields.py), pure slug/path/draft bash functions
(filename.sh, draft.sh), and ship.sh, the single process that reads auth,
strips, POSTs and renders. ship.sh is the only helper that makes an outbound
call (the --live smoke test reaches the network only by calling it).
The plugin makes exactly one kind of outbound request — the /stridify
batch upload, made by lib/ship.sh, which /stridify Step 9
runs once (commands/stridify.md, Step 9):
POST {your API URL}/api/tasks/batch
Authorization: Bearer {your token}
Content-Type: application/json
- Destination host is whatever you configured as the
**API URL:**in.stride_auth.md—https://www.stridelikeaboss.comby default. The hostname is not hardcoded into the curl call; it is read from your auth file. The plugin contacts no other host. - Payload is the decomposed batch JSON (the goals/tasks
/stridifyproduced from your requirements doc), with the three local audit fields (source_spec,source_spec_sha256,decomposition_notes) stripped into a mode-600 temp file and sent with--data-binary @<file>. It contains only the task content you reviewed and approved at the preview gate. - Token never on a command line or on disk:
ship.shpipes theAuthorizationheader to curl as a config on its stdin (curl -K -, written by the shell'sprintfbuiltin), so the token is on no process's argv (argv is visible tops) and in no file. Any inheritedSTRIDE_API_TOKENis unset at startup and auth is read only after the payload is prepared, so no child process other than curl ever has the token in its environment. curl runs with-qfirst, so~/.curlrccannot switch on verbose output; with-g, so a{}or[]in the URL cannot expand into a repeated POST; and never with-v, so the header is never echoed. - Token never printed: the script turns off a caller's
xtrace(bash -x,SHELLOPTS=xtrace) andallexport(bash -a) before it reads anything, and every response body or curl message it prints has the token (also in JSON-escaped or percent-encoded form), anything shaped like a Stride token (which catches a truncated echo), and the value of anyBearer <value>replaced with[REDACTED]— a development server's debug error page echoes request headers, includingAuthorization. The token reaches that scrubber on a pipe, never on argv or in an environment. (Earlier releases passed the header as-H "Authorization: Bearer $STRIDE_API_TOKEN"and described that as notps-visible; it was visible — fixed by D310.) - Temp files: the payload, response body and curl stderr (none of which
holds the token) are created mode 600 under the system temp dir and removed
on success, failure and interrupt (
INT,TERM,HUP). If one cannot be created, the script stops before any request is sent.
The smoke test's opt-in --live stage
(lib/run_smoke_test.sh, Stage 7) ships through
ship.sh as well; in default/dry-run mode it makes no network call.
The bearer token and API URL are resolved at runtime by
lib/read_auth.py from the user-local .stride_auth.md
path passed as its argument — no other source:
- Prod-token disambiguation: the token regex uses a
(?<!Local )negative lookbehind (TOKEN_PATTERNSinlib/read_auth.py) so it matches the production**API Token:**line and not the**Local API Token:**line. - Token never reaches the error channel: the resolved token is written
only to stdout as a
STRIDE_API_TOKEN=…line, read byship.shin its own process; every error path writes to stderr and the code comments enforce that the token value is never placed in a stderr message (lib/read_auth.py, module docstring and the missing-token branch). - Eval-safe output: both values are shell-quoted with
shlex.quote, soship.sh'sevalof that output cannot execute anything the auth file contains — a URL holding&,;or$(...)evaluates to the literal string (regression tests inlib/test-ship.sh). - No hardcoded credential, no process-env read: there is no token literal
anywhere in the plugin, and
read_auth.pydoes not read environment variables (os.environ/getenvare absent). The token reaches curl only through a pipe on its stdin, and is never echoed, logged or written to disk. .stride_auth.mdis user-created and must never be committed (stated in the README's auth section).
A full credential-hygiene sweep of this repository — no tracked secrets, no
hardcoded credentials, no real token literal in git history, 11/11 lib test
scripts clean — is recorded in SUBMISSION-AUDIT.md.
Both writes are committed for audit and are ordinary project files — neither contains any credential:
/ideatewrites a timestamped requirements Markdown document and commits it (commands/ideate.md, Steps 8-9). During the session an intra-session autosave scratch file is written under a self-ignoring.stride/path and deleted on successful commit;lib/draft.shdocuments that it never serializes any secret — it writes only the content it is handed, and the API token is not in scope during ideation at all (lib/draft.sh, header comment)./stridifywrites a timestamped<ts>-<slug>-stride-batch.jsonsibling to the requirements doc and commits it (commands/stridify.md:456-465). On the rare path where all subagent dispatch attempts fail, it writes a<ts>-<slug>-decomposer-prompt.mdfallback that explicitly contains no authentication material (commands/stridify.md:365-368).
Confirmed by absence across all .md, .sh, .py, and .json files:
- No telemetry/analytics — no calls to any analytics endpoint or beacon.
- No background/daemon process — every command runs synchronously in the session; there is no cron, daemon, or process-launching code.
- No auto-update — the plugin has no self-update mechanism; version changes are manual author releases.
- No arbitrary code execution — the slash commands'
allowed-toolsfrontmatter enumerates the exact permitted Bash invocations; the oneeval(inlib/ship.sh) takeslib/read_auth.pyoutput whose values are shell-quoted, and there is no execution surface beyond the shippedlib/helpers.
The single external dependency is your configured Stride server
(https://www.stridelikeaboss.com by default), contacted exactly once per
/stridify run for the POST /api/tasks/batch. No third-party services,
package registries, or other hosts are contacted at runtime.
Security concerns about this plugin can be raised via the issue tracker at https://github.com/cheezy/stride-ideation.