Skip to content

Clarify ScriptEngine prerequisites and injection risk in parameteried scripts - #3792

Merged
spmallette merged 1 commit into
apache:masterfrom
spmallette:tp-docs-parameterized-scripts-205
Nov 10, 2026
Merged

spmallette merged 1 commit into
apache:masterfrom
spmallette:tp-docs-parameterized-scripts-205

Conversation

@spmallette

Copy link
Copy Markdown
Contributor

Note that gremlin-groovy is not enabled by default and point to the scriptEngines configuration that enables it. Qualify the gremlin-lang caveat to explain that ANTLR parsing prevents arbitrary Groovy execution but not Gremlin injection assembled from concatenated multi-statement input, so parameterization is still recommended. Label the script cache as server-internal behavior that is not directly observable from the client.

…d scripts

Note that gremlin-groovy is not enabled by default and point to the
scriptEngines configuration that enables it. Qualify the gremlin-lang
caveat to explain that ANTLR parsing prevents arbitrary Groovy execution
but not Gremlin injection assembled from concatenated multi-statement
input, so parameterization is still recommended. Label the script cache
as server-internal behavior that is not directly observable from the client.

Assisted-by: Kiro:claude-opus-4.8
@spmallette
spmallette merged commit 5ece76a into apache:master Nov 10, 2026
6 checks passed
@spmallette
spmallette deleted the tp-docs-parameterized-scripts-205 branch November 10, 2026 19:06
@codecov-commenter

codecov-commenter commented Nov 10, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.55%. Comparing base (a28cd1f) to head (78dbc39).
⚠️ Report is 986 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #3792      +/-   ##
============================================
+ Coverage     76.35%   77.55%   +1.19%     
- Complexity    13424    15027    +1603     
============================================
  Files          1012     1050      +38     
  Lines         60341    67007    +6666     
  Branches       7075     8004     +929     
============================================
+ Hits          46076    51964    +5888     
- Misses        11548    11839     +291     
- Partials       2717     3204     +487     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants