Details

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

      Description

      Sensitive Code Example

      val params = "password=xxxx" // Sensitive
      val writer = OutputStreamWriter(getOutputStream())
      writer.write(params)
      writer.flush()
      ...
      val password = "xxxx" // Sensitive
      ...
      

      Compliant Solution

      val params = "password=${retrievePassword()}"
      val writer = OutputStreamWriter(getOutputStream())
      writer.write(params)
      writer.flush()
      ...
      val password = retrievePassword()
      ...
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            christophe.zurn Christophe Zurn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: