Skip to content

[dependabot-agent] Fix npm audit findings in .github/workflows lockfile (fast-uri, hono, qs) #60051

Description

Caution

Protected files were modified in this change.
This pull request is in request-review mode and requires explicit human scrutiny before merge.

Protected files: package-lock.json, .github/workflows/package-lock.json

Dependency Release Train Summary

What changed

  • Package/ecosystem: npm (.github/workflows)
  • Manifest(s): .github/workflows/package-lock.json (lockfile only; package.json unchanged)
  • Old versions: fast-uri 3.1.5, hono 4.12.33, qs 6.15.3
  • New versions: fast-uri 3.1.7, hono 4.13.7, qs 6.16.0
  • Update type: patch/minor (transitive, audit-driven)

Why now

npm audit --package-lock-only reported 3 findings (1 high: fast-uri ReDoS; 2 moderate:
hono, qs array-limit bypass / DoS via isBuffer) in this workspace's lockfile.

Risk assessment

  • Runtime/dev/build/CI scope: dev/build tooling — these are transitive dependencies of
    @sentry/mcp-server, used by MCP server tooling referenced from
    .github/workflows/shared/mcp/sentry.md, shared/sentry.md, shared/otlp.md, and
    several workflow .md files (daily-reliability-review, daily-token-consumption-report,
    mcp-inspector, portfolio-analyst, smoke-otel-backends, weekly-network-domains-audit).
  • Direct/transitive: transitive (not declared directly in package.json).
  • Reachability: reachable via @sentry/mcp-server -> hono/qs/fast-uri dependency chain,
    which is invoked by the MCP tooling in the workflows above. Not auth/crypto/payment/
    database/serialization/telemetry-transport-critical; low blast radius.

Validation

  • Commands run: npm audit --package-lock-only --json before (3 findings: 1 high, 2
    moderate) and after (0 vulnerabilities); regenerated lockfile via
    npm install --package-lock-only + npm audit fix --package-lock-only against the
    public npm registry, isolating the two placeholder/private dependencies
    (@your-org/otel-query-mcp@latest, agentdb@alpha) which are not resolvable from the
    public registry and were excluded only from the temporary resolution pass — the
    committed package.json is unchanged and still declares them.
  • Result: npm audit --package-lock-only now reports 0 vulnerabilities; lockfile parses
    as valid JSON; diff is exactly the 3 package version/integrity bumps (18 lines changed).
  • Remaining gaps: no automated test suite exists for this workflows-tooling package; did
    not attempt to install/run the private/placeholder packages (@your-org/otel-query-mcp,
    agentdb) since they are not publicly resolvable — this is expected and unrelated to
    the audit fix.

Control Plane


Note

This was originally intended as a pull request, but the git push operation failed.

Original error: The process '/usr/bin/git' failed with exit code 128

Workflow Run: View run details and download bundle artifact

The bundle file is available in the agent artifact in the workflow run linked above.

Create the pull request manually
# Download the artifact from the workflow run
gh run download '34526040373' -n agent -D '/tmp/agent-34526040373'

# Resolve the bundle source ref, fetch it into a temporary ref, then create the local branch
bundle_path='/tmp/agent-34526040373/aw-github-gh-aw-dependabot-agent-workflows-npm-audit-fix-20260910203938.bundle'
temp_ref='refs/bundles/create-pr-dependabot-agent-workflows-npm-audit-fix-20260910203938-c1e4d8f5'
target_ref='refs/heads/dependabot-agent/workflows-npm-audit-fix-20260910203938'
bundle_source_ref=$(git bundle list-heads "$bundle_path" | awk '$2 ~ /^refs\/heads\// { print $2 }')
if [ -z "$bundle_source_ref" ]; then
  bundle_source_ref=$(git bundle list-heads "$bundle_path" | awk '$2 == "HEAD" { print $2 }')
fi
if [ "$(printf '%s\n' "$bundle_source_ref" | sed '/^$/d' | wc -l | tr -d ' ')" != "1" ]; then
  echo "Expected exactly one bundle source ref, found: $bundle_source_ref" >&2
  exit 1
fi
git fetch "$bundle_path" "${bundle_source_ref}:${temp_ref}"
git update-ref "$target_ref" "$temp_ref"
git checkout 'dependabot-agent/workflows-npm-audit-fix-20260910203938'
# Ensure the working tree matches the updated branch
git reset --hard
# Remove the temporary bundle ref
git update-ref -d "$temp_ref"

# Push the branch to the target remote
git push 'origin' 'dependabot-agent/workflows-npm-audit-fix-20260910203938'

# Create the pull request
gh pr create --title '[dependabot-agent] Fix npm audit findings in .github/workflows lockfile (fast-uri, hono, qs)' --base 'main' --head 'dependabot-agent/workflows-npm-audit-fix-20260910203938' --repo 'github/gh-aw'

Generated by :dependabot: Dependabot / Release Trains · copilot · auto · 161.7 AIC · ⌖ 12.6 AIC · ⊞ 18.4K ·

Add this agentic workflow to your repo

To install this agentic workflow, run

gh aw add githubnext/gh-aw-cao/.github/workflows/dependabot-release-train-updater.md@main

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions