Details

    • Type: Language-Specification
    • Status: Active
    • Resolution: Unresolved
    • Labels:
      None
    • Impact:
      Unknown 'null' severity
    • Likelihood:
      Unknown 'null' severity

      Description

      Sensitive Code Example

      let postData = "username=Steve&password=123456".data(using: .utf8)  // Sensitive
      //...
      var request = URLRequest(url: url)
      request.HTTPBody = postData
      

      Compliant Solution

      let postData = "username=\(getEncryptedUser())&password=\(getEncryptedPass())".data(using: .utf8)
      //...
      var request = URLRequest(url: url)
      request.HTTPBody = postData
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            elena.vilchik Elena Vilchik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: