Skip to content

Run MCP smoke tests with AI CLI tools#26

Open
mneudert wants to merge 10 commits into5.x-devfrom
id-19
Open

Run MCP smoke tests with AI CLI tools#26
mneudert wants to merge 10 commits into5.x-devfrom
id-19

Conversation

@mneudert
Copy link
Copy Markdown
Member

@mneudert mneudert commented Mar 6, 2026

Description

Please include a description of this change and which issue it fixes. If no issue exists yet please include context and what problem it solves.

Checklist

  • [✔] I have understood, reviewed, and tested all AI outputs before use
  • [✔] All AI instructions respect security, IP, and privacy rules

Review

@mneudert mneudert force-pushed the id-19 branch 13 times, most recently from 3179ab3 to cb814b2 Compare March 12, 2026 13:26
@mneudert mneudert force-pushed the id-19 branch 2 times, most recently from 19faee6 to a409cf7 Compare March 17, 2026 14:57
@mneudert mneudert changed the title Run MCP smoke tests with Gemini CLI Run MCP smoke tests with AI CLI tools Apr 2, 2026
@mneudert mneudert force-pushed the id-19 branch 3 times, most recently from 50991d2 to 7db233c Compare April 8, 2026 07:18
Comment on lines +23 to +32
run: |
set -euo pipefail
RESULTS_FILE="${{ inputs.artifact_dir }}/results.json"
{
echo "## ${{ inputs.provider_label }} Smoke"
echo
echo "- job result: ${{ inputs.job_status }}"
} >> "$GITHUB_STEP_SUMMARY"

if [ ! -f "$RESULTS_FILE" ]; then
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Template Injection in GitHub Workflows Action - critical severity
A GitHub Actions workflow step contains a template expression referencing potentially untrusted GitHub context fields. This may allow malicious input to be injected into shell commands, leading to a potential supply chain attack as tokens of the CI/CD pipeline could be exfiltrated.

Show fix
Suggested change
run: |
set -euo pipefail
RESULTS_FILE="${{ inputs.artifact_dir }}/results.json"
{
echo "## ${{ inputs.provider_label }} Smoke"
echo
echo "- job result: ${{ inputs.job_status }}"
} >> "$GITHUB_STEP_SUMMARY"
if [ ! -f "$RESULTS_FILE" ]; then
env:
ARTIFACT_DIR: ${{ inputs.artifact_dir }}
PROVIDER_LABEL: ${{ inputs.provider_label }}
JOB_STATUS: ${{ inputs.job_status }}
run: |
set -euo pipefail
RESULTS_FILE="$ARTIFACT_DIR/results.json"
{
echo "## $PROVIDER_LABEL Smoke"
echo
echo "- job result: $JOB_STATUS"
} >> "$GITHUB_STEP_SUMMARY"
if [ ! -f "$RESULTS_FILE" ]; then

More info

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.

1 participant