phpwarden 2.2.0__tar.gz → 2.2.1__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 (82) hide show
  1. {phpwarden-2.2.0 → phpwarden-2.2.1}/PKG-INFO +4 -3
  2. {phpwarden-2.2.0 → phpwarden-2.2.1}/README.md +3 -2
  3. {phpwarden-2.2.0 → phpwarden-2.2.1}/pyproject.toml +1 -1
  4. {phpwarden-2.2.0 → phpwarden-2.2.1}/src/phpwarden/__init__.py +1 -1
  5. {phpwarden-2.2.0 → phpwarden-2.2.1}/src/phpwarden/code.py +507 -57
  6. {phpwarden-2.2.0 → phpwarden-2.2.1}/src/phpwarden.egg-info/PKG-INFO +4 -3
  7. {phpwarden-2.2.0 → phpwarden-2.2.1}/src/phpwarden.egg-info/SOURCES.txt +1 -0
  8. {phpwarden-2.2.0 → phpwarden-2.2.1}/tests/test_code.py +74 -2
  9. phpwarden-2.2.1/tests/test_report_proof.py +53 -0
  10. {phpwarden-2.2.0 → phpwarden-2.2.1}/LICENSE +0 -0
  11. {phpwarden-2.2.0 → phpwarden-2.2.1}/setup.cfg +0 -0
  12. {phpwarden-2.2.0 → phpwarden-2.2.1}/src/phpwarden/cli.py +0 -0
  13. {phpwarden-2.2.0 → phpwarden-2.2.1}/src/phpwarden/code_rules.py +0 -0
  14. {phpwarden-2.2.0 → phpwarden-2.2.1}/src/phpwarden/data/php-cve-feed.json +0 -0
  15. {phpwarden-2.2.0 → phpwarden-2.2.1}/src/phpwarden/deps.py +0 -0
  16. {phpwarden-2.2.0 → phpwarden-2.2.1}/src/phpwarden/detect.py +0 -0
  17. {phpwarden-2.2.0 → phpwarden-2.2.1}/src/phpwarden/engine.py +0 -0
  18. {phpwarden-2.2.0 → phpwarden-2.2.1}/src/phpwarden/env.py +0 -0
  19. {phpwarden-2.2.0 → phpwarden-2.2.1}/src/phpwarden/feed.py +0 -0
  20. {phpwarden-2.2.0 → phpwarden-2.2.1}/src/phpwarden/guard.py +0 -0
  21. {phpwarden-2.2.0 → phpwarden-2.2.1}/src/phpwarden/integrity.py +0 -0
  22. {phpwarden-2.2.0 → phpwarden-2.2.1}/src/phpwarden/probe.py +0 -0
  23. {phpwarden-2.2.0 → phpwarden-2.2.1}/src/phpwarden/report.py +0 -0
  24. {phpwarden-2.2.0 → phpwarden-2.2.1}/src/phpwarden/rules.py +0 -0
  25. {phpwarden-2.2.0 → phpwarden-2.2.1}/src/phpwarden/sarif.py +0 -0
  26. {phpwarden-2.2.0 → phpwarden-2.2.1}/src/phpwarden/verdict.py +0 -0
  27. {phpwarden-2.2.0 → phpwarden-2.2.1}/src/phpwarden/version.py +0 -0
  28. {phpwarden-2.2.0 → phpwarden-2.2.1}/src/phpwarden/vulndb.py +0 -0
  29. {phpwarden-2.2.0 → phpwarden-2.2.1}/src/phpwarden/wordpress.py +0 -0
  30. {phpwarden-2.2.0 → phpwarden-2.2.1}/src/phpwarden.egg-info/dependency_links.txt +0 -0
  31. {phpwarden-2.2.0 → phpwarden-2.2.1}/src/phpwarden.egg-info/entry_points.txt +0 -0
  32. {phpwarden-2.2.0 → phpwarden-2.2.1}/src/phpwarden.egg-info/top_level.txt +0 -0
  33. {phpwarden-2.2.0 → phpwarden-2.2.1}/tests/test_account_deletion.py +0 -0
  34. {phpwarden-2.2.0 → phpwarden-2.2.1}/tests/test_accounts.py +0 -0
  35. {phpwarden-2.2.0 → phpwarden-2.2.1}/tests/test_advisories.py +0 -0
  36. {phpwarden-2.2.0 → phpwarden-2.2.1}/tests/test_agency.py +0 -0
  37. {phpwarden-2.2.0 → phpwarden-2.2.1}/tests/test_assess.py +0 -0
  38. {phpwarden-2.2.0 → phpwarden-2.2.1}/tests/test_assignment.py +0 -0
  39. {phpwarden-2.2.0 → phpwarden-2.2.1}/tests/test_audit.py +0 -0
  40. {phpwarden-2.2.0 → phpwarden-2.2.1}/tests/test_billing.py +0 -0
  41. {phpwarden-2.2.0 → phpwarden-2.2.1}/tests/test_business_metrics.py +0 -0
  42. {phpwarden-2.2.0 → phpwarden-2.2.1}/tests/test_cli_edges.py +0 -0
  43. {phpwarden-2.2.0 → phpwarden-2.2.1}/tests/test_connect_flow.py +0 -0
  44. {phpwarden-2.2.0 → phpwarden-2.2.1}/tests/test_dashboard_states.py +0 -0
  45. {phpwarden-2.2.0 → phpwarden-2.2.1}/tests/test_deps_and_rules.py +0 -0
  46. {phpwarden-2.2.0 → phpwarden-2.2.1}/tests/test_detection_validation.py +0 -0
  47. {phpwarden-2.2.0 → phpwarden-2.2.1}/tests/test_developer.py +0 -0
  48. {phpwarden-2.2.0 → phpwarden-2.2.1}/tests/test_discussion.py +0 -0
  49. {phpwarden-2.2.0 → phpwarden-2.2.1}/tests/test_e2e_readiness.py +0 -0
  50. {phpwarden-2.2.0 → phpwarden-2.2.1}/tests/test_email.py +0 -0
  51. {phpwarden-2.2.0 → phpwarden-2.2.1}/tests/test_engine.py +0 -0
  52. {phpwarden-2.2.0 → phpwarden-2.2.1}/tests/test_engine_feed.py +0 -0
  53. {phpwarden-2.2.0 → phpwarden-2.2.1}/tests/test_feed_license.py +0 -0
  54. {phpwarden-2.2.0 → phpwarden-2.2.1}/tests/test_feed_subscription.py +0 -0
  55. {phpwarden-2.2.0 → phpwarden-2.2.1}/tests/test_fleet.py +0 -0
  56. {phpwarden-2.2.0 → phpwarden-2.2.1}/tests/test_free_feed.py +0 -0
  57. {phpwarden-2.2.0 → phpwarden-2.2.1}/tests/test_google_oauth.py +0 -0
  58. {phpwarden-2.2.0 → phpwarden-2.2.1}/tests/test_guard_live.py +0 -0
  59. {phpwarden-2.2.0 → phpwarden-2.2.1}/tests/test_integrity.py +0 -0
  60. {phpwarden-2.2.0 → phpwarden-2.2.1}/tests/test_kev_alert.py +0 -0
  61. {phpwarden-2.2.0 → phpwarden-2.2.1}/tests/test_kev_gaps.py +0 -0
  62. {phpwarden-2.2.0 → phpwarden-2.2.1}/tests/test_livefeed.py +0 -0
  63. {phpwarden-2.2.0 → phpwarden-2.2.1}/tests/test_mentions.py +0 -0
  64. {phpwarden-2.2.0 → phpwarden-2.2.1}/tests/test_probe.py +0 -0
  65. {phpwarden-2.2.0 → phpwarden-2.2.1}/tests/test_probe_cli.py +0 -0
  66. {phpwarden-2.2.0 → phpwarden-2.2.1}/tests/test_probe_dashboard.py +0 -0
  67. {phpwarden-2.2.0 → phpwarden-2.2.1}/tests/test_reachability.py +0 -0
  68. {phpwarden-2.2.0 → phpwarden-2.2.1}/tests/test_saas.py +0 -0
  69. {phpwarden-2.2.0 → phpwarden-2.2.1}/tests/test_saas_billing.py +0 -0
  70. {phpwarden-2.2.0 → phpwarden-2.2.1}/tests/test_sarif.py +0 -0
  71. {phpwarden-2.2.0 → phpwarden-2.2.1}/tests/test_server.py +0 -0
  72. {phpwarden-2.2.0 → phpwarden-2.2.1}/tests/test_settings.py +0 -0
  73. {phpwarden-2.2.0 → phpwarden-2.2.1}/tests/test_shield.py +0 -0
  74. {phpwarden-2.2.0 → phpwarden-2.2.1}/tests/test_shield_plan.py +0 -0
  75. {phpwarden-2.2.0 → phpwarden-2.2.1}/tests/test_slack.py +0 -0
  76. {phpwarden-2.2.0 → phpwarden-2.2.1}/tests/test_sso.py +0 -0
  77. {phpwarden-2.2.0 → phpwarden-2.2.1}/tests/test_store_connections.py +0 -0
  78. {phpwarden-2.2.0 → phpwarden-2.2.1}/tests/test_team.py +0 -0
  79. {phpwarden-2.2.0 → phpwarden-2.2.1}/tests/test_triage.py +0 -0
  80. {phpwarden-2.2.0 → phpwarden-2.2.1}/tests/test_waf_dryrun.py +0 -0
  81. {phpwarden-2.2.0 → phpwarden-2.2.1}/tests/test_webhook_idempotency.py +0 -0
  82. {phpwarden-2.2.0 → phpwarden-2.2.1}/tests/test_wordpress_and_report.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: phpwarden
3
- Version: 2.2.0
3
+ Version: 2.2.1
4
4
  Summary: PHP vulnerability scanner for the PHP engine, Composer, WordPress, your own code and the live site. Ranked by real-world exploitation (CISA KEV, then EPSS), not CVSS. Offline, zero dependencies.
5
5
  Author: oroma-alfred
6
6
  License-Expression: Apache-2.0
@@ -152,8 +152,9 @@ error. Full table: `phpwarden --help`.
152
152
  how). Without that it reads the homepage and stops.
153
153
  - **`phpwarden code PATH`**: 75 rules (74 on by default) for your own PHP code, following request
154
154
  data to `eval`, shell commands, SQL, `unserialize`, includes and redirects.
155
- It follows data through one level of same-file helper, not across files, and
156
- does not replace PHPStan or Psalm. `phpwarden code --list-rules` lists every rule.
155
+ It follows data across files (helper functions and classes elsewhere in the
156
+ project, fixed includes, class properties); it is not a type checker like
157
+ PHPStan or Psalm. `phpwarden code --list-rules` lists every rule.
157
158
  - **`phpwarden assess`**: one ranked list from every view of a site: installed
158
159
  versions, your code, the live site from outside, and the access log, with the
159
160
  reason for each item ("exploited, reachable, visible from outside, already
@@ -130,8 +130,9 @@ error. Full table: `phpwarden --help`.
130
130
  how). Without that it reads the homepage and stops.
131
131
  - **`phpwarden code PATH`**: 75 rules (74 on by default) for your own PHP code, following request
132
132
  data to `eval`, shell commands, SQL, `unserialize`, includes and redirects.
133
- It follows data through one level of same-file helper, not across files, and
134
- does not replace PHPStan or Psalm. `phpwarden code --list-rules` lists every rule.
133
+ It follows data across files (helper functions and classes elsewhere in the
134
+ project, fixed includes, class properties); it is not a type checker like
135
+ PHPStan or Psalm. `phpwarden code --list-rules` lists every rule.
135
136
  - **`phpwarden assess`**: one ranked list from every view of a site: installed
136
137
  versions, your code, the live site from outside, and the access log, with the
137
138
  reason for each item ("exploited, reachable, visible from outside, already
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "phpwarden"
7
- version = "2.2.0"
7
+ version = "2.2.1"
8
8
  description = "PHP vulnerability scanner for the PHP engine, Composer, WordPress, your own code and the live site. Ranked by real-world exploitation (CISA KEV, then EPSS), not CVSS. Offline, zero dependencies."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.8"
@@ -6,4 +6,4 @@ real-world exploitation (CISA KEV, then EPSS, then CVSS), and can watch PHP-FPM
6
6
  for active exploitation. The engine and the bundled feed are open; free users
7
7
  get weekly feed updates, and a subscription adds the feed rebuilt twice a day.
8
8
  """
9
- __version__ = "2.2.0"
9
+ __version__ = "2.2.1"