apisec-surface 1.4.1__tar.gz → 1.4.2__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.
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/PKG-INFO +1 -1
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/pyproject.toml +1 -1
- apisec_surface-1.4.2/src/apisec_code_bolt/frameworks/python/_flask_common.py +55 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/python/flask_plugin.py +91 -7
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/python/taint_scanner.py +17 -4
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/parsing/python/parser.py +27 -0
- apisec_surface-1.4.2/tests/unit/test_flask_verb_decorators.py +473 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_python_parser.py +38 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_python_taint_scanner.py +38 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/.gitignore +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/README.md +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/__init__.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/__main__.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/analysis/__init__.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/analysis/analyzer.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/analysis/binding_tracker.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/analysis/boundary_detection.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/analysis/build_tool_env.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/analysis/call_graph.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/analysis/call_graph_types.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/analysis/call_resolver.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/analysis/capability_tagger.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/analysis/config_scanner.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/analysis/container_facts.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/analysis/data_flow.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/analysis/dependency_extractor.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/analysis/deployment_routes.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/analysis/firebase_client_usage.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/analysis/firebase_functions_resolver.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/analysis/firestore_rules.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/analysis/flow_analysis.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/analysis/gradle_resolve.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/analysis/gradle_variables.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/analysis/hof_catalog.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/analysis/integration_detector.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/analysis/js_gradle_locks.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/analysis/legacy_contract.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/analysis/literal_scanner.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/analysis/manifest_partitioner.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/analysis/nuget_restore.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/analysis/parse_index.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/analysis/path_normalizer.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/analysis/path_resolution_ladder.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/analysis/read_site_detector.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/analysis/request_patterns.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/analysis/route_like.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/analysis/secret_patterns.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/analysis/secrets_policy.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/analysis/sensitivity_classifier.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/analysis/sink_evidence.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/analysis/surface_enrichment.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/analysis/surface_ledger.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/analysis/surface_reconciliation.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/analysis/template_scanner.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/analysis/test_code.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/analysis/tree_resolver.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/analysis/unsupported_frameworks.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/analysis/url_prefix_resolver.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/analysis/version_resolver.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/cli/__init__.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/cli/exit_codes.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/cli/main.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/cloud/__init__.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/cloud/apisec_client.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/cloud/client.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/core/__init__.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/core/canonical_resolution.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/core/ci_identity.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/core/config.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/core/credentials.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/core/discovery.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/core/log_format.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/core/manifest.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/core/memory_guard.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/core/repo.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/core/runtime_entry_points.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/core/state.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/core/telemetry.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/core/types.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/fingerprinting/__init__.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/__init__.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/_graphql_common.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/_jwt_common.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/_weak_random_common.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/auth_helpers.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/base.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/dotnet/__init__.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/dotnet/_path_helpers.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/dotnet/aspnet_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/dotnet/azure_functions_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/dotnet/csharp_constants.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/dotnet/di_registration.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/dotnet/grpc_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/dotnet/jwt_config_extractor.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/dotnet/legacy_aspnet_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/dotnet/lookup_vocabulary.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/dotnet/object_reference_interprocedural.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/dotnet/refit_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/dotnet/taint_scanner.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/dotnet/wcf_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/dotnet/webforms_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/go/__init__.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/go/gin_auth.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/go/gin_inputs.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/go/gin_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/go/taint_scanner.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/java/__init__.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/java/_annotations.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/java/_constraints.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/java/graphql_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/java/jaxrs_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/java/jwt_config_extractor.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/java/micronaut_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/java/object_reference_micronaut.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/java/object_reference_spring.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/java/servlet_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/java/spring_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/java/taint_scanner.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/js/__init__.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/js/_route_helpers.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/js/_ts_source.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/js/express_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/js/fastify_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/js/firebase_auth.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/js/firebase_callable_body.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/js/firebase_functions_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/js/firestore_admin_taint.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/js/graphql_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/js/koa_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/js/nestjs_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/js/taint_scanner.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/python/__init__.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/python/celery_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/python/click_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/python/django_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/python/fastapi/__init__.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/python/fastapi/plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/python/graphql_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/python/object_reference.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/python/prefect_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/python/weak_hash_facts.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/python/webhook_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/ruby/__init__.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/ruby/_ts_helpers.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/ruby/action_cable_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/ruby/grape_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/ruby/graphql_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/ruby/hanami_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/ruby/padrino_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/ruby/rails_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/ruby/roda_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/ruby/sidekiq_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/ruby/sinatra_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/ruby/taint_scanner.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/ruby/weak_hash_facts.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/parsing/__init__.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/parsing/base.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/parsing/csharp/__init__.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/parsing/csharp/language_services.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/parsing/csharp/literals.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/parsing/csharp/parser.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/parsing/csharp/type_resolver.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/parsing/go/__init__.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/parsing/go/config_values.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/parsing/go/language_services.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/parsing/go/parser.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/parsing/js/__init__.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/parsing/js/language_services.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/parsing/js/parser.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/parsing/jvm/__init__.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/parsing/jvm/language_services.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/parsing/jvm/member_reference.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/parsing/jvm/parser.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/parsing/jvm/type_resolver.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/parsing/python/__init__.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/parsing/python/cbv_extractor.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/parsing/python/constant_resolver.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/parsing/python/cross_file_resolver.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/parsing/python/dynamic_route_detector.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/parsing/python/expression_utils.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/parsing/python/extraction_types.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/parsing/python/language_services.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/parsing/python/parameter_analyzer.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/parsing/python/path_resolver.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/parsing/python/router_registry.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/parsing/python/type_resolver.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/parsing/python/visitors.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/parsing/ruby/__init__.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/parsing/ruby/language_services.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/parsing/ruby/parser.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/parsing/services.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/pkgindex/__init__.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/pkgindex/indexer.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/pkgindex/metadata.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/pkgindex/module_graph.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/pkgindex/package_source.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/query/__init__.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/query/ast_cache.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/query/executor.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/query/handlers.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/query/manifest_context.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/conftest.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/dep_files/.gradle/9.2.0/checksums/checksums.lock +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/dep_files/.gradle/9.2.0/checksums/md5-checksums.bin +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/dep_files/.gradle/9.2.0/checksums/sha1-checksums.bin +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/dep_files/.gradle/9.2.0/fileChanges/last-build.bin +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/dep_files/.gradle/9.2.0/fileHashes/fileHashes.bin +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/dep_files/.gradle/9.2.0/fileHashes/fileHashes.lock +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/dep_files/.gradle/9.2.0/gc.properties +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/dep_files/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/dep_files/.gradle/buildOutputCleanup/cache.properties +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/dep_files/.gradle/vcs-1/gc.properties +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/dep_files/Cargo.toml +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/dep_files/Gemfile.lock +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/dep_files/Pipfile +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/dep_files/build.gradle +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/dep_files/build.gradle.kts +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/dep_files/cyclonedx-agg-all.json +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/dep_files/cyclonedx-agg-runtime.json +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/dep_files/cyclonedx-bom-all.json +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/dep_files/cyclonedx-bom-runtime.json +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/dep_files/go.mod +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/dep_files/package-lock-v1.json +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/dep_files/package-lock.json +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/dep_files/package.json +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/dep_files/packages.lock.json +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/dep_files/pnpm-lock-v5.yaml +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/dep_files/pnpm-lock-v6.yaml +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/dep_files/pnpm-lock-v9-env.yaml +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/dep_files/pnpm-lock-v9-workspace.yaml +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/dep_files/pnpm-lock.yaml +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/dep_files/pom.xml +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/dep_files/pyproject_pep621.toml +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/dep_files/pyproject_poetry.toml +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/dep_files/requirements-dev.txt +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/dep_files/requirements.txt +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/dep_files/setup.cfg +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/dep_files/setup.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/dep_files/yarn-berry.lock +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/dep_files/yarn.lock +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/firebase_webapp/apps/web/package.json +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/firebase_webapp/apps/web/src/App.tsx +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/firebase_webapp/apps/web/src/legacy.js +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/firebase_webapp/firebase.json +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/firebase_webapp/firestore.rules +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/firebase_webapp/pnpm-workspace.yaml +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/firebase_webapp/services/api/package.json +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/firebase_webapp/services/api/src/index.ts +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_django/urls.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_django/views.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_django_cbv_module_alias/urls.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_django_cbv_module_alias/views.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_django_query_params/models.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_django_query_params/urls.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_django_query_params/views.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_express/app.ts +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_express/middleware/authenticate.ts +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_express/routes/auth.ts +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_express/routes/users.ts +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_fastapi/main.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_fastapi/routes/__init__.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_fastapi/routes/users.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_fastapi/services/__init__.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_fastapi/services/user_service.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_auth/firebase.json +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_auth/openapi/gateway.swagger.json +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_auth/package.json +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_auth/packages/shared/package.json +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_auth/packages/shared/src/admin.ts +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_auth/packages/shared/src/auth.ts +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_auth/packages/shared/src/http.ts +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_auth/packages/shared/src/index.ts +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_auth/services/acme/package.json +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_auth/services/acme/src/index.ts +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_auth/services/acme/src/tasks.ts +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_auth/services/acme/src/widgets.ts +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_firestore/firebase.json +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_firestore/package.json +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_firestore/packages/shared/package.json +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_firestore/packages/shared/src/admin.ts +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_firestore/packages/shared/src/auth.ts +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_firestore/packages/shared/src/crud.ts +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_firestore/packages/shared/src/http.ts +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_firestore/packages/shared/src/index.ts +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_firestore/packages/shared/src/triggers.ts +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_firestore/services/identity/package.json +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_firestore/services/identity/src/index.ts +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_firestore/services/identity/src/users.ts +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_firestore/services/orders/package.json +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_firestore/services/orders/src/carts.ts +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_firestore/services/orders/src/index.ts +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_firestore/services/orders/src/orders.ts +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_firestore/services/orders/src/tasks.ts +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_functions/firebase.json +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_functions/package.json +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_functions/packages/shared/package.json +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_functions/packages/shared/src/http.ts +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_functions/packages/shared/src/index.ts +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_functions/packages/shared/src/triggers.ts +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_functions/services/orders/package.json +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_functions/services/orders/src/current.ts +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_functions/services/orders/src/index.ts +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_functions/services/orders/src/orders.ts +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_functions/services/orders/src/tasks.ts +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_functions/services/reports/package.json +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_functions/services/reports/src/extensions.ts +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_functions/services/reports/src/index.ts +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_functions/services/reports/src/legacy.ts +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_functions/services/reports/src/modern.ts +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_functions/services/reports/src/runwith.ts +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_gateway/firebase.json +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_gateway/openapi/gateway.swagger.json +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_gateway/openapi/service.openapi.yaml +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_gateway/packages/shared/package.json +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_gateway/packages/shared/src/http.ts +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_gateway/packages/shared/src/index.ts +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_gateway/services/api/package.json +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_gateway/services/api/src/index.ts +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_gateway/services/api/src/things.ts +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_real_handlers/firebase.json +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_real_handlers/functions/package.json +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_real_handlers/functions/src/index.ts +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_real_handlers/package.json +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_real_handlers/quickstart/functions/index.js +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_firebase_real_handlers/quickstart/functions/package.json +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_flask/app.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_flask_auth/app.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_flask_pydantic/app.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_grape/api.rb +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_mixed_transport/app/cli.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_mixed_transport/app/tasks.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_mixed_transport/app/web.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_mixed_transport/requirements.txt +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_monorepo/apps/service-a/app.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_monorepo/apps/service-a/pyproject.toml +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_monorepo/apps/service-b/app.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_monorepo/apps/service-b/pyproject.toml +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_monorepo/shared_util.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_nestjs/auth.controller.ts +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_nestjs/roles.decorator.ts +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_nestjs/roles.guard.ts +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_nestjs/users.controller.ts +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_polyglot_auth_schemes/services/chatbot/chat_api.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_polyglot_auth_schemes/services/chatbot/pyproject.toml +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_polyglot_auth_schemes/services/community/pyproject.toml +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_polyglot_auth_schemes/services/community/urls.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_polyglot_auth_schemes/services/community/views.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_polyglot_auth_schemes/services/identity/pom.xml +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_polyglot_auth_schemes/services/identity/src/main/java/com/crapi/identity/config/WebSecurityConfig.java +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_polyglot_auth_schemes/services/identity/src/main/java/com/crapi/identity/controller/AuthController.java +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_polyglot_auth_schemes/services/portal/portal_api.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_polyglot_auth_schemes/services/portal/pyproject.toml +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_polyglot_monorepo/services/api-js/index.js +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_polyglot_monorepo/services/api-js/package.json +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_polyglot_monorepo/services/api-py/main.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_polyglot_monorepo/services/api-py/pyproject.toml +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_sinatra/app.rb +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_spring_boot/apisec-code-bolt/state.yaml +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_spring_boot/src/main/java/com/example/demo/config/SecurityConfig.java +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_spring_boot/src/main/java/com/example/demo/controller/UserController.java +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_spring_boot/src/main/java/com/example/demo/model/User.java +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_spring_boot/src/main/java/com/example/demo/service/UserService.java +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/sample_spring_boot/src/main/resources/application.properties +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/surface_accuracy/express-factory/routes/app.js +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/surface_accuracy/spring-mini/demo/BaseController.java +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/surface_accuracy/spring-mini/demo/DisabledController.java +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/surface_accuracy/spring-mini/demo/UserController.java +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/vuln_spring_boot/VULNERABILITIES.md +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/vuln_spring_boot/src/main/java/com/example/vulnapi/config/SecurityConfig.java +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/vuln_spring_boot/src/main/java/com/example/vulnapi/controller/AdminController.java +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/vuln_spring_boot/src/main/java/com/example/vulnapi/controller/OrderController.java +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/vuln_spring_boot/src/main/java/com/example/vulnapi/controller/UserController.java +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/vuln_spring_boot/src/main/java/com/example/vulnapi/model/Order.java +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/vuln_spring_boot/src/main/java/com/example/vulnapi/model/User.java +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/vuln_spring_boot/src/main/java/com/example/vulnapi/service/OrderService.java +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/vuln_spring_boot/src/main/java/com/example/vulnapi/service/UserService.java +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/vuln_spring_boot/src/main/resources/application.properties +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/vulnerable_app/pom.xml +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/vulnerable_app/src/main/java/com/demo/DemoController.java +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/fixtures/vulnerable_app/target/classes/com/demo/DemoController.class +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/integration/__init__.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/integration/test_cli.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/integration/test_cli_upload_decision.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/integration/test_django_analysis.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/integration/test_django_cbv_decorator_auth.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/integration/test_django_mount_prefix_scan_root.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/integration/test_django_query_param_flow.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/integration/test_erb_template_data_flows.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/integration/test_express_analysis.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/integration/test_fastapi_analysis.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/integration/test_firebase_auth_analysis.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/integration/test_firebase_firestore_taint.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/integration/test_firebase_functions_analysis.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/integration/test_firebase_gateway_analysis.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/integration/test_firebase_real_handler_taint.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/integration/test_flask_analysis.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/integration/test_flask_auth_integration.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/integration/test_gin_analysis.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/integration/test_handlebars_stored_data_flows.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/integration/test_jsx_tsx_manifest.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/integration/test_mixed_transport_origin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/integration/test_monorepo_entry_point_id_collision.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/integration/test_monorepo_inherited_dependencies.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/integration/test_monorepo_partitioning.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/integration/test_monorepo_regression.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/integration/test_nestjs_analysis.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/integration/test_polyglot_auth_scheme_fallback.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/integration/test_polyglot_monorepo_auth_boundary.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/integration/test_polyglot_python_prefix_maps.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/integration/test_regression_flask_auth_and_deps.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/integration/test_root_config_autodiscovery.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/integration/test_spring_boot_analysis.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/integration/test_spring_service_impl_flow.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/integration/test_vulnerable_app_reachability_guard.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/test_query/__init__.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/test_query/fixtures/sample_app.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/test_query/test_auth_indicator_matching.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/test_query/test_executor.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/test_query/test_executor_connected.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/test_query/test_handlers.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/test_query/test_read_site_origin_types.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/__init__.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/conftest.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_annotations_path_join.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_answers_submit_404.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_apisec_client.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_apisec_client_enrich.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_aspnet_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_azure_functions_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_benchmark_audit.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_benchmark_compare_auth.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_benchmark_compare_facts.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_benchmark_gcp_monorepo_gt.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_benchmark_reachability.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_benchmark_run.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_boundary_detection.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_call_graph.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_call_resolver_di_ambiguous.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_canonical_resolution.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_cbv_extractor.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_cli_console_url.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_client_data_access_manifest.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_composer_dependencies.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_config.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_config_scanner_framework.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_config_scanner_secret_values.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_constant_resolver.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_container_facts.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_cross_file_resolver.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_csharp_body_source_presence.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_csharp_command_bus_resolution.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_csharp_constants.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_csharp_ctor_local_qualification.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_csharp_efcore_dbset_calls.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_csharp_integration_detector.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_csharp_interface_receiver_resolution.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_csharp_literals.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_csharp_minimal_api_handlers.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_csharp_object_reference_interprocedural.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_csharp_package_call_qualification.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_csharp_package_namespace_roots.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_csharp_property_receiver_resolution.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_csharp_taint_fastendpoints.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_csharp_taint_origin_types.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_csharp_taint_scanner.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_csharp_taint_sink_receivers.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_csharp_type_resolver.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_data_flow.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_decorator_call_edges.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_dependency_parsing.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_deployment_routes.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_discovery.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_django_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_dotnet_custom_authorize.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_dotnet_default_auth.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_dotnet_di_registration.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_dotnet_object_reference_fact.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_dotnet_project_graph.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_dotnet_project_reference_partitions.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_dotnet_route_authorization_fact.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_dynamic_routes.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_entry_point_interface_resolution.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_express_nestjs_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_fastapi_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_fastify_passport_auth.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_fastify_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_firebase_auth_model.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_firebase_callable_body.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_firebase_client_usage.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_firebase_functions_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_firebase_gateway_routes.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_firestore_admin_taint.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_firestore_rules.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_flask_auth_and_deps.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_flask_blueprint_prefix.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_flask_params.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_flask_surface_kind.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_flow_analysis.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_gin_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_github_scan_result_report.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_go_language_services.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_go_parser.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_go_taint_scanner.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_gradle_resolve.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_gradle_variables.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_grape_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_graphql_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_grpc_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_grpc_route_auth.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_instrumentation.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_integration_detection.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_java_autowired_service_flow.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_java_constant_resolver.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_java_parser.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_java_receiver_types.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_java_taint_scanner.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_jaxrs_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_jaxrs_secured_auth.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_js_gradle_locks.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_js_graphql_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_js_handler_functions.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_js_parser.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_js_ruby_dependency_calls.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_js_taint_scanner.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_jwt_config_extraction.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_koa_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_legacy_aspnet_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_legacy_committed_contract.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_legacy_migration.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_manifest_entry_point_gate.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_manifest_partitioner.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_manifest_upload_gzip.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_manifest_upload_refusal.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_memory_guard.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_micronaut_object_reference_fact.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_micronaut_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_monorepo_upload_cli.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_nuget_cpm_pins.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_nuget_restore.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_origin_type_contract.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_parameter_analyzer.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_path_resolution_ladder.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_path_resolver.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_pkgindex.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_pydantic_body_inference.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_python_object_reference_fact.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_python_weak_hash_facts.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_questions_poll_transient.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_rails_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_reachability_idioms.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_read_site_detector.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_refit_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_repo_canonical.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_results_publish_failure.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_route_auth_roles.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_router_registry.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_ruby_graphql_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_ruby_language_services.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_ruby_p6_plugins.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_ruby_weak_hash_facts.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_secret_detection_coverage.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_secret_value_presentation.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_secrets_policy.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_sensitivity_capability.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_servlet_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_sinatra_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_sink_evidence.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_spring_object_reference_fact.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_spring_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_static_route_catchup.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_surface_accuracy_benchmark.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_surface_enrichment.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_surface_enrichment_data_flow_policy.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_surface_extraction_client.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_surface_ledger.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_surface_reconciliation.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_telemetry.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_template_scanner.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_test_fake_implementors.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_transformation_tracking.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_tree_resolver.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_ts_class_method_names.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_type_resolver_selection.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_types.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_unsupported_frameworks.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_upload_verify_timeout.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_url_prefix_resolver.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_verification_outcome_exit.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_version_resolver.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_wcf_plugin.py +0 -0
- {apisec_surface-1.4.1 → apisec_surface-1.4.2}/tests/unit/test_webforms_plugin.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: apisec-surface
|
|
3
|
-
Version: 1.4.
|
|
3
|
+
Version: 1.4.2
|
|
4
4
|
Summary: Static analysis probe for extracting architectural metadata from codebases
|
|
5
5
|
Project-URL: Homepage, https://apisec.ai
|
|
6
6
|
Project-URL: Documentation, https://docs.apisecapps.com/docs/surface
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"""Facts about Flask shared by the route extractor and the Python taint scanner."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
import re
|
|
6
|
+
|
|
7
|
+
# Flask 2.0's verb shorthands: ``@app.get(rule)`` is ``@app.route(rule,
|
|
8
|
+
# methods=["GET"])``. Flask defines exactly these five; there is no
|
|
9
|
+
# ``@app.head`` or ``@app.options``.
|
|
10
|
+
FLASK_VERB_DECORATORS: frozenset[str] = frozenset({"get", "post", "put", "patch", "delete"})
|
|
11
|
+
|
|
12
|
+
# A plain string literal: an optional r/u/b prefix, then a quote. An f-string
|
|
13
|
+
# does not match and is treated as the expression it is.
|
|
14
|
+
_STRING_LITERAL_START_RE = re.compile(r"^[rRuUbB]{0,2}(?P<quote>['\"])")
|
|
15
|
+
# A call whose first argument is a keyword (``key=...``); ``==`` is a comparison.
|
|
16
|
+
_KEYWORD_FIRST_RE = re.compile(r"^[A-Za-z_]\w*\s*=(?!=)")
|
|
17
|
+
# The ``rule`` keyword anywhere in a keyword-only call.
|
|
18
|
+
_RULE_KEYWORD_RE = re.compile(r"(?:^|,)\s*rule\s*=(?!=)")
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
def verb_call_could_register_a_view(raw_arguments: str | None) -> bool:
|
|
22
|
+
"""Whether a verb shorthand call can register a Flask view.
|
|
23
|
+
|
|
24
|
+
``raw_arguments`` is the decorator's argument text between its
|
|
25
|
+
parentheses, or None when the decorator is not called at all.
|
|
26
|
+
|
|
27
|
+
werkzeug's ``Rule.__init__`` refuses any rule that does not start with
|
|
28
|
+
``/`` (``ValueError: URL rule '...' must start with a slash``), and the
|
|
29
|
+
shorthands require the rule, which Flask's keyword spelling names
|
|
30
|
+
``rule=``. So:
|
|
31
|
+
|
|
32
|
+
- not called (``@app.get``) or called with nothing (``@app.get()``):
|
|
33
|
+
cannot register a view;
|
|
34
|
+
- first argument a plain string literal: a view only if it starts with
|
|
35
|
+
``/`` (``@cache.delete("foo")`` and ``@mock.patch("os.path")`` are not);
|
|
36
|
+
- keyword-only (``@app.get(rule="/x")``): a view only with a ``rule``
|
|
37
|
+
keyword (``@cache.delete(key="foo")`` is not);
|
|
38
|
+
- any other first argument (``RULE``, ``settings.RULE``, an f-string,
|
|
39
|
+
``*args``): undecidable, accepted exactly as ``@app.route(RULE)`` is.
|
|
40
|
+
"""
|
|
41
|
+
if raw_arguments is None:
|
|
42
|
+
return False
|
|
43
|
+
raw = raw_arguments.strip()
|
|
44
|
+
if not raw:
|
|
45
|
+
return False
|
|
46
|
+
match = _STRING_LITERAL_START_RE.match(raw)
|
|
47
|
+
if match is not None:
|
|
48
|
+
body = raw[match.end() :]
|
|
49
|
+
quote = match.group("quote")
|
|
50
|
+
if body.startswith(quote * 2): # triple-quoted
|
|
51
|
+
body = body[2:]
|
|
52
|
+
return body.startswith("/")
|
|
53
|
+
if _KEYWORD_FIRST_RE.match(raw):
|
|
54
|
+
return _RULE_KEYWORD_RE.search(raw) is not None
|
|
55
|
+
return True
|
{apisec_surface-1.4.1 → apisec_surface-1.4.2}/src/apisec_code_bolt/frameworks/python/flask_plugin.py
RENAMED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
Flask framework plugin for extracting routes and parameters.
|
|
3
3
|
|
|
4
4
|
Flask uses:
|
|
5
|
-
- @app.route(path) or @bp.route(path) with methods
|
|
5
|
+
- @app.route(path) or @bp.route(path) with methods, or the Flask 2.0 verb
|
|
6
|
+
shorthands @app.get(path) / @bp.post(path) / put / patch / delete
|
|
6
7
|
- Path params: <int:id>, <uuid:pk> (converted to {id}, {pk})
|
|
7
8
|
- Parameters: from request.args, request.form, request.get_json() in handler body
|
|
8
9
|
(read-site detection handles these; we extract route structure here)
|
|
@@ -39,6 +40,7 @@ from ..base import (
|
|
|
39
40
|
ExtractedRoute,
|
|
40
41
|
FrameworkPluginRegistry,
|
|
41
42
|
)
|
|
43
|
+
from ._flask_common import FLASK_VERB_DECORATORS, verb_call_could_register_a_view
|
|
42
44
|
|
|
43
45
|
if TYPE_CHECKING:
|
|
44
46
|
from ...parsing.services import AnalysisContext
|
|
@@ -80,6 +82,54 @@ HTTP_METHOD_MAP = {
|
|
|
80
82
|
"options": HttpMethod.OPTIONS,
|
|
81
83
|
}
|
|
82
84
|
|
|
85
|
+
|
|
86
|
+
def _file_uses_flask_not_fastapi(parsed_file: ParsedFile) -> bool:
|
|
87
|
+
"""Whether the verb shorthands in this file are Flask's.
|
|
88
|
+
|
|
89
|
+
FastAPI spells its decorators identically (``@app.get("/x")``), so a
|
|
90
|
+
verb is only Flask's when the file imports Flask or a Flask extension
|
|
91
|
+
and not FastAPI. ``route`` needs no such gate: FastAPI has no
|
|
92
|
+
``@app.route``.
|
|
93
|
+
|
|
94
|
+
Same gate concept as ``_imports_flask`` in the Python taint scanner,
|
|
95
|
+
stricter here: that one is a raw source scan for ``from flask`` /
|
|
96
|
+
``import flask`` and keeps a file that also imports FastAPI, this one
|
|
97
|
+
reads the parsed import table and excludes it. If the two are ever
|
|
98
|
+
unified, unify toward this one.
|
|
99
|
+
"""
|
|
100
|
+
roots = {(imp.module or "").split(".")[0].lower() for imp in parsed_file.imports}
|
|
101
|
+
return any(root.startswith("flask") for root in roots) and "fastapi" not in roots
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
def _could_be_a_url_rule(dec: ParsedDecorator) -> bool:
|
|
105
|
+
"""Whether a verb shorthand decorator can register a Flask view.
|
|
106
|
+
|
|
107
|
+
Judged from the decorator's recorded argument text by
|
|
108
|
+
``verb_call_could_register_a_view``, which the Python taint scanner
|
|
109
|
+
shares, so both consumers agree on what is a view. Taking another
|
|
110
|
+
library's ``@X.get/post/put/patch/delete(...)`` (``@mock.patch(...)``,
|
|
111
|
+
``@cache.delete(...)``) as the route decorator would invent a phantom
|
|
112
|
+
endpoint and, worse, hide the real ``@app.route`` stacked under it.
|
|
113
|
+
"""
|
|
114
|
+
if dec.raw_arguments is None and dec.positional_args:
|
|
115
|
+
# A decorator built without recorded text but with arguments
|
|
116
|
+
# (hand-made in tests) stays undecidable.
|
|
117
|
+
return True
|
|
118
|
+
return verb_call_could_register_a_view(dec.raw_arguments)
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
def _flask_receivers(parsed_file: ParsedFile) -> set[str]:
|
|
122
|
+
"""Module-level names this file binds to ``Flask(...)`` or ``Blueprint(...)``."""
|
|
123
|
+
receivers: set[str] = set()
|
|
124
|
+
for assign in parsed_file.assignments:
|
|
125
|
+
if assign.in_function is not None or assign.source_type != "call":
|
|
126
|
+
continue
|
|
127
|
+
callee = (assign.source_call or "").rsplit(".", 1)[-1]
|
|
128
|
+
if callee in ("Flask", "Blueprint"):
|
|
129
|
+
receivers.add(assign.target)
|
|
130
|
+
return receivers
|
|
131
|
+
|
|
132
|
+
|
|
83
133
|
# ── Auth detection ──────────────────────────────────────────────────────────
|
|
84
134
|
|
|
85
135
|
# Decorator names that protect routes with Flask-Login (session-based auth).
|
|
@@ -215,8 +265,8 @@ class FlaskPlugin(BaseFrameworkPlugin):
|
|
|
215
265
|
parsed_file: ParsedFile,
|
|
216
266
|
blueprint_prefixes: dict[str, list[str]] | None = None,
|
|
217
267
|
) -> list[ExtractedRoute]:
|
|
218
|
-
"""Extract route(s) from a function
|
|
219
|
-
dec = self._find_route_decorator(func)
|
|
268
|
+
"""Extract route(s) from a function registered as a Flask view."""
|
|
269
|
+
dec = self._find_route_decorator(func, parsed_file)
|
|
220
270
|
if not dec:
|
|
221
271
|
return []
|
|
222
272
|
|
|
@@ -369,8 +419,31 @@ class FlaskPlugin(BaseFrameworkPlugin):
|
|
|
369
419
|
)
|
|
370
420
|
return None
|
|
371
421
|
|
|
372
|
-
def _find_route_decorator(
|
|
373
|
-
|
|
422
|
+
def _find_route_decorator(
|
|
423
|
+
self, func: ParsedFunction, parsed_file: ParsedFile
|
|
424
|
+
) -> ParsedDecorator | None:
|
|
425
|
+
"""Find the decorator that registers ``func`` as a Flask view.
|
|
426
|
+
|
|
427
|
+
Two spellings do that:
|
|
428
|
+
- ``@app.route(path, methods=[...])`` / ``@bp.route(...)``;
|
|
429
|
+
- the Flask 2.0 verb shorthands ``@app.get(path)``, ``@bp.post(path)``,
|
|
430
|
+
``put``, ``patch`` and ``delete``, each ``route`` with one method.
|
|
431
|
+
|
|
432
|
+
A shorthand counts only on a dotted receiver (``@X.get``, never a bare
|
|
433
|
+
``@get``), only when the verb is Flask's rather than FastAPI's, and
|
|
434
|
+
only when its arguments can register a view (see
|
|
435
|
+
``_could_be_a_url_rule``): other libraries spell
|
|
436
|
+
``@X.get/post/put/patch/delete(...)`` too, and one of those stacked
|
|
437
|
+
above the real ``@app.route`` must not take its place.
|
|
438
|
+
|
|
439
|
+
The verb is Flask's when the file imports Flask and not FastAPI (see
|
|
440
|
+
``_file_uses_flask_not_fastapi``), or, in a file importing both, when
|
|
441
|
+
its receiver is a name the file binds to ``Flask(...)`` or
|
|
442
|
+
``Blueprint(...)``. Any other receiver in a mixed file stays
|
|
443
|
+
FastAPI's.
|
|
444
|
+
"""
|
|
445
|
+
verbs_are_flask = _file_uses_flask_not_fastapi(parsed_file)
|
|
446
|
+
flask_receivers = set() if verbs_are_flask else _flask_receivers(parsed_file)
|
|
374
447
|
for dec in func.decorators:
|
|
375
448
|
name = (dec.name or "").lower()
|
|
376
449
|
full = (
|
|
@@ -380,6 +453,13 @@ class FlaskPlugin(BaseFrameworkPlugin):
|
|
|
380
453
|
)
|
|
381
454
|
if "route" in name or "route" in full:
|
|
382
455
|
return dec
|
|
456
|
+
if (
|
|
457
|
+
name in FLASK_VERB_DECORATORS
|
|
458
|
+
and "." in full
|
|
459
|
+
and (verbs_are_flask or full.rsplit(".", 1)[0] in flask_receivers)
|
|
460
|
+
and _could_be_a_url_rule(dec)
|
|
461
|
+
):
|
|
462
|
+
return dec
|
|
383
463
|
return None
|
|
384
464
|
|
|
385
465
|
def _route_decorator_receiver(self, dec: ParsedDecorator) -> str:
|
|
@@ -415,6 +495,10 @@ class FlaskPlugin(BaseFrameworkPlugin):
|
|
|
415
495
|
|
|
416
496
|
def _extract_methods(self, dec: ParsedDecorator) -> list[HttpMethod]:
|
|
417
497
|
"""Extract HTTP methods from decorator."""
|
|
498
|
+
# A verb shorthand names its one method; it takes no ``methods=``.
|
|
499
|
+
verb = (dec.name or "").lower()
|
|
500
|
+
if verb in FLASK_VERB_DECORATORS:
|
|
501
|
+
return [HTTP_METHOD_MAP[verb]]
|
|
418
502
|
methods = dec.arguments.get("methods")
|
|
419
503
|
if isinstance(methods, list):
|
|
420
504
|
return [HTTP_METHOD_MAP.get(str(m).lower(), HttpMethod.GET) for m in methods]
|
|
@@ -630,8 +714,8 @@ class FlaskPlugin(BaseFrameworkPlugin):
|
|
|
630
714
|
continue
|
|
631
715
|
name_lower = name.lower()
|
|
632
716
|
|
|
633
|
-
# Skip the route decorator itself
|
|
634
|
-
if "route" in name_lower:
|
|
717
|
+
# Skip the route decorator itself, in either spelling
|
|
718
|
+
if "route" in name_lower or name_lower in FLASK_VERB_DECORATORS:
|
|
635
719
|
continue
|
|
636
720
|
|
|
637
721
|
# Known auth decorators
|
|
@@ -68,6 +68,7 @@ from .._weak_random_common import (
|
|
|
68
68
|
WEAK_RANDOM_SINK_TYPE,
|
|
69
69
|
is_credential_name,
|
|
70
70
|
)
|
|
71
|
+
from ._flask_common import FLASK_VERB_DECORATORS, verb_call_could_register_a_view
|
|
71
72
|
|
|
72
73
|
if TYPE_CHECKING:
|
|
73
74
|
pass
|
|
@@ -446,9 +447,6 @@ _SINK_BY_CALLEE: dict[str, list[_Sink]] = _build_sink_table()
|
|
|
446
447
|
# becomes the HTTP response body. That's a distinct sink shape from _Sink's
|
|
447
448
|
# call-based matching (callee + arg_index) since the "call" here is implicit —
|
|
448
449
|
# the sink is the return statement itself, not a function invocation.
|
|
449
|
-
# Flask 2.0's verb shorthands for @app.route(..., methods=[...]).
|
|
450
|
-
_FLASK_VERB_DECORATORS: frozenset[str] = frozenset({"get", "post", "put", "patch", "delete"})
|
|
451
|
-
|
|
452
450
|
_FLASK_IMPORT_MARKERS: tuple[bytes, ...] = (b"from flask", b"import flask")
|
|
453
451
|
|
|
454
452
|
|
|
@@ -712,6 +710,11 @@ class PythonTaintScanner:
|
|
|
712
710
|
a bare ``return tainted`` there is not an HTML sink. Accepting the
|
|
713
711
|
verbs unconditionally would make every FastAPI endpoint an XSS
|
|
714
712
|
finding. ``route`` needs no such gate -- FastAPI has no ``@app.route``.
|
|
713
|
+
|
|
714
|
+
A verb must also be able to register a view, by the same rule-shape
|
|
715
|
+
test the route extractor applies (``verb_call_could_register_a_view``):
|
|
716
|
+
``@cache.delete("foo")`` on a helper does not make it an HTTP entry
|
|
717
|
+
point.
|
|
715
718
|
"""
|
|
716
719
|
parent = func_node.parent
|
|
717
720
|
if parent is None or parent.type != "decorated_definition":
|
|
@@ -722,7 +725,13 @@ class PythonTaintScanner:
|
|
|
722
725
|
expr = next((c for c in dec.children if c.type != "@"), None)
|
|
723
726
|
if expr is None:
|
|
724
727
|
continue
|
|
728
|
+
raw_arguments: str | None = None
|
|
725
729
|
if expr.type == "call":
|
|
730
|
+
args = expr.child_by_field_name("arguments")
|
|
731
|
+
if args is not None:
|
|
732
|
+
raw_arguments = src[args.start_byte + 1 : args.end_byte - 1].decode(
|
|
733
|
+
"utf-8", errors="replace"
|
|
734
|
+
)
|
|
726
735
|
func = expr.child_by_field_name("function")
|
|
727
736
|
if func is not None:
|
|
728
737
|
expr = func
|
|
@@ -740,7 +749,11 @@ class PythonTaintScanner:
|
|
|
740
749
|
lowered = name.lower()
|
|
741
750
|
if lowered == "route":
|
|
742
751
|
return True
|
|
743
|
-
if
|
|
752
|
+
if (
|
|
753
|
+
lowered in FLASK_VERB_DECORATORS
|
|
754
|
+
and _imports_flask(src)
|
|
755
|
+
and verb_call_could_register_a_view(raw_arguments)
|
|
756
|
+
):
|
|
744
757
|
return True
|
|
745
758
|
return False
|
|
746
759
|
|
|
@@ -47,6 +47,31 @@ if TYPE_CHECKING:
|
|
|
47
47
|
from .visitors import ExtractedClass, ExtractedField, ExtractedFunction
|
|
48
48
|
|
|
49
49
|
|
|
50
|
+
def _decorator_raw_arguments(raw_source: str | None) -> str | None:
|
|
51
|
+
"""The text between a decorator call's parentheses, or None for ``@name``.
|
|
52
|
+
|
|
53
|
+
``@app.get("/x")`` gives ``"/x"`` with its quotes and ``@app.get(RULE)``
|
|
54
|
+
gives ``RULE``: the one place a consumer can still tell a string literal
|
|
55
|
+
from an expression, since ``positional_args`` carries a literal's value
|
|
56
|
+
and an expression's source text alike.
|
|
57
|
+
"""
|
|
58
|
+
if not raw_source:
|
|
59
|
+
return None
|
|
60
|
+
start = raw_source.find("(")
|
|
61
|
+
if start < 0:
|
|
62
|
+
return None
|
|
63
|
+
depth = 0
|
|
64
|
+
for index in range(start, len(raw_source)):
|
|
65
|
+
char = raw_source[index]
|
|
66
|
+
if char == "(":
|
|
67
|
+
depth += 1
|
|
68
|
+
elif char == ")":
|
|
69
|
+
depth -= 1
|
|
70
|
+
if depth == 0:
|
|
71
|
+
return raw_source[start + 1 : index]
|
|
72
|
+
return None
|
|
73
|
+
|
|
74
|
+
|
|
50
75
|
# =============================================================================
|
|
51
76
|
# Python Parser
|
|
52
77
|
# =============================================================================
|
|
@@ -289,6 +314,7 @@ class PythonParser(BaseParser):
|
|
|
289
314
|
arguments=d.arguments,
|
|
290
315
|
positional_args=d.positional_args,
|
|
291
316
|
location=d.location,
|
|
317
|
+
raw_arguments=_decorator_raw_arguments(d.raw_source),
|
|
292
318
|
)
|
|
293
319
|
for d in func.decorators
|
|
294
320
|
]
|
|
@@ -355,6 +381,7 @@ class PythonParser(BaseParser):
|
|
|
355
381
|
arguments=d.arguments,
|
|
356
382
|
positional_args=d.positional_args,
|
|
357
383
|
location=d.location,
|
|
384
|
+
raw_arguments=_decorator_raw_arguments(d.raw_source),
|
|
358
385
|
)
|
|
359
386
|
for d in cls.decorators
|
|
360
387
|
]
|