Title: Finders should return nil instead of raising security violations · Issue #117 · hyperstack-org/hyperstack · GitHub
Open Graph Title: Finders should return nil instead of raising security violations · Issue #117 · hyperstack-org/hyperstack
X Title: Finders should return nil instead of raising security violations · Issue #117 · hyperstack-org/hyperstack
Description: For example consider: Customers.find_by_handle('catmando') if 'catmando' exists but the client does not have permission to view the data it will throw an error. if 'catmando' does not exist it will just return nil. so a hacker could use ...
Open Graph Description: For example consider: Customers.find_by_handle('catmando') if 'catmando' exists but the client does not have permission to view the data it will throw an error. if 'catmando' does not exist it will...
X Description: For example consider: Customers.find_by_handle('catmando') if 'catmando' exists but the client does not have permission to view the data it will throw an error. if 'catmando'...
Opengraph URL: https://github.com/hyperstack-org/hyperstack/issues/117
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Finders should return nil instead of raising security violations","articleBody":"For example consider:\r\n\r\n`Customers.find_by_handle('catmando')`\r\n\r\nif 'catmando' exists but the client does not have permission to view the data it will throw an error.\r\n\r\nif 'catmando' does not exist it will just return nil.\r\n\r\nso a hacker could use this to easily check if specific data exists or not.\r\n\r\nSolution is just to return nil always unless the client has permission to view at least one attribute in the record.","author":{"url":"https://github.com/catmando","@type":"Person","name":"catmando"},"datePublished":"2019-01-28T16:49:29.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/117/hyperstack/issues/117"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:bb92e008-6af0-9a4a-d10f-910ec1e8977d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8E4C:7FA75:F0AE96:13849F8:69920A5E |
| html-safe-nonce | 17e0957574454588f01b6fe0f637c630f8109d258280be90eec4641f2cc4fe9f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RTRDOjdGQTc1OkYwQUU5NjoxMzg0OUY4OjY5OTIwQTVFIiwidmlzaXRvcl9pZCI6IjQ5NTM4NjM3MTEwMjg4MDgyODYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c1513bc9ed584941392087de8be6dcb1882ff9de8d33e93a50090ce098299048 |
| hovercard-subject-tag | issue:403907671 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/hyperstack-org/hyperstack/117/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7859178208736e8bd5fb3d88960def39a9aa334033f72c220729425fdb902b5a/hyperstack-org/hyperstack/issues/117 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7859178208736e8bd5fb3d88960def39a9aa334033f72c220729425fdb902b5a/hyperstack-org/hyperstack/issues/117 |
| og:image:alt | For example consider: Customers.find_by_handle('catmando') if 'catmando' exists but the client does not have permission to view the data it will throw an error. if 'catmando' does not exist it will... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | catmando |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/hyperstack-org/hyperstack git https://github.com/hyperstack-org/hyperstack.git |
| octolytics-dimension-user_id | 34562730 |
| octolytics-dimension-user_login | hyperstack-org |
| octolytics-dimension-repository_id | 145879576 |
| octolytics-dimension-repository_nwo | hyperstack-org/hyperstack |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 145879576 |
| octolytics-dimension-repository_network_root_nwo | hyperstack-org/hyperstack |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width