在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):lirantal/is-website-vulnerable开源软件地址(OpenSource Url):https://github.com/lirantal/is-website-vulnerable开源编程语言(OpenSource Language):JavaScript 95.5%开源软件介绍(OpenSource Introduction):is-website-vulnerablefinds publicly known security vulnerabilities in a website's frontend JavaScript libraries
Many thanks to for supporting open source security AboutFinds publicly known security vulnerabilities in a website's frontend JavaScript libraries. UsageCommand lineUsing Node.js's npx is-website-vulnerable https://example.com [--json] [--js-lib] [--mobile|--desktop] [--chromePath] [--cookie] [--token] The CLI will gracefully handle cases where the URL to scan is missing by prompting you to enter it: $ npx is-website-vulnerable
Woops! You forgot to provide a URL of a website to scan.
? Please provide a URL to scan: › https://example.com
... Exit codesIf the CLI detects an error, it will terminate with an exit code different from 0. Exit Code 0: Everything is fine. No vulnerabilities found. Exit Code 1: An error happened during the execution. Check the logs for details. Exit Code 2: Vulnerabilities were found. Check the logs for details. DockerTo build and run the container locally: # Clone Repo:
git clone https://github.com/lirantal/is-website-vulnerable.git
# Change to repo's cloned directory:
cd is-website-vulnerable
# Build Image locally:
docker build --no-cache -t lirantal/is-website-vulnerable:latest .
# Run container:
docker run --rm -e SCAN_URL="https://www.google.com/" lirantal/is-website-vulnerable:latest
If you wish to provide command line arguments to
GitHub ActionCreate .github/workflows/is-website-vulnerable.yml with the url that you want scanned: name: Test site for publicly known js vulnerabilities
on: push
jobs:
security:
runs-on: ubuntu-latest
steps:
- name: Test for public javascript library vulnerabilities
uses: lirantal/is-website-vulnerable@master
with:
scan-url: "https://yoursite.com" InstallYou can install globally via: npm install -g is-website-vulnerable ContributingPlease consult CONTRIBUTING for guidelines on contributing to this project. Authoris-website-vulnerable © Liran Tal, Released under the Apache-2.0 License. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论