Repository navigation
fix(security): trusted service binary and data folder paths, skip deleted orgs' SLO burn policies - #833
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]>
service install now checks the solidping binary (after resolving links) and every folder above it, plus the parents of the data folder: each part must be owned by root (Linux, macOS) or SYSTEM, Administrators, TrustedInstaller or the installer (Windows), and nobody else may write it. An existing data folder on Linux and macOS must be a real folder owned by the service account, not group- or world-writable, with no link or foreign file inside, as on Windows. service run checks the binary, the data folder and its parents again before entering it. Windows services now get a hidden --installer-sid run argument so the run check trusts the same installer; services installed before keep working when their files are owned by SYSTEM or Administrators. Security scan 2026-11-10, findings AI1, AI2, AI3. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #833 +/- ##
========================================
Coverage 89.27% 89.27%
========================================
Files 1335 1337 +2
Lines 136568 136774 +206
========================================
+ Hits 121917 122109 +192
- Misses 14642 14656 +14
Partials 9 9
🚀 New features to boost your workflow:
|
Windows: extract into C:\Program Files\SolidPing in the install steps too. Linux and macOS: install the binary root-owned with sudo install, and explain that a Homebrew binary cannot back a root daemon. Describe the binary, data folder and parent checks of service install and run. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ders The service jobs now install solidping where install accepts it (C:\Program Files\SolidPing, /Library/SolidPingCI, /usr/local/bin owned by root) and check that a binary or data folder parent the runner user owns is refused. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…a folder path that a non-admin can change Co-Authored-By: Claude Opus 5.5 <[email protected]>
… evaluation queue DeleteOrganization now disables the org's SLO alert policies, and ListEnabledSLOAlertPolicies joins organizations to skip deleted orgs (also covering orgs deleted before this change). Orphan policies no longer take slots in the instance-wide 500-policy batch and delay live orgs' alerts. Same class in the other instance-wide sweeps: ListExpiredSnoozedIncidents now skips deleted orgs, since unsnoozing schedules a reminder that notifies. Left as is: - check-based sweeps (degraded eval, freshness, stale placements, stale job periods/regions): org deletion soft-deletes every check, and they filter checks.deleted_at. - ListStatusPagesWithCustomDomain (custom-domain re-verify): the re-verify demotes dangling CNAMEs, a takeover guard; skipping deleted orgs' pages would keep their domains verified forever. - ListStaleSystemAgents: system agents belong to no org. - ListEnabledReportSchedules: already fixed in #824. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…anization Co-Authored-By: Claude Opus 5.5 <[email protected]>
…into wt/security/scan-specs-2026-11-10
…usr/local/bin is 777)
…e service install
Merged
fclairamb
added a commit
that referenced
this pull request
Nov 10, 2026
🤖 I have created a release *beep* *boop* --- ## [0.47.0](v0.46.0...v0.47.0) (2026-11-10) ### Features * **sealing:** browser-sealed check secrets for private agents ([#834](#834)) ([00c376c](00c376c)) * **sealing:** peer re-wrap, solidping seal and sealed config-as-code ([#835](#835)) ([91c656a](91c656a)) ### Bug Fixes * **ci:** leave the tag on HEAD out of the upgrade matrix ([#830](#830)) ([d333957](d333957)) * **deps:** update github.com/dop251/goja digest to a443384 ([#836](#836)) ([bbfb783](bbfb783)) * **deps:** update module github.com/posthog/posthog-go to v1.42.2 ([#837](#837)) ([cf8fffc](cf8fffc)) * **security:** trusted service binary and data folder paths, skip deleted orgs' SLO burn policies ([#833](#833)) ([5315038](5315038)) * **status:** mobile header truncation and dotted response-time chart ([#831](#831)) ([0c974de](0c974de)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: Claude Sonnet 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Specs from the daily security scan, now implemented on this branch.
What changed
specs/done/2026/11/2026-11-10-01-…):service installandservice runrefuse a service binary, data folder or parent that a non-admin can write or own (Linux, macOS, Windows). The resolved binary path is registered. Docs and CI service jobs updated.specs/done/2026/11/2026-11-10-02-…): deleting an org disables its SLO alert policies, and the evaluation queue and the snooze-wake sweep skip deleted orgs.Breaking / operator actions
C:\, and group/world-writable existing data folders are now refused.logs/launchd.log, Windows Application event log).service run --installer-sidargument; older registrations trust only SYSTEM/Administrators/TrustedInstaller.C:\grant them); Windows tests and CI jobs have not run yet.Decided by autopilot
🤖 Generated with Claude Code