Skip to content

chore(example): remove the unused example Gemfile to clear an activesupport advisory - #165

Merged
vep-ketch merged 2 commits into
mainfrom
vep_agent/chore/depfix-ketch-react-native-drop-example-gemfile
Dec 1, 2026
Merged

vep-ketch merged 2 commits into
mainfrom
vep_agent/chore/depfix-ketch-react-native-drop-example-gemfile

Conversation

@vep-ketch

@vep-ketch vep-ketch commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Description of this change

Deletes example/Gemfile, example/Gemfile.lock and example/.bundle/config.

Dependabot alert 540 flags activesupport 7.2.3.2 in example/Gemfile.lock for GHSA-8474-xrp6-wh69 (high: a denial of service in safe_constantize). The only fixed versions are 8.0.5.2 and 8.1.4.1. No CocoaPods release accepts activesupport 8: cocoapods-core 1.17.0 requires < 8, and CocoaPods/Core#790, which would allow it, is not merged. An upgrade can't fix it; removing the unused Gemfile does.

Why removing it is safe

  • The files came with React Native's app template. No script, CI job or README in this repo runs bundle install or bundle exec.
  • The sample-app script, .cursor/skills/ketch-react-native-run-sample/scripts/run-sample-app.sh, runs plain pod install. That uses the CocoaPods installed on the developer's Mac (for example brew install cocoapods), not the Gemfile.
  • The Gemfile held CocoaPods below 1.15 because 1.15.0 and 1.15.1 broke builds. CocoaPods 1.15.2 (2024-02-06) reverted the changes that caused that.

What changes for developers

Anyone who ran bundle exec pod install in example/ runs pod install instead, with their own CocoaPods.

Why is this change being made?

  • Chore (non-functional changes)
  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

How was this tested? How can the reviewer verify your testing?

Searched the repo for bundle and Gemfile: the only uses are two commented-out rubocop lines in lefthook.yml and package/lefthook.yml. CI does not install Ruby gems.

Related issues

Checklist

  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • I have evaluated the security impact of this change, and OWASP Secure Coding Practices have been observed.
  • I have informed stakeholders of my changes.

Note

Low Risk
Deletes unused Ruby/CocoaPods pin files with no CI or scripted bundle install usage in the repo.

Overview
Removes the unused Ruby dependency bundle under example/ (Gemfile, Gemfile.lock, and .bundle/config) that shipped with the React Native sample app template.

This clears a high-severity Dependabot alert on activesupport 7.2.3.2 in the lockfile, which cannot be upgraded here without breaking the pinned CocoaPods constraint (activesupport < 8).

iOS sample builds should use the system/homebrew pod install in example/ (as the existing sample script already does) instead of bundle exec pod install.

Reviewed by Cursor Bugbot for commit ee2d548. Configure here.

The example app's Gemfile pinned activesupport below 8, which keeps
GHSA-8474-xrp6-wh69 (high) open: no CocoaPods release accepts the fixed
activesupport 8. Nothing in the repo runs bundle; the run script calls
plain pod install.

- example/Gemfile, Gemfile.lock and .bundle/config are deleted.
- Developers run pod install with their own CocoaPods.
@vep-ketch
vep-ketch marked this pull request as ready for review November 30, 2026 22:24
@vep-ketch
vep-ketch requested review from a team as code owners November 30, 2026 22:24
@vep-ketch
vep-ketch enabled auto-merge (squash) November 30, 2026 22:24
@vep-ketch
vep-ketch merged commit 95c25f4 into main Dec 1, 2026
11 checks passed
@vep-ketch
vep-ketch deleted the vep_agent/chore/depfix-ketch-react-native-drop-example-gemfile branch December 1, 2026 03:29
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