Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
866e1fc
fix(mise): trust Renovate repo checkout during lock file updates
zeitlinger May 26, 2026
4182085
docs(mise): document trusted config paths for lock updates
zeitlinger May 26, 2026
bac2494
refactor(mise): sanitize config files for lock updates
zeitlinger May 27, 2026
4c0c91f
test(mise): cover sanitized lock update flow
zeitlinger May 27, 2026
e6d8d82
docs(mise): describe sanitized lock update flow
zeitlinger May 27, 2026
413dd3f
test(mise): cover sanitize failure paths
zeitlinger May 27, 2026
d260bc1
fix(mise): clarify mirror read coverage
zeitlinger May 27, 2026
4626e59
fix(mise): allowlist mirrored settings
zeitlinger May 27, 2026
212e45d
test(mise): fix schema and integration specs
zeitlinger May 27, 2026
3ac7e2b
fix(mise): trust only sanitized mirror workspace
zeitlinger May 29, 2026
829ccb9
test(mise): fix mirrored cwd type narrowing
zeitlinger May 29, 2026
843a106
test(mise): focus coverage on sanitized mirror flow
zeitlinger May 29, 2026
2178c15
test(mise): cover recursive settings schema
zeitlinger May 29, 2026
fe33ec7
fix(mise): ignore misreported lcov branch
zeitlinger May 29, 2026
091a767
test(mise): remove redundant integration gate
zeitlinger May 29, 2026
4c68d35
test(mise): drop local integration spec
zeitlinger Jun 1, 2026
a5a52db
fix(mise): gate lock updates as unsafe execution
zeitlinger Jun 1, 2026
5cd1eb4
Merge remote-tracking branch 'origin/main' into fix/mise-trusted-conf…
zeitlinger Jun 1, 2026
d52bf5d
fix(mise): restore settings schema typing
zeitlinger Jun 1, 2026
c79d32e
fix(mise): generalize unsafe execution to mise
zeitlinger Jun 2, 2026
67d9395
fix(mise): drop unused settings schema parsing
zeitlinger Jun 2, 2026
098a9d6
fix(mise): trust repo config via trusted paths
zeitlinger Jun 3, 2026
20e5a13
fix(mise): explicitly trust config before lock
zeitlinger Jun 3, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/usage/security-and-permissions.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ This is particularly true during, for example:

- `postUpgradeTasks`, where scripts specified by the repository are run
- when a wrapper within the repository is called, like `gradlew` (if setting [`allowedUnsafeExecutions=["gradleWrapper"]`](./self-hosted-configuration.md#allowedunsafeexecutions).
- when `mise trust` / `mise lock` are run from the repository checkout (if setting [`allowedUnsafeExecutions=["mise"]`](./self-hosted-configuration.md#allowedunsafeexecutions).

These scripts can contain arbitrary code.
This may pose a significant security risk if the repository's integrity is compromised, or if the repository maintainers have malicious intentions.
Expand Down
11 changes: 6 additions & 5 deletions docs/usage/self-hosted-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,11 +156,12 @@ For more details of where this may be found, see ["Trusting Repository Developer

Allowed options:

| Option | Description |
| --------------- | ----------------------------------------------------------------------------- |
| `bazelModDeps` | Allows the `bazel mod deps` when perfoming bazelisk or bazel-module updates. |
| `goGenerate` | Allows the `goGenerate` `postUpdateOption` to run after a go mod update. |
| `gradleWrapper` | Allows using `./gradlew` or `gradle.bat` when performing updates with Gradle. |
| Option | Description |
| --------------- | --------------------------------------------------------------------------------------------- |
| `bazelModDeps` | Allows the `bazel mod deps` when perfoming bazelisk or bazel-module updates. |
| `goGenerate` | Allows the `goGenerate` `postUpdateOption` to run after a go mod update. |
| `gradleWrapper` | Allows using `./gradlew` or `gradle.bat` when performing updates with Gradle. |
| `mise` | Allows running any `mise` commands, for instance `mise lock` when updating `mise.lock` files. |

## `autodiscover`

Expand Down
2 changes: 1 addition & 1 deletion lib/config/options/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3266,7 +3266,7 @@ const options: Readonly<RenovateOptions>[] = [
type: 'array',
subType: 'string',
default: [],
allowedValues: ['bazelModDeps', 'goGenerate', 'gradleWrapper'],
allowedValues: ['bazelModDeps', 'goGenerate', 'gradleWrapper', 'mise'],
stage: 'repository',
globalOnly: true,
},
Expand Down
3 changes: 2 additions & 1 deletion lib/config/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,8 @@ export type MergeStrategy =
export type AllowedUnsafeExecution =
| 'bazelModDeps'
| 'goGenerate'
| 'gradleWrapper';
| 'gradleWrapper'
| 'mise';

// TODO: Proper typings
export interface PackageRule
Expand Down
Loading