Conversation
The user-writable targets_modified/ overlay was executed as code via three routes reachable by non-admin users: table definitions (ERB + GENERIC eval), cmd/tlm definitions (overlaid by setup_targets), and Script Runner suite analysis. Read table/cmd-tlm definitions from the read-only targets/ tree only, require admin to write the cmd_tlm overlay (rejecting non-canonical keys), and gate suite analysis at the script_run tier. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3488 +/- ##
==========================================
- Coverage 79.25% 79.22% -0.04%
==========================================
Files 689 689
Lines 57293 57323 +30
Branches 728 728
==========================================
+ Hits 45406 45412 +6
- Misses 11809 11833 +24
Partials 78 78
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
clayandgen
reviewed
Jun 18, 2026
PR #3488 gated only the presigned-upload writer. Table.save/save_as/ generate/destroy reach the same targets_modified/<TARGET>/cmd_tlm/... overlay via TargetFile.create, gated only by authorization('system'), which under Enterprise RBAC every role down to Viewer holds. That overlay is ERB-rendered (and eval'd via GENERIC_*_CONVERSION) as code at load, so a non-admin could inject code. Add a shared authorize_overlay_write choke point requiring admin for cmd_tlm paths, failing closed on non-canonical names, mirroring storage_controller#non_admin_config_overlay_write?. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
|
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.



The user-writable targets_modified/ overlay was executed as code via three routes reachable by non-admin users: table definitions (ERB + GENERIC eval), cmd/tlm definitions (overlaid by setup_targets), and Script Runner suite analysis. Read table/cmd-tlm definitions from the read-only targets/ tree only, require admin to write the cmd_tlm overlay (rejecting non-canonical keys), and gate suite analysis at the script_run tier.
🤖 Generated with Claude Code