{
  "id": "npm_access_token",
  "kind": "datatype",
  "status": "draft",
  "name": "npm access token",
  "doc": "Access token of the npm package registry in the format introduced in 2021: the prefix npm_ followed by 36 letters and digits, the last six of which are a Base62-encoded CRC32 checksum. Older npm tokens are bare UUIDs.",
  "parent": "access_token",
  "is_pii": false,
  "categories": [
    "secrets"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^npm_[A-Za-z0-9]{36}$",
  "examples": [
    {
      "value": "npm_ExampleTokenExampleTokenExampleToken",
      "description": "Constructed, non-functional value",
      "valid": true
    },
    {
      "value": "npm_ExampleTokenExampleTokenExampl",
      "description": "Too short",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://github.blog/changelog/2021-09-23-npm-has-a-new-access-token-format/"
    },
    {
      "type": "other",
      "url": "https://github.com/gitleaks/gitleaks/blob/master/config/gitleaks.toml"
    }
  ],
  "detected_by": {
    "tools": [
      "detectsecrets",
      "gitleaks",
      "semgrep",
      "trufflehog"
    ]
  },
  "quality": {
    "score": 78,
    "missing": [
      "second example",
      "mapping (Wikidata, Schema.org, ...)",
      "translation"
    ]
  },
  "source": {
    "path": "data/datatypes/any/secrets/npm_access_token.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/secrets/npm_access_token.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/secrets/npm_access_token.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/npm_access_token",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/npm_access_token.json"
  }
}