fix: avoid prototype-chain bypass in hasExplicitProviderAccountConfig#34959
fix: avoid prototype-chain bypass in hasExplicitProviderAccountConfig#34959aerelune wants to merge 2 commits intoopenclaw:mainfrom
Conversation
Greptile SummarySummaryThis PR correctly fixes a prototype-chain bypass vulnerability in The FixThe function previously used the The fix correctly replaces TestingThe regression test is well-designed: it verifies both that the security finding is still correctly emitted (the fix doesn't suppress legitimate warnings) and that the misleading Assessment
Confidence Score: 5/5
Last reviewed commit: 827292c |
|
Hello @aerelune, thank you very much for your contribution. I really appreciate your work. Since we already have another pull request that was opened earlier (#34929) addressing this issue, I recommend commenting on the other pull request if you would like to suggest any changes. Thank you very much nevertheless. cc @shakkernerd, could you please close this so that we don’t run into confusion with multiple PRs? Thanks! |
Summary
inoperator account checks withObject.prototype.hasOwnProperty.callin channel security auditconstructor/__proto__from being treated as explicitly configured accountsTesting
Fixes #34926