Conversation
Replaced manual SSH setup with ssh-agent action for improved security.
There was a problem hiding this comment.
2 issues found across 12 files
Prompt for AI agents (all issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name=".github/workflows/deploy.yml">
<violation number="1" location=".github/workflows/deploy.yml:26">
P1: Avoid `StrictHostKeyChecking=no` in deployment SSH commands; it disables host verification and exposes deployments to MITM attacks. Configure known_hosts (e.g., via `ssh-keyscan`) or use `StrictHostKeyChecking=accept-new` with a pinned host key instead.</violation>
</file>
<file name="client/src/pages/styles/Guests.css">
<violation number="1" location="client/src/pages/styles/Guests.css:120">
P2: The selector was renamed to a misspelled `.btn-primairy`, but that class isn’t used anywhere. These styles will never apply unless the markup is updated. If this was meant to style primary buttons, keep `.btn-primary` (and update all occurrences consistently).</violation>
</file>
Since this is your first cubic review, here's how it works:
- cubic automatically reviews your code and comments on bugs and improvements
- Teach cubic by replying to its comments. cubic learns from your replies and gets better over time
- Add one-off context when rerunning by tagging
@cubic-dev-aiwith guidance or docs links (includingllms.txt) - Ask questions if you need clarification on any suggestion
Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.
There was a problem hiding this comment.
1 issue found across 3 files (changes from recent commits).
Prompt for AI agents (all issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name=".github/workflows/deploy.yml">
<violation number="1" location=".github/workflows/deploy.yml:25">
P1: Avoid trusting ssh-keyscan output directly; it can be spoofed by a MITM and defeats host key verification. Store the VPS host key (or fingerprint) in a secret and write it to known_hosts instead.</violation>
</file>
Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary by cubic
Dual branch deployments for production and staging with a hardened SSH deploy flow. Polished CTAs and responsive UI, plus safer date selection in CreateTrip.
New Features
Refactors
Written for commit 17cd16b. Summary will update on new commits.