Skip to content

[Datadog] Fix Static Code Analysis violation - #8

Merged
roseteromeo56 merged 1 commit into
mainfrom
dd-static-analysis-nS8xbIh
Oct 6, 2026
Merged

roseteromeo56 merged 1 commit into
mainfrom
dd-static-analysis-nS8xbIh

Conversation

@roseteromeo56

Copy link
Copy Markdown
Owner

This pull request was automatically created by Datadog to fix this vulnerability.

It introduces a remediation for the AST vulnerability detected by rule bash-security/double-quote-command-substitutions.

This change is intended to address the issue identified. Please review the suggested update before merging.

Co-authored-by: datadog-romeo-rosete[bot] <321584152+datadog-romeo-rosete[bot]@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings October 6, 2026 21:06
@roseteromeo56 roseteromeo56 added the Owner Pull request that update a Owner file label Oct 6, 2026
@roseteromeo56 roseteromeo56 added the Bit Ai Datadoghq label Oct 6, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

The quoted substitution combines separate flags and values into one argument, breaking compatibility verification.

Review effort: Balanced
Findings: 1 Medium severity

Open (1)
What changed in this PR

This PR addresses a Datadog static-analysis warning in the compatibility runner.

Changes:

  • Quotes the command substitution that reads arguments for op-program.
File Description
op-program/​scripts/​run-compat.sh Quotes the contents of args.txt when invoking the program.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread op-program/scripts/run-compat.sh
@roseteromeo56 roseteromeo56 added this to the roseteromeo56 milestone Oct 6, 2026
@roseteromeo56
roseteromeo56 merged commit 2a72ba1 into main Oct 6, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bit Ai Datadoghq Owner Pull request that update a Owner file

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants