Skip to content

In-depth lesson · Access control

Typical fixes

Every point the Access control reports back under this heading, best-backed first, each with the reports it is seen in.

Back to the lesson 151 to 200 of 396
  1. Sanitise the liquidator parameter when the vault is the caller.

    Seen in 1 report
  2. Restrict the target and data of external calls made by helper contracts.

    Seen in 1 report
  3. Check that the current user can access the personal snippet before creating a note.

    Seen in 1 report
  4. Require the email address to be confirmed before it can be set as public or commit email.

    Seen in 1 report
  5. Enforce the group's IP restriction in the repository import feature.

    Seen in 1 report
  6. Normalise and validate tag names against protected tag patterns.

    Seen in 1 report
  7. Apply the same role-assignment restrictions to member import as to direct member changes.

    Seen in 1 report
  8. Verify that the requester owns the tenant or installation before creating an integration.

    Seen in 1 report
  9. Authenticate incoming requests before exposing cloud-service functionality.

    Seen in 1 report
  10. Check whether a linked issue was created from a vulnerability before allowing its removal.

    Seen in 1 report
  11. Check where and as whom files are written before overwriting.

    Seen in 1 report
  12. Do not forward the system-call flag when calling the value simulator from a user transaction.

    Seen in 1 report
  13. Verify the authenticity of HTTP data received by the password reset portal.

    Seen in 1 report
  14. Process method overrides before the JWT filter, or reject override headers on authenticated routes.

    Seen in 1 report
  15. Check that the recruiter is associated with the company before returning interest lists.

    Seen in 1 report
  16. Encode the fallback cache key before inserting it into the cache URL.

    Seen in 1 report
  17. Restrict the scheme of links opened from news feeds.

    Seen in 1 report
  18. Normalise trailing dots in hostnames before comparison.

    Seen in 1 report
  19. Validate client-supplied metadata updates on the server.

    Seen in 1 report
  20. Block loading native OpenSSL engines when native addons are disallowed.

    Seen in 1 report
  21. Check the token owner against the blacklist in the approve function.

    Seen in 1 report
  22. Match the team ID in the signup request to the workspace tied to the invitation token.

    Seen in 1 report
  23. Verify that the recipient is authorised to change share permissions.

    Seen in 1 report
  24. Restrict mint and burn to the rebalancer contract.

    Seen in 1 report
  25. Add access control to the admin registration route.

    Seen in 1 report
  26. Resolve or reject replace references in merge logic.

    Seen in 1 report
  27. Apply cookie blocking when localStorage is accessed through an iframe contentWindow.

    Seen in 1 report
  28. Verify that the passenger accepted the tender and enforce the allowed bid price range.

    Seen in 1 report
  29. Restrict permissions on the update directory and do not follow junctions during recursive deletion.

    Seen in 1 report
  30. Account for aliased senders when the sequencer is down in the operator check.

    Seen in 1 report
  31. Validate that the pool argument is a genuine pool before using its values.

    Seen in 1 report
  32. Remove the root restart right and make the action folder non-writable by the user's group.

    Seen in 1 report
  33. Enforce access control on confidential issues and merge requests in analytics.

    Seen in 1 report
  34. Anchor origin validation patterns to the start and end of the string.

    Seen in 1 report
  35. Scope TLS session tickets to the virtual host that issued them.

    Seen in 1 report
  36. Protect signing secrets against deletion and replacement, not just reading.

    Seen in 1 report
  37. Require authentication on local control APIs and restrict which paths configuration may load or write.

    Seen in 1 report
  38. Enforce permissions at the same granularity the interface presents.

    Seen in 1 report
  39. Validate the full input string before truncation and reject values that only match a trusted domain after truncation.

    Seen in 1 report
  40. Invalidate reset tokens when the generating admin is removed and keep links out of other admins' view.

    Seen in 1 report
  41. Apply 2FA enforcement uniformly to every way of joining a group.

    Seen in 1 report
  42. Apply access control to all HTTP methods, not just GET.

    Seen in 1 report
  43. Block requests without valid credentials instead of only issuing a challenge.

    Seen in 1 report
  44. Override approve to run the same sanity checks as transfer.

    Seen in 1 report
  45. Restrict collateral-adding functions to the loan maker and verify token transfers.

    Seen in 1 report
  46. Register accept-ownership in the diamond's selector list so ownership transfer completes.

    Seen in 1 report
  47. Deny transfers by default when the restriction registry is unset.

    Seen in 1 report
  48. Apply the newly read restricted-address list on reload instead of the old config.

    Seen in 1 report
  49. Include the sender argument in the message signed by observers so it cannot be substituted.

    Seen in 1 report
  50. Use the actual initiator address from event data rather than the emitting contract address.

    Seen in 1 report