Skip to content

fix(rest-server): harden outbound Axios dependency closure - #5835

Open
fan yang (fanyangCS) wants to merge 2 commits into
masterfrom
security/argus-002-rest-outbound-20260917
Open

fan yang (fanyangCS) wants to merge 2 commits into
masterfrom
security/argus-002-rest-outbound-20260917

Conversation

@fanyangCS

Copy link
Copy Markdown
Collaborator

Scope

Narrow REST-server outbound dependency correction: Axios 0.33.0, follow-redirects 1.16.0, form-data 4.0.6, and loopback regression coverage. Unrelated vulnerable copies remain for separate work.

Validation and independent review

Exact head fb60a0de9982e4be5e859cd16b57c972f77e4327 independently accepted by Argus reviewer. Strict lifecycle and source-identical frozen installs; frozen native suite, SDK/ownership, registry integrity, syntax/lint and outbound credential/redirect/proxy/stream/multipart/decoded-limit tests passed. An earlier worktree native invocation timed out in a YAML test; retained as failed, not relabelled. Source and final artifact hashes reverified before publication.

Base drift to 97534b224fdb155fadde7f364fccb2d01b22c2c5 changes only database-controller implementation and alert-handler lock; none of the 123 reviewed REST/SDK source paths changed. No rebase or new source changes.

Limits

Node10 remains unsupported. No Docker image, browser/XHR, live TLS, cluster, identity-provider or database certification. Absolute-URL credential behavior and 307 body replay are preserved. Predicted fixes are not confirmed GitHub alert closures.

CI intentionally not queried or verified, per campaign authority. Normal branch protections and eligible independent GitHub review still apply; local Argus acceptance is not GitHub approval.

Ubuntu and others added 2 commits September 17, 2026 06:37
Pin Axios 0.33.0 and its redirect and multipart dependencies without changing other consumers. Exercise outbound adapters and bounded HTTP behavior on Node 10.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

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.

🟡 Changes recommended

Fix the multipart test’s require.resolve path handling before approval.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

Hardens the REST server’s Axios dependency closure and adds outbound security regression coverage.

Changes:

  • Updates Axios and related dependencies.
  • Adds redirect, proxy, streaming, multipart, and adapter tests.
  • Integrates outbound tests into the REST-server suite.
File summaries
File Summary
tests/rest-outbound-security.js Adds outbound security tests; multipart resolution currently uses an invalid require.resolve path.
src/rest-server/yarn.lock Locks the updated dependency closure.
src/rest-server/package.json Updates dependencies and test integration.
Review details
  • Files reviewed: 2/3 changed files
  • Comments generated: 1
  • Review effort level: Lite

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

Comment thread tests/rest-outbound-security.js
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