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 1 to 50 of 396
  1. Resolve and validate link targets before privileged file operations, and refuse to act on links pointing outside the intended directory.

    Seen in 10 reports
  2. Check the caller's privileges and identity before invoking privileged service functions.

    Seen in 10 reports
  3. Verify the requester's rights before granting access to APEX workspace administration functionality.

    Seen in 8 reports
  4. Add caller checks to every state-changing function and enforce non-zero privileged addresses in constructors.

    Seen in 7 reports
  5. Enforce role and ownership checks on the server for every request rather than relying on client-side flags or hidden UI.

    Seen in 7 reports
  6. Vendors added entitlement checks, tightened sandbox profiles, improved path validation and re-validated caller access.

    Seen in 7 reports
  7. Enforce the same role checks in GraphQL resolvers and mutations that the web interface enforces.

    Seen in 6 reports
  8. Tighten file system permissions and validate paths so services do not follow links or load modules from user-writable locations.

    Seen in 6 reports
  9. Resolve and validate the real target path before creating or deleting files, and reject junctions, symbolic links and DOS device redirections.

    Seen in 5 reports
  10. Add the missing entitlement and permission checks in the affected frameworks.

    Seen in 5 reports
  11. Only check the migrator role when granting a permit, and allow the user to clear a permit at any time regardless of the migrator's current role.

    Seen in 5 reports
  12. Clear stored permits when a migrator's role is revoked, and clear the permit after a successful migration.

    Seen in 5 reports
  13. Revoke each resource scope individually rather than building one revocation for the first non-root name.

    Seen in 5 reports
  14. Correctly verify the caller's permissions before returning information or granting access in cloud services.

    Seen in 5 reports
  15. Enforce the required role or permission level server-side on every endpoint, including child routes and internal endpoints.

    Seen in 4 reports
  16. Initialise implementation contracts and add re-initialisation guards and zero-address checks to initialise functions.

    Seen in 4 reports
  17. Add timelocks, amount limits and recipient restrictions to admin functions that move or mint tokens.

    Seen in 4 reports
  18. Derive the user and role from the server-side session rather than from client-supplied fields, identifiers or headers.

    Seen in 4 reports
  19. Enforce authorisation on every HTTP method and every path variant of an endpoint, not just the one the UI uses.

    Seen in 4 reports
  20. Validate symbolic link targets before privileged file operations.

    Seen in 3 reports
  21. Remove hard-coded credentials and header values and require proper authentication.

    Seen in 3 reports
  22. Authenticate local service commands and verify their origin before dispatching them.

    Seen in 3 reports
  23. Validate the caller and the payment token in the transfer function, and use OR in the settlement access check.

    Seen in 3 reports
  24. Enforce the same role and IP restrictions on GraphQL mutations as on the UI paths.

    Seen in 3 reports
  25. Remove or restrict the dangerous function exposed by the listener service.

    Seen in 3 reports
  26. Parse parameters once in a single place and use the same parsed value for both authorisation and lookup.

    Seen in 3 reports
  27. Load helpers and modules from secured locations that lower-privileged users cannot write to.

    Seen in 3 reports
  28. Replace fixed, shared credentials with unique per-device or user-set secrets.

    Seen in 3 reports
  29. Check the account expiry status returned by PAM in addition to the password.

    Seen in 2 reports
  30. Include the authentication parameters in the connection cache key so a connection is not reused across different tokens.

    Seen in 2 reports
  31. Tie preview links to the current storefront password and user session so they expire when either changes.

    Seen in 2 reports
  32. Do not let a registry-listed market move tokens from arbitrary users or assign credit to arbitrary beneficiaries.

    Seen in 2 reports
  33. Guard delegatecall targets so they cannot modify the vault's storage, and check all critical state after the call.

    Seen in 2 reports
  34. Restrict burn functions to the caller's own balance.

    Seen in 2 reports
  35. Update the current operator list during batch execution and invalidate old operator sets after transfer.

    Seen in 2 reports
  36. Tighten the access control list and configuration of privileged services so low-privileged users cannot modify them.

    Seen in 2 reports
  37. Load configuration and DLLs only from protected locations and restrict the DLL search path.

    Seen in 2 reports
  38. Compare the caller rather than the receiver in the authority check, and accept per-token approvals.

    Seen in 2 reports
  39. Include approved operators as valid callers in owner-only actions and liquidation checks.

    Seen in 2 reports
  40. Verify that a node is wrapped before burning fuses and do not trust registry ownership alone for registration state.

    Seen in 2 reports
  41. Do not let a third party set the delegate for a contributor, and check the caller rather than the contributor against the allowlist.

    Seen in 2 reports
  42. Revoke all sessions server-side on logout and password change, and invalidate older sessions on new login.

    Seen in 2 reports
  43. Apply the emergency pause modifier to every dangerous function, including withdrawals.

    Seen in 2 reports
  44. Strip or reject internal-only headers at the edge and never trust client-supplied rewrite instructions.

    Seen in 2 reports
  45. Check authorisation on each child entity, not only the parent object, and disable introspection where not needed.

    Seen in 2 reports
  46. Check the current observer or validator status rather than node account existence or tombstone status alone.

    Seen in 2 reports
  47. Correct privilege management so authorised users cannot perform actions beyond their role.

    Seen in 2 reports
  48. Restrict file names and paths used by privileged components so they cannot be influenced by low-privileged users.

    Seen in 2 reports
  49. Check where a link really points before a privileged file operation acts on it.

    Seen in 2 reports
  50. Stop execution when issuing a redirect so the protected page is never generated for unauthenticated users.

    Seen in 2 reports