GenPass-GPT

GenPass-GPT · GPT-Aktionen

Breached Password Checker

This action checks if a user's password (either entered or generated) is in a database of breached passwords.

  • POST /run/check_passwordCheck if a password is breached

    Allows the user to input or use a generated password to check against the breached database.

Ursprüngliches API-Schema
{
  "openapi": "3.1.0",
  "info": {
    "title": "Breached Password Checker",
    "version": "1.0.0",
    "description": "This action checks if a user's password (either entered or generated) is in a database of breached passwords."
  },
  "servers": [
    {
      "url": "https://cultrix-passbreach.hf.space",
      "description": "Main API server"
    }
  ],
  "paths": {
    "/run/check_password": {
      "post": {
        "summary": "Check if a password is breached",
        "description": "Allows the user to input or use a generated password to check against the breached database.",
        "operationId": "checkPassword",
        "requestBody": {
          "description": "Password to be checked",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "data": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "description": "User-entered or GPT-generated password"
                    }
                  }
                },
                "required": [
                  "data"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Password breach status",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "breached": {
                      "type": "boolean",
                      "description": "Indicates if the password is breached"
                    },
                    "breach_count": {
                      "type": "integer",
                      "description": "Number of times the password was found in the breached database"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}