Title: JS: model property projection calls · Pull Request #113 · github/codeql · GitHub
Open Graph Title: JS: model property projection calls · Pull Request #113 · github/codeql
X Title: JS: model property projection calls · Pull Request #113 · github/codeql
Description: This PR adds a taint step for property reads done through calls that projects selected properties of an object. The property projections that have been modeled have slightly different features. So I have adopted @asger-semmle's extensible architecture proposal immediately. We may want to discuss how we generally document the intended usage of the architecture, I have simply added an explanation to the module docstring for now. This PR only makes use of the object-argument in the models. For the record, the libraries support various features for the selector-argument: access path strings like 'a.b[42].c' access path arrays like ['a', 'b', 42, 'c'] search strings like 'a.\*.c' property predicate functions We can consider implementing support for these once our general heap treatment is better. An evaluation with the security suite on big-apps.slugs flags nothing new, and it does not have a significant performance impact (internal link).
Open Graph Description: This PR adds a taint step for property reads done through calls that projects selected properties of an object. The property projections that have been modeled have slightly different features. So ...
X Description: This PR adds a taint step for property reads done through calls that projects selected properties of an object. The property projections that have been modeled have slightly different features. So ...
Opengraph URL: https://github.com/github/codeql/pull/113
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:e1543ef6-e3fa-9e6b-7351-acc397e10352 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E4DE:1661F0:131B23:19F28B:6A5252BB |
| html-safe-nonce | 64d10b5c4c39c0b50e65bb66bc2317bffc166bdab7b2dda76aac95a1742b3113 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNERFOjE2NjFGMDoxMzFCMjM6MTlGMjhCOjZBNTI1MkJCIiwidmlzaXRvcl9pZCI6IjY3NDI5NTMxMjU4MzE5MjIzNjMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 91a2ff8be7571dc2f1482e7d32179ad50d982034e3764f1f3061dc29bfc7e5b9 |
| hovercard-subject-tag | pull_request:211704112 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/github/codeql/pull/113/files |
| twitter:image | https://avatars.githubusercontent.com/u/10137?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/10137?s=400&v=4 |
| og:image:alt | This PR adds a taint step for property reads done through calls that projects selected properties of an object. The property projections that have been modeled have slightly different features. So ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/github/codeql git https://github.com/github/codeql.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 143040428 |
| octolytics-dimension-repository_nwo | github/codeql |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 143040428 |
| octolytics-dimension-repository_network_root_nwo | github/codeql |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width