Skip to content

chore(deps): upgrade Rails 7.2 -> 8.1.4 - #51

Merged
Bulletdev merged 2 commits into
masterfrom
upgrade/rails-8-1-4
Oct 17, 2026
Merged

Bulletdev merged 2 commits into
masterfrom
upgrade/rails-8-1-4

Conversation

@Bulletdev

Copy link
Copy Markdown
Owner

Summary

  • Rails 7.2.3.2 atingiu EOL em 2026-08-09; Brakeman EOLRails HIGH confidence estava quebrando o CI (Security Scan run 38291311139) desde 2026-10-12
  • annotate 3.2.0 substituído por annotaterb 4.25.0 — declara activerecord < 8.0, incompatível com Rails 8.x; annotaterb é o fork mantido com suporte a Rails 8
  • rswag 2.17.0, rspec-rails 8.0.4, factory_bot_rails 6.5.1 atualizados como efeito colateral
  • READMEs atualizados (badge + stack info)

Test plan

  • CI verde (Brakeman EOLRails HIGH resolvido)
  • bundle exec rails --version → Rails 8.1.4
  • Specs passando com Docker up (bundle exec rspec)
  • API sobe localmente: docker compose up -d && curl localhost:3333/health

…ipts

- scripts/28_prostaff_audit.sh: bridge that runs ProStaff-Audit against
  the local API and maps findings.json to FINDING: lines consumed by
  15_full_audit.sh; graceful skip when deps/API unavailable
- scripts/15_full_audit.sh: register 28 as non-destructive, slow (skip
  in --quick mode)
- front/check-waf-fingerprint.sh: detect Cloudflare/Vercel JS challenge
  blocking before running curl-based scripts against production
- front/check-security-headers-live.sh: same 22 security header checks
  via Chromium/Playwright headless, bypasses the WAF challenge
- tools/playwright/: capture.js + capture-cors.js + package.json for
  Playwright-based header capture
- BURP-SEED.md: full walkthrough for seeding Burp with live traffic
- README.md: add script rows, WAF/Playwright note, reports table entry
Rails 7.2 reached EOL on 2026-08-09; Brakeman EOLRails check was
failing CI with High confidence since 2026-10-12.

- Gemfile: rails ~> 8.1.4 (was ~> 7.2.3 >= 7.2.3.1)
- annotate replaced with annotaterb 4.25.0 — annotate 3.2.0 declares
  activerecord < 8.0 and is incompatible with Rails 8.x; annotaterb is
  the maintained fork with Rails 8 support
- Gemfile.lock: updated (rails 8.1.4, annotaterb 4.25.0, rswag 2.17.0,
  rspec-rails 8.0.4, factory_bot_rails 6.5.1)
- README.md + .pentest/README.md: version badges and stack references
  updated to Rails 8.1
@gitguardian

gitguardian Bot commented Oct 17, 2026

Copy link
Copy Markdown

⚠️ GitGuardian has uncovered 1 secret following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secret in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
21484269 Triggered Generic Password 5eeba71 .pentest/scripts/28_prostaff_audit.sh View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secret safely. Learn here the best practices.
  3. Revoke and rotate this secret.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

@Bulletdev
Bulletdev merged commit bbf624c into master Oct 17, 2026
0 of 3 checks passed
@Bulletdev Bulletdev self-assigned this Oct 17, 2026
@github-actions

Copy link
Copy Markdown
Contributor

📦 Dependency Security Check

✅ No known vulnerabilities found.

View Report
No vulnerabilities found

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity

Metric Results
Complexity 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@github-actions

Copy link
Copy Markdown
Contributor

🔒 Brakeman Security Scan

  • Total warnings: 0
  • High confidence: 0

✅ No high confidence issues found.

@github-actions

Copy link
Copy Markdown
Contributor

🔍 Semgrep Static Analysis

Severity Count
Errors 0
Critical (HIGH confidence) 10
Warnings 10

⚠️ High confidence issues found. Please review.

@github-actions

Copy link
Copy Markdown
Contributor

🔐 Security Scan Summary

Static Analysis (SAST)

Check Status
Brakeman ✅ success
Dependencies ✅ success
Semgrep ✅ success
Secrets ✅ success

Dynamic Analysis (DAST)

Check Status
SSRF Protection ✅ success
Authentication ✅ success
SQL Injection ✅ success

✅ All security checks passed!

@github-actions

Copy link
Copy Markdown
Contributor

CodeQL Analysis

Language Status
Ruby (security-extended) OK
GitHub Actions workflows OK

Ver alertas completos no Security tab.

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