NPM API Test
ID: api-npm
Severity: info
Author: zzeitlin
Tags: token-spray,node,npm
Description
Section titled “Description”YAML Source
Section titled “YAML Source”id: api-npm
info: name: NPM API Test author: zzeitlin severity: info reference: - https://docs.npmjs.com/creating-and-viewing-access-tokens metadata: max-request: 1 tags: token-spray,node,npm
self-contained: true
http: - method: GET path: - "https://registry.npmjs.org/-/whoami"
headers: Authorization: Bearer {{token}} matchers: - type: status status: - 401 - 403 negative: true# digest: 4a0a004730450220748257827ac8f8fb8b238341dd211c8a4cf76055ffa1922b3a98b3be5c3ca863022100e1104a0cb700ac9e442191af987d71c5bef5a03a8c9b9f5df74a89dcf8dfe485:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/token-spray/api-npm.yaml"