webvigil 1.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (146) hide show
  1. webvigil-1.0.0/.gitignore +62 -0
  2. webvigil-1.0.0/CHANGELOG.md +85 -0
  3. webvigil-1.0.0/LICENSE +201 -0
  4. webvigil-1.0.0/NOTICE +17 -0
  5. webvigil-1.0.0/PKG-INFO +390 -0
  6. webvigil-1.0.0/README.md +341 -0
  7. webvigil-1.0.0/SECURITY.md +78 -0
  8. webvigil-1.0.0/pyproject.toml +240 -0
  9. webvigil-1.0.0/src/webvigil/__init__.py +10 -0
  10. webvigil-1.0.0/src/webvigil/api/__init__.py +7 -0
  11. webvigil-1.0.0/src/webvigil/api/app.py +85 -0
  12. webvigil-1.0.0/src/webvigil/api/cli.py +88 -0
  13. webvigil-1.0.0/src/webvigil/api/config.py +119 -0
  14. webvigil-1.0.0/src/webvigil/api/db.py +258 -0
  15. webvigil-1.0.0/src/webvigil/api/deps.py +114 -0
  16. webvigil-1.0.0/src/webvigil/api/mapping.py +179 -0
  17. webvigil-1.0.0/src/webvigil/api/migrations/env.py +72 -0
  18. webvigil-1.0.0/src/webvigil/api/migrations/script.py.mako +29 -0
  19. webvigil-1.0.0/src/webvigil/api/migrations/versions/0001_initial.py +100 -0
  20. webvigil-1.0.0/src/webvigil/api/migrations/versions/0002_scan_technologies.py +27 -0
  21. webvigil-1.0.0/src/webvigil/api/routes/__init__.py +7 -0
  22. webvigil-1.0.0/src/webvigil/api/routes/auth.py +82 -0
  23. webvigil-1.0.0/src/webvigil/api/routes/meta.py +53 -0
  24. webvigil-1.0.0/src/webvigil/api/routes/reports.py +57 -0
  25. webvigil-1.0.0/src/webvigil/api/routes/scans.py +198 -0
  26. webvigil-1.0.0/src/webvigil/api/routes/setup.py +50 -0
  27. webvigil-1.0.0/src/webvigil/api/runner.py +334 -0
  28. webvigil-1.0.0/src/webvigil/api/schemas.py +333 -0
  29. webvigil-1.0.0/src/webvigil/api/security.py +176 -0
  30. webvigil-1.0.0/src/webvigil/api/throttle.py +87 -0
  31. webvigil-1.0.0/src/webvigil/auth/__init__.py +9 -0
  32. webvigil-1.0.0/src/webvigil/auth/login.py +498 -0
  33. webvigil-1.0.0/src/webvigil/auth/scrub.py +162 -0
  34. webvigil-1.0.0/src/webvigil/checks/__init__.py +49 -0
  35. webvigil-1.0.0/src/webvigil/checks/base.py +116 -0
  36. webvigil-1.0.0/src/webvigil/checks/content/__init__.py +12 -0
  37. webvigil-1.0.0/src/webvigil/checks/content/checks.py +276 -0
  38. webvigil-1.0.0/src/webvigil/checks/cookies/__init__.py +9 -0
  39. webvigil-1.0.0/src/webvigil/checks/cookies/flags.py +181 -0
  40. webvigil-1.0.0/src/webvigil/checks/cors/__init__.py +9 -0
  41. webvigil-1.0.0/src/webvigil/checks/cors/check.py +126 -0
  42. webvigil-1.0.0/src/webvigil/checks/csrf/__init__.py +20 -0
  43. webvigil-1.0.0/src/webvigil/checks/csrf/checks.py +245 -0
  44. webvigil-1.0.0/src/webvigil/checks/csrf/scanner.py +524 -0
  45. webvigil-1.0.0/src/webvigil/checks/csrf/tokens.py +37 -0
  46. webvigil-1.0.0/src/webvigil/checks/deps/__init__.py +18 -0
  47. webvigil-1.0.0/src/webvigil/checks/deps/_data.py +65 -0
  48. webvigil-1.0.0/src/webvigil/checks/deps/advisories.py +259 -0
  49. webvigil-1.0.0/src/webvigil/checks/deps/check.py +275 -0
  50. webvigil-1.0.0/src/webvigil/checks/deps/data/PROVENANCE.json +7 -0
  51. webvigil-1.0.0/src/webvigil/checks/deps/data/__init__.py +7 -0
  52. webvigil-1.0.0/src/webvigil/checks/deps/data/retirejs.json +12323 -0
  53. webvigil-1.0.0/src/webvigil/checks/deps/fingerprint.py +221 -0
  54. webvigil-1.0.0/src/webvigil/checks/deps/osv.py +509 -0
  55. webvigil-1.0.0/src/webvigil/checks/deps/rules.py +346 -0
  56. webvigil-1.0.0/src/webvigil/checks/deps/staleness.py +36 -0
  57. webvigil-1.0.0/src/webvigil/checks/disclosure/__init__.py +18 -0
  58. webvigil-1.0.0/src/webvigil/checks/disclosure/catalogue.py +351 -0
  59. webvigil-1.0.0/src/webvigil/checks/disclosure/checks.py +167 -0
  60. webvigil-1.0.0/src/webvigil/checks/disclosure/data/__init__.py +6 -0
  61. webvigil-1.0.0/src/webvigil/checks/disclosure/data/paths.toml +382 -0
  62. webvigil-1.0.0/src/webvigil/checks/disclosure/errors.py +80 -0
  63. webvigil-1.0.0/src/webvigil/checks/disclosure/leakage.py +252 -0
  64. webvigil-1.0.0/src/webvigil/checks/disclosure/listing.py +82 -0
  65. webvigil-1.0.0/src/webvigil/checks/disclosure/probe.py +432 -0
  66. webvigil-1.0.0/src/webvigil/checks/disclosure/redaction.py +111 -0
  67. webvigil-1.0.0/src/webvigil/checks/disclosure/signatures.py +184 -0
  68. webvigil-1.0.0/src/webvigil/checks/envelope/__init__.py +15 -0
  69. webvigil-1.0.0/src/webvigil/checks/envelope/checks.py +111 -0
  70. webvigil-1.0.0/src/webvigil/checks/envelope/scanner.py +374 -0
  71. webvigil-1.0.0/src/webvigil/checks/headers/__init__.py +11 -0
  72. webvigil-1.0.0/src/webvigil/checks/headers/_parsing.py +102 -0
  73. webvigil-1.0.0/src/webvigil/checks/headers/csp.py +124 -0
  74. webvigil-1.0.0/src/webvigil/checks/headers/hsts.py +106 -0
  75. webvigil-1.0.0/src/webvigil/checks/headers/misc.py +239 -0
  76. webvigil-1.0.0/src/webvigil/checks/headers/revealing.py +84 -0
  77. webvigil-1.0.0/src/webvigil/checks/injection/__init__.py +13 -0
  78. webvigil-1.0.0/src/webvigil/checks/injection/checks.py +511 -0
  79. webvigil-1.0.0/src/webvigil/checks/injection/detect/__init__.py +90 -0
  80. webvigil-1.0.0/src/webvigil/checks/injection/detect/_diff.py +74 -0
  81. webvigil-1.0.0/src/webvigil/checks/injection/detect/cmdi.py +225 -0
  82. webvigil-1.0.0/src/webvigil/checks/injection/detect/crlf.py +102 -0
  83. webvigil-1.0.0/src/webvigil/checks/injection/detect/el.py +578 -0
  84. webvigil-1.0.0/src/webvigil/checks/injection/detect/ldap.py +125 -0
  85. webvigil-1.0.0/src/webvigil/checks/injection/detect/redirect.py +108 -0
  86. webvigil-1.0.0/src/webvigil/checks/injection/detect/sqli.py +210 -0
  87. webvigil-1.0.0/src/webvigil/checks/injection/detect/ssi.py +117 -0
  88. webvigil-1.0.0/src/webvigil/checks/injection/detect/ssrf.py +312 -0
  89. webvigil-1.0.0/src/webvigil/checks/injection/detect/ssti.py +157 -0
  90. webvigil-1.0.0/src/webvigil/checks/injection/detect/traversal.py +74 -0
  91. webvigil-1.0.0/src/webvigil/checks/injection/detect/xpath.py +121 -0
  92. webvigil-1.0.0/src/webvigil/checks/injection/detect/xss.py +108 -0
  93. webvigil-1.0.0/src/webvigil/checks/injection/detect/xxe.py +135 -0
  94. webvigil-1.0.0/src/webvigil/checks/injection/engine.py +363 -0
  95. webvigil-1.0.0/src/webvigil/checks/injection/models.py +252 -0
  96. webvigil-1.0.0/src/webvigil/checks/injection/payloads.py +516 -0
  97. webvigil-1.0.0/src/webvigil/checks/injection/points.py +645 -0
  98. webvigil-1.0.0/src/webvigil/checks/injection/stored.py +266 -0
  99. webvigil-1.0.0/src/webvigil/checks/registry.py +122 -0
  100. webvigil-1.0.0/src/webvigil/checks/session/__init__.py +14 -0
  101. webvigil-1.0.0/src/webvigil/checks/session/checks.py +215 -0
  102. webvigil-1.0.0/src/webvigil/checks/session/cookies.py +81 -0
  103. webvigil-1.0.0/src/webvigil/checks/session/ids.py +251 -0
  104. webvigil-1.0.0/src/webvigil/checks/session/scanner.py +433 -0
  105. webvigil-1.0.0/src/webvigil/checks/tls/__init__.py +9 -0
  106. webvigil-1.0.0/src/webvigil/checks/tls/_cert.py +167 -0
  107. webvigil-1.0.0/src/webvigil/checks/tls/check.py +172 -0
  108. webvigil-1.0.0/src/webvigil/checks/upload/__init__.py +16 -0
  109. webvigil-1.0.0/src/webvigil/checks/upload/checks.py +91 -0
  110. webvigil-1.0.0/src/webvigil/checks/upload/scanner.py +584 -0
  111. webvigil-1.0.0/src/webvigil/cli/__init__.py +7 -0
  112. webvigil-1.0.0/src/webvigil/cli/_exit.py +51 -0
  113. webvigil-1.0.0/src/webvigil/cli/_render.py +210 -0
  114. webvigil-1.0.0/src/webvigil/cli/app.py +701 -0
  115. webvigil-1.0.0/src/webvigil/core/__init__.py +96 -0
  116. webvigil-1.0.0/src/webvigil/core/config.py +604 -0
  117. webvigil-1.0.0/src/webvigil/core/context.py +290 -0
  118. webvigil-1.0.0/src/webvigil/core/errors.py +94 -0
  119. webvigil-1.0.0/src/webvigil/core/findings.py +257 -0
  120. webvigil-1.0.0/src/webvigil/core/orchestrator.py +789 -0
  121. webvigil-1.0.0/src/webvigil/core/result.py +166 -0
  122. webvigil-1.0.0/src/webvigil/core/target.py +186 -0
  123. webvigil-1.0.0/src/webvigil/core/technology.py +60 -0
  124. webvigil-1.0.0/src/webvigil/crawler/__init__.py +14 -0
  125. webvigil-1.0.0/src/webvigil/crawler/crawler.py +606 -0
  126. webvigil-1.0.0/src/webvigil/crawler/forms.py +323 -0
  127. webvigil-1.0.0/src/webvigil/crawler/jsapp.py +87 -0
  128. webvigil-1.0.0/src/webvigil/crawler/openapi.py +529 -0
  129. webvigil-1.0.0/src/webvigil/crawler/robots.py +76 -0
  130. webvigil-1.0.0/src/webvigil/crawler/safety.py +198 -0
  131. webvigil-1.0.0/src/webvigil/crawler/sitemap.py +58 -0
  132. webvigil-1.0.0/src/webvigil/http/__init__.py +25 -0
  133. webvigil-1.0.0/src/webvigil/http/client.py +736 -0
  134. webvigil-1.0.0/src/webvigil/http/policy.py +62 -0
  135. webvigil-1.0.0/src/webvigil/http/scope_guard.py +50 -0
  136. webvigil-1.0.0/src/webvigil/http/session.py +398 -0
  137. webvigil-1.0.0/src/webvigil/http/tls_probe.py +197 -0
  138. webvigil-1.0.0/src/webvigil/py.typed +0 -0
  139. webvigil-1.0.0/src/webvigil/reporting/__init__.py +81 -0
  140. webvigil-1.0.0/src/webvigil/reporting/_ordering.py +23 -0
  141. webvigil-1.0.0/src/webvigil/reporting/html.py +43 -0
  142. webvigil-1.0.0/src/webvigil/reporting/json_report.py +25 -0
  143. webvigil-1.0.0/src/webvigil/reporting/markdown.py +88 -0
  144. webvigil-1.0.0/src/webvigil/reporting/sarif.py +165 -0
  145. webvigil-1.0.0/src/webvigil/reporting/templates/report.html.j2 +128 -0
  146. webvigil-1.0.0/webvigil.example.toml +128 -0
@@ -0,0 +1,62 @@
1
+ # --- 1. PYTHON: BYTECODE, BUILD, PACKAGING ---
2
+ # Compiled bytecode and packaging output — all regenerated by the build, never source.
3
+ __pycache__/
4
+ *.py[cod]
5
+ *.egg-info/
6
+ .eggs/
7
+ build/
8
+ dist/
9
+
10
+ # --- 2. VIRTUAL ENVIRONMENTS (uv) ---
11
+ # `uv sync --all-extras` recreates these. uv.lock IS committed, for reproducible builds.
12
+ .venv/
13
+ venv/
14
+ .uv/
15
+
16
+ # --- 3. TOOLING CACHES ---
17
+ # ruff, mypy, pytest, coverage — local speed-ups, never useful in Git.
18
+ .mypy_cache/
19
+ .ruff_cache/
20
+ .pytest_cache/
21
+ .coverage
22
+ htmlcov/
23
+
24
+ # --- 4. SCAN ARTIFACTS ---
25
+ # What `webvigil scan` / `webvigil report` write to disk. Ephemeral by design.
26
+ *.sarif
27
+ scan-*.json
28
+ scan-*.html
29
+ reports/
30
+
31
+ # --- 5. LOCAL DATABASES ---
32
+ # The Web API's SQLite file — created per machine, holds local scan history only.
33
+ *.sqlite3
34
+ *.db
35
+ *.db-shm
36
+ *.db-wal
37
+
38
+ # --- 6. WEB UI (Next.js) ---
39
+ # web/ has its own .gitignore; these catch its build output from the repo root too.
40
+ web/node_modules/
41
+ web/.next/
42
+ web/out/
43
+ web/.env*.local
44
+ # Lighthouse CI reports (.github/workflows/lighthouse.yml).
45
+ .lighthouseci/
46
+
47
+ # --- 7. SECRETS AND LOCAL CONFIG ---
48
+ # Real secrets and machine-specific overrides. There is no committed .env;
49
+ # webvigil.example.toml is the config template.
50
+ .env
51
+ webvigil.local.toml
52
+
53
+ # --- 8. EDITOR AND OS ---
54
+ .idea/
55
+ .vscode/
56
+ .DS_Store
57
+ Thumbs.db
58
+
59
+ # --- 9. LOCAL PLANNING / SCRATCH NOTES ---
60
+ # Superseded by specs/ once a feature is designed; never part of history.
61
+ /*.plan.md
62
+ .plans/
@@ -0,0 +1,85 @@
1
+ # Changelog
2
+
3
+ All notable changes to WebVigil are recorded here. The format follows
4
+ [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and the project follows
5
+ [Semantic Versioning](https://semver.org/); what that promises is in
6
+ [docs/stability.md](docs/stability.md).
7
+
8
+ The `v0.1` to `v0.20` milestones in the README are the steps the project was built in, each
9
+ designed as a spec under [`specs/`](specs/). None of them was released: `1.0.0` is the first
10
+ release and contains all of them.
11
+
12
+ ## [Unreleased]
13
+
14
+ ## [1.0.0] - 2026-10-08
15
+
16
+ The first release.
17
+
18
+ ### Added
19
+
20
+ **Scanner and CLI**
21
+ - `webvigil scan` in **Safe Mode** by default (passive: it reads and sends no crafted request),
22
+ `list-checks`, `report` (re-render a saved scan offline) and `version`.
23
+ - Reports in JSON (canonical, with a `schema_version`), SARIF 2.1.0, HTML and Markdown;
24
+ `--fail-on` and documented exit codes for CI.
25
+ - A `webvigil.toml` configuration file (every key can be overridden by a flag), a scope guard,
26
+ bounded concurrency, a request delay, a page limit and `robots.txt` handling on every scan (a warning says when it kept URLs out of the crawl, when the target stopped answering, or when the
27
+ entry page looks like a JavaScript application the crawler cannot see into).
28
+ A response body is read up to `[http] max_body_bytes` (10 MiB, after decompression) and the rest is
29
+ dropped with a warning, so a hostile or oversized response cannot exhaust the scanner's memory.
30
+
31
+ **Passive checks**
32
+ - Security headers and technology-disclosure headers, cookie flags, TLS and HTTPS configuration,
33
+ CORS misconfiguration.
34
+ - Client-side dependency fingerprinting with known-vulnerability matching against a vendored
35
+ Retire.js database, and an opt-in OSV.dev lookup (`--osv-online`).
36
+ - Information disclosure: stack traces and directory listings, plus opt-in probing for exposed
37
+ `.git`, `.env`, backups and debug endpoints (`--probe`).
38
+ - Subresource Integrity, mixed content, a session identifier in a URL, a private IP in a body.
39
+ - CSRF: forms that carry no anti-CSRF token.
40
+ - Session security: weak or predictable session ids (`session.id.weak`), with opt-in anonymous
41
+ sampling (`--sample-sessions`).
42
+
43
+ **Active Mode** (`--mode active --authorized-by "<name / engagement>"`, in-band, every finding
44
+ confirmed against a per-request baseline)
45
+ - Reflected XSS; SQL injection (error, boolean and time based); path traversal; open redirect;
46
+ SSRF (cloud metadata, loopback and internal hosts, `file://`); OS command injection; server-side
47
+ template injection; expression-language injection (SpEL, OGNL, JEXL, MVEL, Unified EL); CRLF
48
+ injection; host-header injection; LDAP, XPath and SSI injection; dangerous HTTP methods.
49
+ - Opt-in, each off by default and documented as writing to the target or making a real request:
50
+ stored XSS (`--stored-xss`), file upload (`--file-upload`), XXE (`--xxe`), CSRF confirmation
51
+ (`--confirm-csrf`), POST crawling (`--submit-post-forms`), automated login (`--login-url`) and
52
+ the logout test (`--test-logout`).
53
+ - Session fixation (`session.fixation`) and a logout that does not invalidate the session
54
+ (`session.logout.not-invalidated`), which build on the automated login.
55
+
56
+ **Authenticated and API scanning**
57
+ - Static cookies (`--cookie`) and headers (`--header`); an automated form login that keeps the
58
+ session and logs in again when it drops (one attempt, never another credential, the password
59
+ only from the environment or a prompt); OpenAPI / Swagger import (`--openapi`).
60
+
61
+ **Web API and dashboard** (optional, in the repository)
62
+ - A FastAPI service with SQLite persistence and a queued scan runner, and a Next.js dashboard for
63
+ it.
64
+ `docker compose` publishes them on `127.0.0.1` only; see [Who can reach it](docs/web-api.md#who-can-reach-it).
65
+ Login attempts are throttled (a wait that doubles up to 5 minutes), and changing the password signs
66
+ the other sessions out.
67
+
68
+ **Packaging**
69
+ - A package for PyPI: the engine, the CLI and (with the `web` extra) the Web API, published from a
70
+ GitHub Release with PyPI Trusted Publishing (no stored token) after a dry run on TestPyPI. The
71
+ dashboard stays in the repository. See [releasing](docs/releasing.md).
72
+ - A container image for the CLI on `ghcr.io/ryanvmorais/webvigil` (`linux/amd64` and `linux/arm64`; tags
73
+ `X.Y.Z`, `X.Y`, `X` and `latest`), built, smoke-tested and vulnerability-scanned before it is pushed,
74
+ with signed build provenance and an SBOM.
75
+ - `selectolax` is capped below 1.0: version 1.0 removed the parser the engine imports.
76
+
77
+ **Quality and security of the project**
78
+ - Strict typing, an import contract that keeps the engine independent of the CLI, the API and the
79
+ database, 1138 tests, a CI matrix on Python 3.12 to 3.14, Lighthouse CI for the dashboard, CodeQL
80
+ and Dependabot.
81
+ - A security policy with private vulnerability reporting, a code of conduct, and the
82
+ [stability policy](docs/stability.md).
83
+
84
+ [Unreleased]: https://github.com/ryanvmorais/webvigil/compare/v1.0.0...HEAD
85
+ [1.0.0]: https://github.com/ryanvmorais/webvigil/releases/tag/v1.0.0
webvigil-1.0.0/LICENSE ADDED
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2026 Ryan Morais
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
webvigil-1.0.0/NOTICE ADDED
@@ -0,0 +1,17 @@
1
+ WebVigil
2
+ Copyright 2026 Ryan Morais
3
+
4
+ This product includes software developed by third parties.
5
+
6
+ --------------------------------------------------------------------------------
7
+ Retire.js vulnerability database
8
+ --------------------------------------------------------------------------------
9
+
10
+ The file src/webvigil/checks/deps/data/retirejs.json is a normalised copy of the
11
+ Retire.js community vulnerability repository:
12
+
13
+ https://github.com/RetireJS/retire.js
14
+
15
+ Licensed under the Apache License, Version 2.0. Copyright the Retire.js
16
+ contributors. The file is regenerated by scripts/update-retirejs-db.py; retrieval
17
+ provenance is recorded in src/webvigil/checks/deps/data/PROVENANCE.json.