Prevent injection at CI workflow output boundaries.
shoutx safely writes untrusted values from shell-driven workflows to
destination-specific formats and protocols. The current source supports GitHub
Actions environment files and scoped stdout workflow commands, plus Azure Pipelines writers in v2.0.0. Azure verification status is recorded
in the Azure compatibility note.
Generic context encoders are deferred
until a concrete destination and safe consumption contract justify one.
See the v2.0.0 release notes for the provider-specific
archive names and migration from v1.0.0. Check
GitHub releases for published versions;
a version in this document does not establish publication. The github-actions:output,
github-actions:env, github-actions:path, and github-actions:state commands
are supported. Native binaries, checksums, and provenance are available from
the GitHub releases.
Version 0.3.0 also includes mask, notice, warning, and error in
normal builds, within the stdout consumer profile.
The earlier 0.3.0-rc.1 release contains only the environment-file writers.
Environment-file writers do not pass through the stdout command parser.
See the current compatibility record
before adopting stdout commands; packaged instructions cannot detect later
Runner or hosted-image changes.
The native-binary packaging and publication contract is specified in the release design.
Project documentation follows an explicit single-source-of-truth map. This README is a user-facing overview; command specifications, security scope, design decisions, compatibility evidence, and release policy each have one authoritative home.
For GitHub Actions, use the official
send/setup-shoutx action. This example
installs the GitHub Actions binary from shoutx v2.0.0:
- uses: send/setup-shoutx@4d56952710c9e225285e0474b381d6a10f4d3fdd # v0.2.0
with:
shoutx-version: '2.0.0'
checksums-sha256: b366c56f14818e856939742c807889af882d881b5fa0ef6ed60ffd63eb3c6553
github-token: ${{ github.token }}
- run: shoutx --versionRun setup before untrusted steps and grant the job only the permissions it
needs (contents: read is sufficient for installation). The example pins the
release's checksum manifest. Update the version and digest together.
For Azure Pipelines, use the setup-shoutx steps template to install the Azure binary for the same CLI release.
Alternatively, build this tree with cargo build --release --locked for both providers.
For a single provider add --no-default-features --features github-actions or
--no-default-features --features azure-pipelines. See the
archive naming contract for provider-specific downloads.
Download the archive for your platform and SHA256SUMS from the
latest GitHub release. Verify
the archive before extracting it, then place shoutx (shoutx.exe on Windows)
on PATH. The release verification guide
documents checksum and GitHub artifact-attestation verification.
GitHub Releases is currently the only binary distribution channel; shoutx
has not been published to crates.io or a package manager. Automation should pin
an exact release and expected archive digest rather than execute a mutable
latest download.
CI workflows routinely move untrusted values across interpretation boundaries: pull request titles become step outputs, tool results become environment variables, and generated paths affect command lookup. These writes are often assembled with string concatenation:
echo "title=$PR_TITLE" >> "$GITHUB_OUTPUT"
echo "REPORT_URL=$REPORT_URL" >> "$GITHUB_ENV"
echo "$TOOL_DIR" >> "$GITHUB_PATH"A newline or other control value can change the destination record structure instead of remaining data. Quoting the shell expansion does not protect the format being written.
Security scanners can find some unsafe flows. shoutx provides the missing
runtime primitive: a destination-aware writer that workflows can use at the
boundary.
Pass expression values through env: so they reach the shell as data, then use
shoutx at the output boundary:
- name: Export workflow values
id: export
env:
PR_TITLE: ${{ github.event.pull_request.title }}
REPORT_URL: ${{ steps.build.outputs.report-url }}
run: |
shoutx github-actions:output title "$PR_TITLE" >> "$GITHUB_OUTPUT"
shoutx github-actions:env REPORT_URL "$REPORT_URL" >> "$GITHUB_ENV"Do not interpolate untrusted ${{ ... }} expressions directly into run:.
GitHub expands them before the generated shell script executes, so injection can
happen before shoutx starts. Detecting that workflow pattern is a linter's
responsibility; shoutx protects values that reach it as data.
When the value argument is omitted, shoutx reads standard input:
generate-title | shoutx github-actions:output title >> "$GITHUB_OUTPUT"Default single-line mode accepts a normal one-line producer by consuming one optional final CRLF, LF, or bare CR as input framing. Any remaining line break is rejected:
$ printf 'hello\nworld\n' | shoutx github-actions:output title
error: value contains CR or LFChanging the value requires an explicit normalization mode:
generate-title | shoutx github-actions:output --first-line title >> "$GITHUB_OUTPUT"
generate-summary | shoutx github-actions:output --join-lines summary >> "$GITHUB_OUTPUT"
generate-list | shoutx github-actions:output --join-lines-with ', ' items >> "$GITHUB_OUTPUT"
generate-notes | shoutx github-actions:output --multiline notes >> "$GITHUB_OUTPUT"See what each command protects for a command-by-command guide to prevented injection paths, examples, caller responsibilities and limits.
shoutx - safe CI output writers
Usage:
shoutx github-actions:output [--first-line | --join-lines | --join-lines-with STRING | --multiline] NAME [VALUE]
shoutx github-actions:env [--first-line | --join-lines | --join-lines-with STRING | --multiline] NAME [VALUE]
shoutx github-actions:state [--first-line | --join-lines | --join-lines-with STRING | --multiline] NAME [VALUE]
shoutx github-actions:path [VALUE]
shoutx --help
shoutx --version
GitHub Actions artifact declarations:
shoutx github-actions:artifacts file [PATH]
shoutx github-actions:artifacts oci REFERENCE DIGEST
GitHub Actions stdout commands:
shoutx github-actions:add-matcher [PATH]
shoutx github-actions:remove-matcher owner [OWNER]
shoutx github-actions:remove-matcher file [PATH]
shoutx github-actions:debug [MESSAGE]
shoutx github-actions:group [TITLE]
shoutx github-actions:endgroup
shoutx github-actions:mask [VALUE]
shoutx github-actions:notice [--title TITLE] [--file FILE] [--line N] [--end-line N] [--column N] [--end-column N] [MESSAGE]
shoutx github-actions:warning [--title TITLE] [--file FILE] [--line N] [--end-line N] [--column N] [--end-column N] [MESSAGE]
shoutx github-actions:error [--title TITLE] [--file FILE] [--line N] [--end-line N] [--column N] [--end-column N] [MESSAGE]
Azure Pipelines commands:
shoutx azure-pipelines:summary [PATH]
shoutx azure-pipelines:uploadfile [PATH]
shoutx azure-pipelines:debug [MESSAGE]
shoutx azure-pipelines:group [TITLE]
shoutx azure-pipelines:endgroup
shoutx azure-pipelines:variable [--output] [--read-only] NAME [VALUE]
shoutx azure-pipelines:secret-variable [--output] [--read-only] NAME
shoutx azure-pipelines:warning [--file FILE] [--line N] [--column N] [--code CODE] [MESSAGE]
shoutx azure-pipelines:error [--file FILE] [--line N] [--column N] [--code CODE] [MESSAGE]
shoutx azure-pipelines:path [PATH]
shoutx azure-pipelines:mask [--each-line]
shoutx azure-pipelines:build-number [NUMBER]
shoutx azure-pipelines:build-tag [TAG]
| Command | Produces | Line-break behavior |
|---|---|---|
github-actions:add-matcher, remove-matcher (v1.0.0+) |
One typed matcher registration/removal request | One final boundary consumed; others encoded |
github-actions:debug, group, endgroup (v1.0.0+) |
One typed log command | Debug encodes remaining boundaries; group rejects them; endgroup takes no value |
github-actions:artifacts (v1.0.0+) |
One typed $GITHUB_ARTIFACTS declaration |
File: one final boundary consumed; OCI: boundaries rejected |
github-actions:output |
One $GITHUB_OUTPUT record |
Internal boundaries rejected by default; explicit normalization |
github-actions:env |
One $GITHUB_ENV record |
Internal boundaries rejected by default; explicit normalization |
github-actions:path |
One $GITHUB_PATH record |
One final boundary consumed; others rejected |
github-actions:state |
One $GITHUB_STATE record |
Internal boundaries rejected by default; explicit normalization |
github-actions:mask |
One runner mask-registration command | One final boundary consumed; remaining boundaries encoded |
github-actions:notice, warning, error |
One runner annotation command | One final boundary consumed; remaining boundaries encoded |
Namespaced commands identify the interpretation context, not merely a data
type. Provider-specific writers use the PROVIDER:DESTINATION form. Reusable
encoders use the LANGUAGE:CONTEXT form.
Install the Azure Pipelines binary as described under Installation before using these examples. The Azure profile owns the supported hosts, shells and required job settings. The verification record records actual hosted behavior and limits. The selected practical scope does not mean every Azure command is implemented.
All commands in this table use the azure-pipelines: prefix. Links lead to the
input rules and exact guarantees; this table is a selection guide.
| Intended operation | Writer | Caller responsibility / important limit |
|---|---|---|
| Pass non-secret data to later tasks | variable |
Authorize names and consumers; --output needs the appropriate named-step/dependency mapping. |
| Report a diagnostic | warning, error |
Authorize severity and content; reporting an error is not a substitute for propagating tool failure. |
| Expose an installed tool directory | path |
Trust the directory and its executables; affects later tasks, not the current shell. |
| Mask a securely acquired value in later logs | mask |
Stdin only; follow the separate-task/profile conditions. Does not assign a variable or redact uploaded files. |
| Assign a runtime-created credential | secret-variable |
Stdin only; apply the secret profile and explicitly map authorized later consumers. |
| Set a run identifier or classification | build-number, build-tag |
Authorize metadata and downstream use; tags require the profile's job-level API setting. |
| Add diagnostic text or organize a phase | debug, group, endgroup |
Debug is not secret; caller balances groups and controls their body output. |
| Publish a Markdown report or diagnostic file | summary, uploadfile |
Supply an authorized absolute file path; content is not sanitized or redacted by shoutx. |
Keep stdout connected to the Agent. Pass dynamic input through environment variables or quoted arguments, never by substituting Azure expressions directly into shell source. Propagate every failure before dependent work. A successful write does not acknowledge that Azure applied, displayed or uploaded the request. See the command protection guide for attack boundaries and exclusions.
The following equivalent step bodies create synthetic non-secret files in a
caller-approved directory, export their report path for later tasks, and request
a summary plus task-log attachment. They assume shoutx is already on PATH.
On the supported native hosts, configure the job-level setting shown in the
profile:
variables:
DECODE_PERCENTS: 'true'Map the same public values through the step's env: block for either shell;
Azure expansion occurs in environment values, not script source:
env:
REPORT_DIRECTORY: $(Agent.TempDirectory)/shoutx-report
CHECK_MESSAGE: Verification report generatedUse a dedicated directory without pre-existing files or untrusted symlinks.
The example owns and overwrites report.md and diagnostic.txt there. Substitute
only files whose publication is authorized. This example uses no secrets and
makes no claim about arbitrary generator output.
Bash (bash: on the supported Ubuntu host):
set -euo pipefail
: "${REPORT_DIRECTORY:?Set an approved absolute report directory}"
: "${CHECK_MESSAGE:?Set a public diagnostic message}"
mkdir -p -- "$REPORT_DIRECTORY"
report_path="$REPORT_DIRECTORY/report.md"
diagnostic_path="$REPORT_DIRECTORY/diagnostic.txt"
printf '# Verification report\n\nSynthetic check passed.\n' > "$report_path"
printf 'Synthetic diagnostic: check passed.\n' > "$diagnostic_path"
shoutx azure-pipelines:variable --read-only ReportPath "$report_path"
shoutx azure-pipelines:debug -- "$CHECK_MESSAGE"
shoutx azure-pipelines:group -- 'Publish verification report'
shoutx azure-pipelines:summary -- "$report_path"
shoutx azure-pipelines:uploadfile -- "$diagnostic_path"
shoutx azure-pipelines:endgroupPowerShell (pwsh: on the supported Windows host):
$ErrorActionPreference = 'Stop'
$PSNativeCommandUseErrorActionPreference = $true
$reportDirectory = [Environment]::GetEnvironmentVariable('REPORT_DIRECTORY')
$checkMessage = [Environment]::GetEnvironmentVariable('CHECK_MESSAGE')
if ([string]::IsNullOrEmpty($reportDirectory)) { throw 'Set an approved absolute report directory' }
if ([string]::IsNullOrEmpty($checkMessage)) { throw 'Set a public diagnostic message' }
[System.IO.Directory]::CreateDirectory($reportDirectory) | Out-Null
$reportPath = [System.IO.Path]::Combine($reportDirectory, 'report.md')
$diagnosticPath = [System.IO.Path]::Combine($reportDirectory, 'diagnostic.txt')
$utf8 = [System.Text.UTF8Encoding]::new($false, $true)
[System.IO.File]::WriteAllText($reportPath, "# Verification report`n`nSynthetic check passed.`n", $utf8)
[System.IO.File]::WriteAllText($diagnosticPath, "Synthetic diagnostic: check passed.`n", $utf8)
shoutx azure-pipelines:variable --read-only ReportPath $reportPath
shoutx azure-pipelines:debug -- $checkMessage
shoutx azure-pipelines:group -- 'Publish verification report'
shoutx azure-pipelines:summary -- $reportPath
shoutx azure-pipelines:uploadfile -- $diagnosticPath
shoutx azure-pipelines:endgroupPass $(ReportPath) through a later task's env: mapping to consume it; it is
not assigned to the current shell. Check provider results when publication is
required. The file-writer observations
record an omitted composite filename and ZIP-name transformations; these examples
use simple basenames. Debug output follows Azure's debug setting. Group bodies
remain caller-controlled, and nested UI folding is not promised.
For credentials, use the existing secret-variable delivery examples or mask byte-stream examples, including their prerequisite job settings and later-task separation. Do not adapt the public argv example above by placing a credential in an argument.
For ordinary file/directory artifacts, use Azure's Publish Pipeline Artifacts task. The coverage inventory owns the deferred operations and conditions for reconsidering them.
Use v1.0.0+ or build this tree as described under Installation; v0.3.0 does not
include these commands. For a caller-approved matcher
file and owner, pass values through env: or quoted shell variables, never
expression interpolation into shell source:
set -euo pipefail
shoutx github-actions:add-matcher -- "$MATCHER_PATH"
# Run the intended tool here; the caller owns its output and failure handling.
shoutx github-actions:remove-matcher owner -- "$MATCHER_OWNER"
# Alternatively, remove the owners described by a configuration file:
shoutx github-actions:remove-matcher file -- "$MATCHER_PATH"Use one appropriate removal mode in a real workflow. These writers serialize paths and owners; they do not validate or authorize JSON configuration, regexes, the selected owner or later tool output. Keep stdout connected to the Runner. Registration/removal failures are consumer effects, not acknowledged by a successful shoutx exit. See the matcher contract for consumer conditions, lifetime and file-removal semantics.
Use v1.0.0+ or build this tree as described under Installation; v0.3.0 does
not include these commands. See the consumer verification evidence.
Pass values through workflow env:, not expression interpolation into shell
source, and propagate native-command failures:
- shell: bash
env:
TITLE: ${{ github.event.pull_request.title }}
MESSAGE: ${{ steps.check.outputs.message }}
run: |
set -euo pipefail
shoutx github-actions:debug -- "$MESSAGE"
shoutx github-actions:group -- "$TITLE"
echo 'Trusted group body'
shoutx github-actions:endgroupEnable ACTIONS_STEP_DEBUG=true in GitHub's debug logging settings to display
debug messages. Keep stdout connected to the Runner. Group titles are single
line; the caller owns balancing groups and the safety of body output. These
commands do not sanitize arbitrary logs or create annotations. See the
debug/group contract for accepted
inputs, encoding, limits and consumer conditions.
Use v1.0.0+ or build this tree as described under Installation for
github-actions:artifacts; v0.3.0 binaries do not contain it:
set -euo pipefail
shoutx github-actions:artifacts file -- "$ARTIFACT_PATH" >> "$GITHUB_ARTIFACTS"
shoutx github-actions:artifacts oci -- "$OCI_REFERENCE" "$OCI_DIGEST" >> "$GITHUB_ARTIFACTS"Supply values through workflow env: and quoted expansions, not expression
interpolation into shell source. Use a shell that propagates failures. The
writer declares one file or OCI subject; it does not upload an artifact, open a
file, calculate a digest, contact a registry, or authorize the selected resource.
The Runner processes declarations after the step. Exposed destination variables
alone do not prove processing is enabled. See the
artifact contract for input rules,
consumer conditions, and limits, and the
hosted integration observations
for verification evidence.
github-actions:output writes a named value using the $GITHUB_OUTPUT
environment-file protocol.
github-actions:env writes a named value using the $GITHUB_ENV
environment-file protocol.
github-actions:state writes one
named value to $GITHUB_STATE for exposure to another phase of the same action.
Its value and line-mode contract is identical to the output and environment
writers. State names match [A-Za-z_][A-Za-z0-9_]*; unlike environment names,
they have no reserved-name block because the runner exposes them with a
STATE_ prefix. The command is useful only when the producer has a later phase
of the same action that consumes the state.
The implemented named writers validate the record name and reject NUL. Output
names match [A-Za-z_][A-Za-z0-9_-]*; environment names match
[A-Za-z_][A-Za-z0-9_]*. The environment writer also rejects GITHUB_*,
RUNNER_*, and NODE_OPTIONS, using ASCII case-insensitive comparisons.
All modes except --multiline first consume at most one final CRLF, LF, or bare
CR as input framing. Default mode then rejects any remaining CR or LF.
--first-line keeps the prefix before the first remaining boundary.
--join-lines replaces each remaining boundary with one ASCII space;
--join-lines-with STRING uses an explicit separator, which may be empty but
may not contain NUL, CR, or LF. --multiline preserves the complete value using
an independently generated, collision-checked delimiter.
github-actions:path validates and emits one fully
qualified entry for $GITHUB_PATH. Its target dialect follows RUNNER_OS,
with native fallback; a present unknown value is always rejected. It
consumes one optional final line boundary, rejects remaining boundaries and
empty values, rejects the target OS PATH separator (: on POSIX or ; on
Windows), and preserves the path without normalization. It also rejects " on
every target and a trailing \ on POSIX, which the runner cannot safely compose
into its container-runtime PATH argument. A leading U+FEFF will be rejected
because the runner would treat it differently at the beginning of the file.
The command provides record framing, not path authorization. An attacker-controlled directory could still hijack later command lookup.
Environment-file commands write encoded records to stdout. The caller deliberately chooses
the destination file with shell redirection; shoutx does not discover or
modify environment files implicitly. Redirect writer output to the intended
environment file; unredirected multiline value lines could otherwise be
interpreted as stdout workflow commands by the runner.
The following examples require version 0.3.0 or a build from this source with
cargo build --release --locked; no feature opt-in is required. Consumer
compatibility is limited to the named hosted profile;
installing a binary on another architecture does not expand that scope.
Stdout commands stay connected to the Runner log stream; do not redirect them to an environment file. Supply values as data, keep command processing active, and propagate failures:
- name: Register a mask before using the value
shell: bash
env:
TOKEN: ${{ secrets.SERVICE_TOKEN }}
run: |
set -euo pipefail
set +x
printf '%s' "$TOKEN" | shoutx github-actions:mask
- name: Report a diagnostic
shell: bash
env:
MESSAGE: ${{ steps.check.outputs.message }}
TITLE: ${{ steps.check.outputs.title }}
run: |
shoutx github-actions:warning --title "$TITLE" -- "$MESSAGE"Masking affects subsequent Runner output, not earlier logs, process inspection,
or tracing. Do not log a value rejected by mask; failure means no registration
was requested. An annotation is intentionally logged, so it is not a secret
channel. error creates an annotation but does not fail the step by itself.
See the mask contract and precautions
and annotation contract for input
limits, accepted Unicode boundaries, metadata and consumer limitations.
No context encoder is currently planned for v1.0. The former shell:arg
candidate was deferred because shell quoting emitted at runtime cannot be
consumed as syntax through command substitution. It is useful only while
generating source for a later shell parse, where a single-word encoder cannot
enforce safe composition. Prefer an argv-capable API, or use env: and
"$VALUE" in GitHub Actions. See the
design decision.
This is an overview of the command contracts,
not one grammar applied to every destination. Named-record options precede
NAME; single-value commands have no NAME. Artifact and matcher removal modes
come first. artifacts oci requires two argv operands and never reads stdin;
endgroup takes no value and never reads stdin. Optional-value rules below
apply only to commands that expose that input form.
- Options precede
NAME. AfterNAME, one token isVALUEeven if it begins with-. --ends option parsing. Modes are mutually exclusive, extra operands are usage errors, and--join-lines-with=STRINGis accepted.- For a command without
NAME, includinggithub-actions:path, use--before a value that could begin with-. --helpand--versionare options only beforeNAME; afterNAME, those tokens are values.- If
VALUEis present, it is the input value and stdin is not read. - If
VALUEis omitted and stdin is not a terminal, stdin is read through EOF unless the first byte beyond the hard limit proves it must be rejected. - If
VALUEis omitted and stdin is a terminal, the command exits with usage status 2 instead of waiting. An unreadable stdin reported by the host API is an I/O failure with status 1. On POSIX, the Rust runtime replaces a descriptor that was already closed at process startup with/dev/null, so that case is indistinguishable from intentional empty stdin and produces an empty value. - An empty
VALUEand empty non-terminal stdin both mean an empty value. - GitHub Actions
run:steps normally provide non-terminal stdin, so omittingVALUEcan successfully write an empty record when stdin is empty. - Whether an empty value is accepted is destination-specific: named records and debug/group accept it, while path, artifacts, mask, annotations and matchers reject it. See the linked contracts for whitespace-only values.
- Encoded output is written to stdout; diagnostics are written to stderr.
- Values are limited to 1 MiB of UTF-8 before and after normalization. Names
and
--join-lines-withseparators are limited to 255 bytes. - Input is strict UTF-8 and output is UTF-8 without a byte-order mark. Framing bytes are emitted explicitly for the local supported runner parser and do not rely on host text-mode newline conversion.
- Named-writer single-line records use explicit LF framing on every OS.
Named-writer multiline records
normally do the same. For a value ending in bare CR,
RUNNER_OS=Windowsselects CRLF framing so the Windows runner preserves that CR. IfRUNNER_OSis absent, the native OS is used; an unrecognized value is rejected only when this framing distinction matters. - Supported redirection must preserve native stdout bytes. CI verifies both
the
shcommand and an explicit Dash invocation on Linux,shand Bash on macOS, and PowerShell Core 7.4+ plus Git Bash on Windows. These shell tests run alongside differential tests against the pinned GitHub Actions runner identified in the oracle metadata. Windows PowerShell 5.1, older PowerShell Core versions, text-writing cmdlets, and merged stderr/stdout redirection are unsupported. - A non-zero
shoutxstatus must also be propagated by the workflow shell. PowerShell callers must enable native-command error propagation or check$LASTEXITCODEimmediately after each invocation. - Success emits the selected record, or the explicitly selected Azure mask batch, and exits with status 0. This does not acknowledge consumer processing.
- Invalid input emits no partial record and exits with status 1. Command-line usage errors exit with status 2.
- An I/O failure exits with status 1 and may leave a partial record if output already began.
- On POSIX, a stdout descriptor already closed at process startup is replaced
with
/dev/nullby the Rust runtime; no write failure is exposed, so output is discarded and status 0 is possible. Supported writer usage always redirects stdout to the runner file and does not rely on detecting this case. - NUL is always rejected.
- Raw passthrough is intentionally unsupported.
There is no universally safe string. A value safe as a shell word is not necessarily safe as a GitHub Actions environment-file record. The command name makes the next parser explicit.
Default single-line mode treats at most one final CRLF, LF, or bare CR as input
framing rather than value data. Other discarded or normalized content requires
an explicit --first-line, --join-lines, or --join-lines-with mode. Use
--multiline for exact named-record value preservation. These modes belong to
output/env/state, not all commands. Structured annotation properties and OCI
operands follow their own contracts rather than single-value framing.
If a value cannot be represented under the selected contract, shoutx fails
before beginning output. It never silently falls back to raw output. An I/O
failure after writing begins can still leave partial bytes in the destination;
stdout and shell redirection are not transactional.
CI systems expose different command channels and record protocols. Provider namespaces keep those rules separate while sharing input handling, validation, normalization, and encoder primitives. See the implementation architecture for the built-in provider boundaries and extension procedure.
shoutx protects the boundary named by the selected command. It does not make
the value safe for every later use.
For example, github-actions:output prevents a value from injecting another
GitHub Actions output record. If a later step interpolates that value into shell
source, that later shell boundary still requires a safe structured API;
shoutx does not currently provide one.
Values may also require application-level validation. A safely encoded path can still identify an attacker-controlled directory and hijack command lookup. A safely quoted argument can still be interpreted as a command option.
See the threat model for trust assumptions, attack coverage, and required failure behavior. The design index links the destination-specific specifications; the CLI contract test plan defines their shared cases and compatibility gates.
- Static analysis of complete workflows or attack-path discovery.
- Replacing actionlint, zizmor, CodeQL, or policy engines.
- A universal
escapeoperation independent of destination context. - Sanitizing arbitrary documents or command lines.
- Writing
$GITHUB_STEP_SUMMARY. A step summary is GitHub-rendered Markdown, not a runner command-file record protocol; GitHub sanitizes the rendered HTML. Links, images, mentions, misleading text, and Markdown structure remain the producer's content-policy responsibility. - Making
eval, dynamic shell source, or unsafe command APIs safe. - Raw output disguised as an encoding mode.
shoutx complements scanners and linters by giving them a concrete safe pattern
to recommend.
The MVP supports GitHub Actions. Additional providers can add namespaced destination writers without changing the core command model.
The exact plugin distribution and discovery mechanism is not yet specified.
Rust development uses Rust 1.98.1, pinned by rust-toolchain.toml; normal
builds and tests require only Cargo. The minimum supported Rust version (MSRV)
is separately declared as 1.85 in Cargo.toml and continuously tested in CI.
The development pin may advance without changing that compatibility promise;
raising the MSRV requires a deliberate release decision and matching manifest
and CI changes.
The pinned actions/runner differential suite additionally needs .NET SDK
8.0.427. mise.toml can install that SDK for local development, but mise is
optional:
mise install
scripts/test-runner-oracle.shCI installs the same SDK directly and runs the oracle on the platform matrix defined by the test plan.
Dependency policy is declared in deny.toml. Contributors with cargo-deny
installed can run the same vulnerability, license, duplicate-version, and
source checks as CI with:
cargo deny --all-features --locked check advisories bans licenses sourcesReport suspected vulnerabilities through GitHub's private vulnerability reporting form rather than a public issue. See the security policy for the supported-version policy and the information to include.
MIT