-
-
Notifications
You must be signed in to change notification settings - Fork 109
Command Injection警告の解消(Slack通知処理の安全化) #1736
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- app/services/slack_notifier.rb を新規追加 - curlコマンドをNet::HTTPに置換し、外部入力を安全に処理 - タイムアウト設定とエラーハンドリングを追加 - 2箇所のCommand Injection警告を解消
@claude この PR で行われた「Slack通知処理の安全化」についてレビューしてください。 |
Claude finished @rakuda-san-desu's task —— View job タスクリスト
コードレビュー🚨 重大な問題 (セキュリティ、破壊的変更)該当なし - Command Injection脆弱性は適切に修正されています。
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
対応ありがとうございます!
conflict 対応だけお願いできれば、それ以外は良さそうです🙆♀️
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
対応ありがとうございます🙆♀️
ご確認ありがとうございます! |
cf. #1727
cf. #1729
config/brakeman.ignore
に登録されていたCommand Injection
の警告を解消しました!やったこと
lib/statistics/aggregation.rb:163
の警告を修正lib/upcoming_events/aggregation.rb:89
の警告を修正.ignore
から削除