Skip to content

fix: silence gosec G204 on intentional exec calls - #1141

Draft
skevetter wants to merge 1 commit into
mainfrom
devsy/auto/d18ab027
Draft

fix: silence gosec G204 on intentional exec calls#1141
skevetter wants to merge 1 commit into
mainfrom
devsy/auto/d18ab027

Conversation

@skevetter

Copy link
Copy Markdown
Contributor

Task d18ab027-f8da-42f0-bf44-c2b41582dee3. Annotate intentionally dynamic subprocess invocations with #nosec G204 justifications: su-based command execution (pkg/command), vcluster login (pkg/devsyconfig), vscode CLI wrappers and apk install (pkg/ide/vscode), ssh session shell execution (pkg/ssh/server). Clears all gosec G204 findings in those packages; no behavior change. Verification: golangci-lint run on pkg/command, pkg/devsyconfig, pkg/ide/vscode, pkg/ssh/server shows zero G204 (remaining findings pre-existing, out of scope); go test on the four packages passes; task cli:format applied.

Annotate subprocess invocations that are intentionally dynamic with #nosec G204 justifications: su-based command execution, vcluster/vscode CLI wrappers, apk installs, and ssh session shells. Clears all gosec G204 findings.
@netlify

netlify Bot commented Aug 26, 2026

Copy link
Copy Markdown

Deploy Preview for devsydev ready!

Name Link
🔨 Latest commit 1b6f406
🔍 Latest deploy log https://app.netlify.com/projects/devsydev/deploys/6a8eb8b8747c280008845917
😎 Deploy Preview https://deploy-preview-1141--devsydev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai

coderabbitai Bot commented Aug 26, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@netlify

netlify Bot commented Aug 26, 2026

Copy link
Copy Markdown

Deploy Preview for images-devsy-sh canceled.

Name Link
🔨 Latest commit 1b6f406
🔍 Latest deploy log https://app.netlify.com/projects/images-devsy-sh/deploys/6a8eb8b99c92890008149930

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant