Skip to content

Bump dependencies#3479

Open
jmthomas wants to merge 10 commits into
mainfrom
dependencies
Open

Bump dependencies#3479
jmthomas wants to merge 10 commits into
mainfrom
dependencies

Conversation

@jmthomas

Copy link
Copy Markdown
Member

No description provided.

@jmthomas jmthomas requested review from mcosgriff and ryanmelt June 17, 2026 15:46
@jmthomas jmthomas marked this pull request as ready for review June 17, 2026 15:46
@codecov

codecov Bot commented Jun 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.32%. Comparing base (9074948) to head (d303e96).
⚠️ Report is 20 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3479   +/-   ##
=======================================
  Coverage   79.32%   79.32%           
=======================================
  Files         690      690           
  Lines       57346    57354    +8     
  Branches      728      728           
=======================================
+ Hits        45487    45494    +7     
- Misses      11781    11782    +1     
  Partials       78       78           
Flag Coverage Δ
python 80.37% <ø> (-0.03%) ⬇️
ruby-api 81.42% <ø> (+0.13%) ⬆️
ruby-backend 83.14% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.

arches.zip(new_paths).each do |arch, path|
url = "https://github.com/versity/versitygw/releases/download/#{version}/versitygw_#{version}_Linux_#{arch}.tar.gz"
puts " Downloading #{url}"
unless system("curl -fSL #{url} -o #{path}")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Possible command injection via exec()-type functions - critical severity
Ruby has many ways to do system calls, including syscall, system, exec, but also %x() and the use of backticks. Backticks (``) in Ruby are very dangerous and counter-intuitive. These are not single quotes ('). Ruby automatically attempts to execute the contents of the backticks as a shell command and the output will be returned.

Show fix

Remediation: If possible, avoid using these functions altogether. If not, use a list of allowed inputs that can feed into these functions.

Reply @AikidoSec ignore: [REASON] to ignore this issue.
More info

# True if both Linux release tarballs for `version` already exist in openc3-buckets.
def versitygw_binaries_present?(version)
%w[arm64 x86_64].all? do |arch|
File.exist?(File.join(ROOT_DIR, 'openc3-buckets', "versitygw_#{version}_Linux_#{arch}.tar.gz"))

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Path traversal attack possible - high severity
A malicious actor could control the location of this file, which may allow them to retrieve, write or delete files outside of the intended folder.

Show fix

Remediation: To address this, ensure that user-controlled variables in file paths are sanitized at least to not contain '..' or forward slashes.

Reply @AikidoSec ignore: [REASON] to ignore this issue.
More info

def download_versitygw_binaries(version)
buckets_dir = File.join(ROOT_DIR, 'openc3-buckets')
arches = %w[arm64 x86_64]
new_paths = arches.map { |arch| File.join(buckets_dir, "versitygw_#{version}_Linux_#{arch}.tar.gz") }

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Path traversal attack possible - medium severity
A malicious actor could control the location of this file, which may allow them to retrieve, write or delete files outside of the intended folder.

Show fix

Remediation: To address this, ensure that user-controlled variables in file paths are sanitized at least to not contain '..' or forward slashes.

Reply @AikidoSec ignore: [REASON] to ignore this issue.
More info

@jmthomas jmthomas requested review from ryan-pratt and removed request for mcosgriff June 29, 2026 16:24

@ryanmelt ryanmelt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

New anycable released 30 minutes ago

@ryan-pratt

ryan-pratt commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

New anycable released 30 minutes ago

Don't we wait 1d anyway

e2a: I guess really only npm, but we should consider that policy for all dep chains

@jmthomas

Copy link
Copy Markdown
Member Author

New anycable released 30 minutes ago

Don't we wait 1d anyway

e2a: I guess really only npm, but we should consider that policy for all dep chains

I specifically made the change that we're incorporating so yes I want this update. Should make our scans green.

Comment thread openc3-cosmos-init/plugins/packages/openc3-tool-base/public/js/vue.global-3.5.39.js Dismissed
@socket-security

socket-security Bot commented Jun 29, 2026

Copy link
Copy Markdown

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn High
Obfuscated code: pypi numpy is 90.0% likely obfuscated

Confidence: 0.90

Location: Package overview

From: openc3-cosmos-init/plugins/packages/openc3-cosmos-demo/requirements.txtpypi/numpy@2.5.0

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore pypi/numpy@2.5.0. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

@jmthomas jmthomas requested a review from ryanmelt June 29, 2026 21:29
@ryanmelt

Copy link
Copy Markdown
Member

Looks like traefik and pnpm still need a bump.

ryanmelt
ryanmelt previously approved these changes Jun 29, 2026
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
8.0% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

@jmthomas jmthomas requested a review from ryanmelt June 30, 2026 14:39
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.

3 participants