Details

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

      Description

      Sensitive Code Example

      Flask

      from flask import Response
      
      @app.route('/')
      def index():
          response = Response()
          response.set_cookie('key', 'value') # Sensitive
          return response
      

      Compliant Solution

      Flask

      from flask import Response
      
      @app.route('/')
      def index():
          response = Response()
          response.set_cookie('key', 'value', secure=True) # Compliant
          return response
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            tolun.ardahanli Tolun Ardahanli (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: