Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation
This report summarizes scanner evidence for juspay/hyperswitch, a Rust project with 45,588 GitHub stars. SynthScan examined 1,914,751 lines of code across 12444 source files, recording 2533 pattern matches distributed across 18 syntactic categories. The legacy adjusted pattern signal is 1.6 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 1405 finding(s).
Are imports declared and package/API names verified? 944 finding(s).
Are wrappers, guards, and repeated structures necessary? 215 finding(s).
Which changes need focused human review? 2533 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 2533 distinct pattern matches across 18 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crates/common_utils/src/payout_method_utils.rs | 73 | #[schema(value_type = String, example = "John Doe")] | COMMENT |
| LOW | crates/common_utils/src/payout_method_utils.rs | 132 | #[schema(value_type = Option<String>, example = "John Doe")] | COMMENT |
| LOW | crates/common_utils/src/payout_method_utils.rs | 162 | #[schema(value_type = Option<String>, example = "John Doe")] | COMMENT |
| LOW | crates/common_utils/src/payout_method_utils.rs | 192 | #[schema(value_type = Option<String>, example = "John Doe")] | COMMENT |
| LOW | crates/common_utils/src/payout_method_utils.rs | 230 | #[schema(value_type = Option<String>, example = "John Doe")] | COMMENT |
| LOW | crates/common_utils/src/payout_method_utils.rs | 253 | #[schema(value_type = Option<String>, example = "John Doe")] | COMMENT |
| LOW | crates/common_utils/src/payout_method_utils.rs | 408 | #[schema(value_type = String, example = "John Doe")] | COMMENT |
| LOW | crates/common_utils/src/payout_method_utils.rs | 426 | #[schema(value_type = String, example = "John Doe")] | COMMENT |
| LOW | crates/common_utils/src/payout_method_utils.rs | 458 | #[schema(value_type = String, example = "John Doe")] | COMMENT |
| LOW | crates/common_utils/src/payout_method_utils.rs | 471 | #[schema(value_type = String, example = "John Doe")] | COMMENT |
| LOW | …hyperswitch_domain_models/src/router_response_types.rs | 971 | Some("Jane Doe".to_string()), | CODE |
| LOW | crates/test_utils/tests/connectors/nuvei_ui.rs | 122 | Event::Trigger(Trigger::ChangeQueryParam("sender_holder", "John Doe")), | CODE |
| LOW | crates/test_utils/tests/connectors/nuvei_ui.rs | 136 | Event::Trigger(Trigger::SendKeys(By::Id("ctl00_ctl00_mainContent_ServiceContent_txtCustomerName"), "John Doe | CODE |
| LOW | crates/diesel_models/src/payment_attempt.rs | 4882 | "card_holder_name": "John Doe" | CODE |
| LOW | crates/openapi/src/routes/merchant_account.rs | 76 | "primary_contact_person": "John Doe", | CODE |
| LOW | crates/openapi/src/routes/merchant_account.rs | 87 | "key_1": "John Doe", | CODE |
| LOW | crates/openapi/src/routes/merchant_account.rs | 208 | "primary_contact_person": "John Doe", | CODE |
| LOW | crates/openapi/src/routes/payment_method.rs | 19 | "card_holder_name": "John Doe" | CODE |
| LOW | crates/openapi/src/routes/payments.rs | 208 | "name": "John Doe", | CODE |
| LOW | crates/openapi/src/routes/customers.rs | 13 | "name": "John Doe" | CODE |
| LOW | crates/openapi/src/routes/customers.rs | 58 | "name": "John Doe" | CODE |
| LOW | crates/openapi/src/routes/customers.rs | 130 | "name": "John Doe" | CODE |
| LOW | crates/openapi/src/routes/customers.rs | 165 | "name": "John Doe" | CODE |
| LOW | crates/openapi/src/routes/customers.rs | 294 | "name": "John Doe" | CODE |
| LOW | crates/openapi/src/routes/customers.rs | 328 | "name": "John Doe" | CODE |
| LOW | crates/api_models/src/payment_methods.rs | 929 | #[schema(value_type = String,example = "John Doe")] | COMMENT |
| LOW | crates/api_models/src/payment_methods.rs | 933 | #[schema(value_type = Option<String>,example = "John Doe")] | COMMENT |
| LOW | crates/api_models/src/payment_methods.rs | 1004 | #[schema(value_type = String,example = "John Doe")] | COMMENT |
| LOW | crates/api_models/src/payment_methods.rs | 1008 | #[schema(value_type = Option<String>,example = "John Doe")] | COMMENT |
| LOW | crates/api_models/src/payment_methods.rs | 1080 | #[schema(value_type = Option<String>,example = "John Doe")] | COMMENT |
| LOW | crates/api_models/src/payment_methods.rs | 1084 | #[schema(value_type = String,example = "John Doe")] | COMMENT |
| LOW | crates/api_models/src/payment_methods.rs | 1109 | #[schema(value_type = String,example = "John Doe")] | COMMENT |
| LOW | crates/api_models/src/payment_methods.rs | 1113 | #[schema(value_type = Option<String>,example = "John Doe")] | COMMENT |
| LOW | crates/api_models/src/payment_methods.rs | 1160 | #[schema(value_type = String,example = "John Doe")] | COMMENT |
| LOW | crates/api_models/src/payment_methods.rs | 1164 | #[schema(value_type = Option<String>,example = "John Doe")] | COMMENT |
| LOW | crates/api_models/src/payment_methods.rs | 1218 | #[schema(value_type = String, example = "John Doe")] | COMMENT |
| LOW | crates/api_models/src/payment_methods.rs | 1222 | #[schema(value_type = Option<String>, example = "John Doe")] | COMMENT |
| LOW | crates/api_models/src/payment_methods.rs | 1284 | #[schema(value_type = String,example = "John Doe")] | COMMENT |
| LOW | crates/api_models/src/payment_methods.rs | 1288 | #[schema(value_type = Option<String>,example = "John Doe")] | COMMENT |
| LOW | crates/api_models/src/payment_methods.rs | 1897 | #[schema(value_type = Option<String>, example = "John Doe")] | COMMENT |
| LOW | crates/api_models/src/payment_methods.rs | 2221 | #[schema(value_type=Option<String>, example = "John Doe")] | COMMENT |
| LOW | crates/api_models/src/payment_methods.rs | 4729 | #[schema(value_type = Option<String>, example = "John Doe")] | COMMENT |
| LOW | crates/api_models/src/payment_methods.rs | 4733 | #[schema(value_type = Option<String>, example = "John Doe")] | COMMENT |
| LOW | crates/api_models/src/payment_methods.rs | 64 | "card_holder_name": "John Doe"}))] | CODE |
| LOW | crates/api_models/src/payment_methods.rs | 563 | "card_holder_name": "John Doe"}))] | CODE |
| LOW | crates/api_models/src/payouts.rs | 401 | #[schema(value_type = String, example = "John Doe")] | COMMENT |
| LOW | crates/api_models/src/payouts.rs | 463 | #[schema(value_type = Option<String>, example = "John Doe")] | COMMENT |
| LOW | crates/api_models/src/payouts.rs | 490 | #[schema(value_type = Option<String>, example = "John Doe")] | COMMENT |
| LOW | crates/api_models/src/payouts.rs | 518 | #[schema(value_type = Option<String>, example = "John Doe")] | COMMENT |
| LOW | crates/api_models/src/payouts.rs | 561 | #[schema(value_type = Option<String>, example = "John Doe")] | COMMENT |
| LOW | crates/api_models/src/payouts.rs | 596 | #[schema(value_type = Option<String>, example = "John Doe")] | COMMENT |
| LOW | crates/api_models/src/payouts.rs | 621 | #[schema(value_type = Option<String>, example = "John Doe")] | COMMENT |
| LOW | crates/api_models/src/payouts.rs | 710 | #[schema(value_type = String, example = "John Doe")] | COMMENT |
| LOW | crates/api_models/src/payouts.rs | 720 | #[schema(value_type = String, example = "John Doe")] | COMMENT |
| LOW | crates/api_models/src/payouts.rs | 812 | #[schema(value_type = String, example = "John Doe")] | COMMENT |
| LOW | crates/api_models/src/payouts.rs | 835 | #[schema(value_type = String, example = "John Doe")] | COMMENT |
| LOW | crates/api_models/src/payments.rs | 153 | #[schema(max_length = 255, value_type = Option<String>, example = "John Doe")] | COMMENT |
| LOW | crates/api_models/src/payments.rs | 209 | #[schema(max_length = 255, value_type = Option<String>, example = "John Doe")] | COMMENT |
| LOW | crates/api_models/src/payments.rs | 239 | #[schema(max_length = 255, value_type = Option<String>, example = "John Doe")] | COMMENT |
| LOW | crates/api_models/src/payments.rs | 3223 | #[schema(value_type = String, example = "John Doe")] | COMMENT |
| 869 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crates/storage_impl/src/platform_wrapper.rs | 1 | /// Platform wrapper for database operations | COMMENT |
| LOW | crates/storage_impl/src/merchant_connector_account.rs | 21 | /// Every list query in this module is a row-subset of one of two supersets — all accounts | COMMENT |
| LOW | crates/storage_impl/src/utils.rs | 21 | // Replay-only fail-loud: a faithless replay (mis-routed / missing schema) must | COMMENT |
| LOW | crates/storage_impl/src/redis/cache.rs | 41 | /// Largest percentage of a redis TTL that jitter may add on top: `10` -> up to 10% more. | COMMENT |
| LOW | crates/storage_impl/src/redis/cache.rs | 61 | /// `time_to_idle`, since these caches are keyed per merchant and profile and an entry unread | COMMENT |
| LOW | crates/storage_impl/src/redis/cache.rs | 141 | COMMENT | |
| LOW | crates/storage_impl/src/redis/cache.rs | 481 | } else { | COMMENT |
| LOW | crates/storage_impl/src/redis/cache.rs | 821 | /// The redis lifetime that lets redis, rather than the database, absorb a miss from this | COMMENT |
| LOW | crates/common_utils/src/tokenization.rs | 1 | //! Module for tokenization-related functionality | COMMENT |
| LOW | crates/common_utils/src/consts.rs | 141 | /// www.example.com | COMMENT |
| LOW | crates/common_utils/src/types.rs | 1021 | // TODO: Remove this function in future once description in router data is updated to domain type | COMMENT |
| LOW | crates/common_utils/src/types.rs | 1301 | /// Card subtype on this rail (issuer product name). | COMMENT |
| LOW | crates/common_utils/src/types.rs | 1321 | /// Co-badged card networks for a card BIN, stored as a JSONB array of [`SecondaryNetwork`] objects | COMMENT |
| LOW | crates/common_utils/src/types.rs | 1341 | /// The name of the regulated interchange cap | COMMENT |
| LOW | crates/common_utils/src/types.rs | 1361 | /// The `cost` column of `cards_info` — a JSON array of interchange caps. | COMMENT |
| LOW | crates/common_utils/src/types.rs | 1381 | #[derive(Clone, Debug, Default, PartialEq, Eq, serde::Serialize, serde::Deserialize)] | COMMENT |
| LOW | crates/common_utils/src/lib.rs | 121 | /// | COMMENT |
| LOW | crates/common_utils/src/lib.rs | 341 | feature = "deja", | COMMENT |
| LOW | crates/common_utils/src/lib.rs | 401 | .collect() | COMMENT |
| LOW | crates/common_utils/src/lib.rs | 521 | /// The current process id. | COMMENT |
| LOW | crates/common_utils/src/lib.rs | 541 | /// Ambient state, like [`process_id`]: it differs between a recording host and a | COMMENT |
| LOW | crates/common_utils/src/new_type.rs | 21 | )] | COMMENT |
| LOW | crates/common_utils/src/new_type.rs | 41 | /// - Otherwise, keeps `unmasked_char_count` characters unmasked only at the end. | COMMENT |
| LOW | crates/common_utils/src/synth_shape.rs | 1 | //! Deterministic, panic-free stand-ins for a generator's output on a replay miss. | COMMENT |
| LOW | crates/common_utils/src/errors.rs | 21 | #[error("Failed to parse enum: {0}")] | COMMENT |
| LOW | crates/common_utils/src/errors.rs | 41 | /// Failed to parse Float value for converting to decimal points | COMMENT |
| LOW | crates/common_utils/src/errors.rs | 61 | IntegerOverflow, | COMMENT |
| LOW | crates/common_utils/src/errors.rs | 101 | EncodingFailed, | COMMENT |
| LOW | crates/common_utils/src/errors.rs | 121 | COMMENT | |
| LOW | crates/common_utils/src/ucs_types.rs | 1 | use crate::id_type; | COMMENT |
| LOW | crates/common_utils/src/ucs_types.rs | 41 | /// Represents a resource ID for the Unified Connector Service (UCS). | COMMENT |
| LOW | crates/common_utils/src/macros.rs | 441 | /// # Use Case | COMMENT |
| LOW | crates/common_utils/src/macros.rs | 461 | /// 4. **Tag Delimiter:** The macro invocation must specify a `tag_delimiter` literal, | COMMENT |
| LOW | crates/common_utils/src/macros.rs | 481 | /// | COMMENT |
| LOW | crates/common_utils/src/macros.rs | 501 | /// tag_delimiter = ":", | COMMENT |
| LOW | crates/common_utils/src/macros.rs | 521 | /// assert_eq!(invalid_format, Setting::Invalid); // Malformed input yields Invalid | COMMENT |
| LOW | crates/common_utils/src/payout_method_utils.rs | 61 | /// Extended bin of card, contains the first 8 digits of card number | COMMENT |
| LOW | crates/common_utils/src/payout_method_utils.rs | 101 | } | COMMENT |
| LOW | crates/common_utils/src/payout_method_utils.rs | 161 | /// Account holder name | COMMENT |
| LOW | crates/common_utils/src/payout_method_utils.rs | 241 | COMMENT | |
| LOW | crates/common_utils/src/payout_method_utils.rs | 261 | /// Masked payout method details for PayShap proxy bank transfer payout method | COMMENT |
| LOW | crates/common_utils/src/payout_method_utils.rs | 301 | /// The bank account type | COMMENT |
| LOW | crates/common_utils/src/payout_method_utils.rs | 321 | /// The account number, identifying the end-user's account in the bank. | COMMENT |
| LOW | crates/common_utils/src/payout_method_utils.rs | 341 | /// Additional data for paypal wallet payout method | COMMENT |
| LOW | crates/common_utils/src/payout_method_utils.rs | 361 | #[serde(tag = "field_type", rename_all = "snake_case")] | COMMENT |
| LOW | crates/common_utils/src/payout_method_utils.rs | 381 | }, | COMMENT |
| LOW | crates/common_utils/src/payout_method_utils.rs | 421 | /// Card expiry year | COMMENT |
| LOW | crates/common_utils/src/payout_method_utils.rs | 441 | COMMENT | |
| LOW | crates/common_utils/src/payout_method_utils.rs | 461 | #[schema(value_type = String, example = "DE89370400440532013000")] | COMMENT |
| LOW | crates/common_utils/src/link_utils.rs | 141 | COMMENT | |
| LOW | crates/common_utils/src/crypto.rs | 61 | COMMENT | |
| LOW | crates/common_utils/src/crypto.rs | 981 | Ok(()) | COMMENT |
| LOW | crates/common_utils/src/crypto.rs | 1141 | } | COMMENT |
| LOW | crates/common_utils/src/custom_serde.rs | 1 | //! Custom serialization/deserialization implementations. | COMMENT |
| LOW | crates/common_utils/src/types/list.rs | 1 | //! List-query pagination and sorting types. | COMMENT |
| LOW | crates/common_utils/src/types/authentication.rs | 21 | /// MerchantLevel: Authentication at the merchant level | COMMENT |
| LOW | crates/common_utils/src/id_type/global_id/customer.rs | 1 | use crate::errors; | COMMENT |
| LOW | crates/hyperswitch_domain_models/src/payments.rs | 1001 | /// Denotes the last instance which updated the payment | COMMENT |
| LOW | crates/hyperswitch_domain_models/src/payments.rs | 1021 | /// The billing address for the order in a denormalized form. | COMMENT |
| LOW | …s/hyperswitch_domain_models/src/connector_endpoints.rs | 221 | /// struct ConnectorParamsWithKeys | COMMENT |
| 1090 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …ch_connectors/src/connector_relay/fiservcommercehub.rs | 72 | // ── Status Mapping ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ch_connectors/src/connector_relay/fiservcommercehub.rs | 104 | // ── Request Structs ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ch_connectors/src/connector_relay/fiservcommercehub.rs | 183 | // ── Response Structs ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ch_connectors/src/connector_relay/fiservcommercehub.rs | 274 | // ── Helper Methods ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/api_models/src/unreferenced_refund.rs | 9 | // ─── Request ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/api_models/src/unreferenced_refund.rs | 70 | // ─── Response ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/redis_interface/src/test.rs | 22 | // ─── Helpers ────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/redis_interface/src/test.rs | 110 | // ─── Consumer Group Validation ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/redis_interface/src/test.rs | 140 | // ─── Key Commands ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/redis_interface/src/test.rs | 542 | // ─── Get / Multiple Keys ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/redis_interface/src/test.rs | 761 | // ─── Serialization ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/redis_interface/src/test.rs | 874 | // ─── TTL ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/redis_interface/src/test.rs | 931 | // ─── Hash Commands ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/redis_interface/src/test.rs | 1176 | // ─── MSETNX ─────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/redis_interface/src/test.rs | 1268 | // ─── Stream Commands ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/redis_interface/src/test.rs | 1586 | // ─── Consumer Group Commands ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/redis_interface/src/test.rs | 1850 | // ─── List Commands ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/redis_interface/src/test.rs | 1885 | // ─── Lua Scripts ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/redis_interface/src/test.rs | 1960 | // ─── SCAN ───────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/redis_interface/src/test.rs | 1999 | // ─── Pub/Sub ────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/redis_interface/src/test.rs | 2071 | // ─── on_error / max_failure_threshold_seconds ───────────────────────────────── | COMMENT |
| MEDIUM | crates/redis_interface/src/test.rs | 2162 | // ─── Cluster-mode tests ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/redis_interface/src/test.rs | 2373 | // ─── Authenticated connections (Redis ACL / AUTH) ───────────────────────────── | COMMENT |
| MEDIUM | crates/redis_interface/src/test.rs | 2522 | // ─── TLS connections (`rediss://`) ──────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/redis_interface/src/types.rs | 15 | // ─── RedisValue — wrapper whose inner type depends on the active backend ───── | COMMENT |
| MEDIUM | crates/redis_interface/src/types.rs | 27 | // ─── Shared configuration types ───────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/redis_interface/src/types.rs | 254 | // ─── RedisEntryId ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/redis_interface/src/types.rs | 285 | // ─── Reply type enums ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/redis_interface/src/types.rs | 383 | // ─── Stream types ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/redis_interface/src/types.rs | 405 | // ─── Stream trim types ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/redis_interface/src/types.rs | 482 | // ─── RedisKey ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/redis_interface/src/types.rs | 509 | // ─── Tests (backend-neutral only) ──────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/redis_interface/src/module/redis_rs.rs | 21 | // ─── Cluster abstraction ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/redis_interface/src/module/redis_rs.rs | 63 | // ─── Subscriber client with auto-resubscribe ──────────────────────────────── | COMMENT |
| MEDIUM | crates/redis_interface/src/module/redis_rs.rs | 328 | // ─── Publisher client ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/redis_interface/src/module/redis_rs.rs | 352 | // ─── Connection pool ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/redis_interface/src/module/redis_rs.rs | 611 | // ─── RedisSettings helpers (redis-rs backend only) ──────────────────────────── | COMMENT |
| MEDIUM | crates/redis_interface/src/module/fred.rs | 26 | // ─── RedisClient (publisher) ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/redis_interface/src/module/fred.rs | 67 | // ─── SubscriberClient ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/redis_interface/src/module/fred.rs | 170 | // ─── Connection pool ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/redis_interface/src/module/fred.rs | 435 | // ─── RedisConfig ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/redis_interface/src/module/redis_rs/types.rs | 8 | // ─── RedisValue impls ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/redis_interface/src/module/redis_rs/types.rs | 133 | // ─── RedisEntryId ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/redis_interface/src/module/redis_rs/types.rs | 144 | // ─── Reply type trait impls ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/redis_interface/src/module/redis_rs/types.rs | 247 | // ─── Redis-rs-specific helpers ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/redis_interface/src/module/redis_rs/types.rs | 302 | // ─── Backend-specific tests ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/redis_interface/src/module/redis_rs/commands.rs | 47 | // ─── Key Commands ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/redis_interface/src/module/redis_rs/commands.rs | 764 | // ─── Hash Commands ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/redis_interface/src/module/redis_rs/commands.rs | 1171 | // ─── Set Commands ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/redis_interface/src/module/redis_rs/commands.rs | 1231 | // ─── Stream Commands ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/redis_interface/src/module/redis_rs/commands.rs | 1480 | // ─── List Commands ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/redis_interface/src/module/redis_rs/commands.rs | 1676 | // ─── Lua Scripting ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/redis_interface/src/module/redis_rs/commands.rs | 1709 | // ─── Transactions ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/redis_interface/src/module/fred/types.rs | 12 | // ─── RedisValue impls ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/redis_interface/src/module/fred/types.rs | 65 | // ─── RedisEntryId → XID ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/redis_interface/src/module/fred/types.rs | 99 | // ─── Reply type trait impls ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/redis_interface/src/module/fred/types.rs | 180 | // ─── StreamCapKind / StreamCapTrim conversions ─────────────────────────────── | COMMENT |
| MEDIUM | crates/redis_interface/src/module/fred/types.rs | 200 | // ─── StreamTrimConfig → XCap ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/redis_interface/src/module/fred/types.rs | 210 | // ─── RedisScanType → fred ScanType ────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/external_services/src/superposition.rs | 44 | // ── Deja record/replay boundary for Superposition READS ────────────────────── | COMMENT |
| 118 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crates/hyperswitch_connectors/src/connectors/noon.rs | 247 | //TODO: implement sessions flow | COMMENT |
| LOW | …ates/hyperswitch_connectors/src/connectors/breadpay.rs | 183 | //TODO: implement sessions flow | COMMENT |
| LOW | …yperswitch_connectors/src/connectors/worldpayvantiv.rs | 194 | //TODO: implement sessions flow | COMMENT |
| LOW | crates/hyperswitch_connectors/src/connectors/thunes.rs | 161 | //TODO: implement functions when support enabled | COMMENT |
| LOW | crates/hyperswitch_connectors/src/connectors/thunes.rs | 165 | //TODO: implement sessions flow | COMMENT |
| LOW | crates/hyperswitch_connectors/src/connectors/paysafe.rs | 314 | //TODO: implement sessions flow | COMMENT |
| LOW | …ates/hyperswitch_connectors/src/connectors/coinbase.rs | 171 | //TODO: implement sessions flow | COMMENT |
| LOW | crates/hyperswitch_connectors/src/connectors/xendit.rs | 192 | //TODO: implement sessions flow | COMMENT |
| LOW | …s/hyperswitch_connectors/src/connectors/worldpayxml.rs | 233 | //TODO: implement sessions flow | COMMENT |
| LOW | crates/hyperswitch_connectors/src/connectors/boku.rs | 185 | //TODO: implement sessions flow | COMMENT |
| LOW | …tes/hyperswitch_connectors/src/connectors/truelayer.rs | 225 | //TODO: implement sessions flow | COMMENT |
| LOW | …ates/hyperswitch_connectors/src/connectors/paystack.rs | 163 | //TODO: implement functions when support enabled | COMMENT |
| LOW | …ates/hyperswitch_connectors/src/connectors/paystack.rs | 167 | //TODO: implement sessions flow | COMMENT |
| LOW | crates/hyperswitch_connectors/src/connectors/inespay.rs | 172 | //TODO: implement functions when support enabled | COMMENT |
| LOW | crates/hyperswitch_connectors/src/connectors/inespay.rs | 176 | //TODO: implement sessions flow | COMMENT |
| LOW | crates/hyperswitch_connectors/src/connectors/dwolla.rs | 174 | //TODO: implement functions when support enabled | COMMENT |
| LOW | crates/hyperswitch_connectors/src/connectors/dwolla.rs | 178 | //TODO: implement sessions flow | COMMENT |
| LOW | …ates/hyperswitch_connectors/src/connectors/authipay.rs | 224 | //TODO: implement sessions flow | COMMENT |
| LOW | …tes/hyperswitch_connectors/src/connectors/chargebee.rs | 373 | //TODO: implement functions when support enabled | COMMENT |
| LOW | …tes/hyperswitch_connectors/src/connectors/chargebee.rs | 691 | // TODO: implement functions when support enabled | COMMENT |
| LOW | …witch_connectors/src/connectors/juspaythreedsserver.rs | 215 | //TODO: implement functions when support enabled | COMMENT |
| LOW | …witch_connectors/src/connectors/juspaythreedsserver.rs | 221 | //TODO: implement sessions flow | COMMENT |
| LOW | crates/hyperswitch_connectors/src/connectors/finix.rs | 372 | //TODO: implement sessions flow | COMMENT |
| LOW | crates/hyperswitch_connectors/src/connectors/dlocal.rs | 191 | //TODO: implement sessions flow | COMMENT |
| LOW | …tes/hyperswitch_connectors/src/connectors/datatrans.rs | 195 | //TODO: implement sessions flow | COMMENT |
| LOW | crates/hyperswitch_connectors/src/connectors/affirm.rs | 188 | //TODO: implement sessions flow | COMMENT |
| LOW | …s/hyperswitch_connectors/src/connectors/barclaycard.rs | 343 | //TODO: implement functions when support enabled | COMMENT |
| LOW | …s/hyperswitch_connectors/src/connectors/barclaycard.rs | 347 | //TODO: implement sessions flow | COMMENT |
| LOW | crates/hyperswitch_connectors/src/connectors/tesouro.rs | 186 | //TODO: implement sessions flow | COMMENT |
| LOW | …ates/hyperswitch_connectors/src/connectors/novalnet.rs | 251 | //TODO: implement sessions flow | COMMENT |
| LOW | …onnectors/src/connectors/cybersourcedecisionmanager.rs | 392 | //TODO: implement sessions flow | COMMENT |
| LOW | …hyperswitch_connectors/src/connectors/peachpayments.rs | 188 | //TODO: implement sessions flow | COMMENT |
| LOW | crates/hyperswitch_connectors/src/connectors/hyperpg.rs | 168 | //TODO: implement sessions flow | COMMENT |
| LOW | crates/hyperswitch_connectors/src/connectors/gigadat.rs | 206 | //TODO: implement sessions flow | COMMENT |
| LOW | …hyperswitch_connectors/src/connectors/custombilling.rs | 153 | //TODO: implement functions when support enabled | COMMENT |
| LOW | …hyperswitch_connectors/src/connectors/custombilling.rs | 157 | //TODO: implement sessions flow | COMMENT |
| LOW | …es/hyperswitch_connectors/src/connectors/silverflow.rs | 283 | //TODO: implement sessions flow | COMMENT |
| LOW | …es/hyperswitch_connectors/src/connectors/cashtocode.rs | 196 | //TODO: implement sessions flow | COMMENT |
| LOW | crates/hyperswitch_connectors/src/connectors/stax.rs | 348 | //TODO: implement sessions flow | COMMENT |
| LOW | …es/hyperswitch_connectors/src/connectors/prophetpay.rs | 159 | //TODO: implement functions when support enabled | COMMENT |
| LOW | …es/hyperswitch_connectors/src/connectors/prophetpay.rs | 163 | //TODO: implement sessions flow | COMMENT |
| LOW | crates/hyperswitch_connectors/src/connectors/bambora.rs | 179 | //TODO: implement sessions flow | COMMENT |
| LOW | …erswitch_connectors/src/connectors/wellsfargopayout.rs | 163 | //TODO: implement functions when support enabled | COMMENT |
| LOW | …erswitch_connectors/src/connectors/wellsfargopayout.rs | 167 | //TODO: implement sessions flow | COMMENT |
| LOW | …tch_connectors/src/connectors/globalpayments_realex.rs | 187 | //TODO: implement sessions flow | COMMENT |
| LOW | crates/hyperswitch_connectors/src/connectors/ilixium.rs | 178 | //TODO: implement sessions flow | COMMENT |
| LOW | …ates/hyperswitch_connectors/src/connectors/coingate.rs | 169 | //TODO: implement sessions flow | COMMENT |
| LOW | …ates/hyperswitch_connectors/src/connectors/jpmorgan.rs | 201 | //TODO: implement sessions flow | COMMENT |
| LOW | crates/hyperswitch_connectors/src/connectors/payu.rs | 526 | //TODO: implement sessions flow | COMMENT |
| LOW | …ctors/src/connectors/unified_authentication_service.rs | 166 | //TODO: implement functions when support enabled | COMMENT |
| LOW | …ctors/src/connectors/unified_authentication_service.rs | 172 | //TODO: implement sessions flow | COMMENT |
| LOW | …yperswitch_connectors/src/connectors/dummyconnector.rs | 192 | //TODO: implement sessions flow | COMMENT |
| LOW | …ates/hyperswitch_connectors/src/connectors/katapult.rs | 176 | //TODO: implement sessions flow | COMMENT |
| LOW | crates/hyperswitch_connectors/src/connectors/paytm.rs | 168 | //TODO: implement sessions flow | COMMENT |
| LOW | crates/hyperswitch_connectors/src/connectors/sift.rs | 176 | //TODO: implement sessions flow | COMMENT |
| LOW | …/hyperswitch_connectors/src/connectors/multisafepay.rs | 251 | //TODO: implement sessions flow | COMMENT |
| LOW | crates/hyperswitch_connectors/src/connectors/tokenex.rs | 177 | //TODO: implement sessions flow | COMMENT |
| LOW | …ates/hyperswitch_connectors/src/connectors/razorpay.rs | 212 | //TODO: implement functions when support enabled | COMMENT |
| LOW | …ates/hyperswitch_connectors/src/connectors/razorpay.rs | 216 | //TODO: implement sessions flow | COMMENT |
| LOW | …/hyperswitch_connectors/src/connectors/deutschebank.rs | 188 | //TODO: implement sessions flow | COMMENT |
| 64 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …switch_connectors/src/connectors/adyen/transformers.rs | 3297 | if let Some(auth_data) = value.0.router_data.request.authentication_data.as_ref() { | CODE |
| CRITICAL | …nectors/unified_authentication_service/transformers.rs | 1033 | let message_category = item.router_data.request.transaction_details.message_category.clone().map(|category| matc | CODE |
| CRITICAL | …ch_connectors/src/connectors/santander/transformers.rs | 726 | value.0.router_data.request.feature_metadata.clone(), | CODE |
| CRITICAL | crates/router/src/types/domain/types.rs | 17 | global_tenant_id: app_state.conf.multitenancy.global_tenant.tenant_id.clone(), | CODE |
| CRITICAL | crates/router/src/types/domain/types.rs | 42 | global_tenant_id: state.conf.multitenancy.global_tenant.tenant_id.clone(), | CODE |
| CRITICAL | crates/router/src/core/payments/vault_session.rs | 271 | modular_service_prefix: state.conf.micro_services.payment_methods_prefix.0.clone(), | CODE |
| CRITICAL | crates/router/src/core/payments/flows/session_flow.rs | 254 | let mut url = state.conf.connectors.applepay.base_url.to_owned(); | CODE |
| CRITICAL | crates/router/src/core/payment_methods/transformers.rs | 1425 | modular_service_prefix: state.conf.micro_services.payment_methods_prefix.0.clone(), | CODE |
| CRITICAL | crates/router/src/core/payment_methods/transformers.rs | 2075 | modular_service_prefix: state.conf.micro_services.payment_methods_prefix.0.clone(), | CODE |
| CRITICAL | crates/router/src/core/payment_methods/transformers.rs | 2245 | modular_service_prefix: state.conf.micro_services.payment_methods_prefix.0.clone(), | CODE |
| CRITICAL | crates/router/src/core/payment_methods/transformers.rs | 2294 | modular_service_prefix: state.conf.micro_services.payment_methods_prefix.0.clone(), | CODE |
| CRITICAL | crates/router/src/core/payment_methods/transformers.rs | 2452 | modular_service_prefix: state.conf.micro_services.payment_methods_prefix.0.clone(), | CODE |
| CRITICAL | cypress-tests/cypress/support/commands.js | 4869 | ).to.exist.and.to.be.a("string"); | CODE |
| CRITICAL | postman/collection-json/tunnel.postman_collection.json | 1376 | " pm.expect(jsonData.refunds).to.be.an('array').and.to.have.lengthOf.at.least(1);", | CODE |
| CRITICAL | …llection-dir/tunnel/Refund/Create-Refund/event.test.js | 32 | pm.expect(jsonData.refunds).to.be.an('array').and.to.have.lengthOf.at.least(1); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | add_connector.md | 1032 | ### Step 1: Configure Your Connector | COMMENT |
| LOW | add_connector.md | 1051 | ### Step 2: Build WebAssembly Components | COMMENT |
| LOW | add_connector.md | 1068 | ### Step 3: Verify Integration | COMMENT |
| LOW⚡ | crates/hyperswitch_domain_models/src/router_data.rs | 1422 | // Step 1: Determine attempt_status using existing logic | COMMENT |
| LOW⚡ | crates/hyperswitch_domain_models/src/router_data.rs | 1431 | // Step 2: Check if amount was captured | COMMENT |
| LOW | crates/hyperswitch_domain_models/src/router_data.rs | 1443 | // Step 3: Map to intent status based on both attempt_status and amount_captured | COMMENT |
| LOW⚡ | crates/hyperswitch_domain_models/src/router_data.rs | 1880 | // Step 1: Determine attempt_status using existing logic | COMMENT |
| LOW⚡ | crates/hyperswitch_domain_models/src/router_data.rs | 1890 | // Step 2: Check if amount was captured | COMMENT |
| LOW⚡ | crates/hyperswitch_domain_models/src/router_data.rs | 1900 | // Step 3: Map to intent status based on both attempt_status and amount_captured | COMMENT |
| LOW⚡ | crates/api_models/src/revenue_recovery_data_backfill.rs | 300 | // Step 1: Open the file | COMMENT |
| LOW⚡ | crates/api_models/src/revenue_recovery_data_backfill.rs | 306 | // Step 2: Parse CSV into typed records | COMMENT |
| LOW | crates/payment_methods/src/core/migration.rs | 152 | // Step 1: Validate form-level conflicts | COMMENT |
| LOW⚡ | crates/payment_methods/src/core/migration.rs | 171 | // Step 2: Parse CSV | COMMENT |
| LOW⚡ | crates/payment_methods/src/core/migration.rs | 178 | // Step 3: Validate CSV vs Form conflicts | COMMENT |
| LOW⚡ | crates/payment_methods/src/core/migration.rs | 185 | // Step 4: Prepare the merchant connector account IDs for return | COMMENT |
| LOW | crates/payment_methods/src/core/migration.rs | 199 | // Step 5: Return the updated structure | COMMENT |
| LOW | crates/injector/src/injector.rs | 658 | // Step 1: process the template | COMMENT |
| LOW⚡ | crates/injector/src/injector.rs | 670 | // Step 2: determine content-type from headers | COMMENT |
| LOW⚡ | crates/injector/src/injector.rs | 678 | // Step 3: send via the strategy | COMMENT |
| LOW | …s/hyperswitch_interfaces/src/micro_service/executor.rs | 59 | // Step 1: Build path and URL. | COMMENT |
| LOW | …s/hyperswitch_interfaces/src/micro_service/executor.rs | 85 | // Step 2: Build headers and inject trace/request/tenant context. | COMMENT |
| LOW⚡ | …s/hyperswitch_interfaces/src/micro_service/executor.rs | 117 | // Step 3: Attach body (if any). | COMMENT |
| LOW⚡ | …s/hyperswitch_interfaces/src/micro_service/executor.rs | 122 | // Step 4: Execute request and decode response. | COMMENT |
| LOW | …/merchant_connector_webhook_management/transformers.rs | 292 | // Step 1: Remove stored entries for scopes that failed or are being replaced. | COMMENT |
| LOW | …/merchant_connector_webhook_management/transformers.rs | 309 | // Step 2: Persist the new webhook IDs for fully-successful scopes. | COMMENT |
| LOW | crates/router/src/services/authentication.rs | 955 | // Step 1: Admin API Key and API Key Fallback (if allowed) | COMMENT |
| LOW | crates/router/src/services/authentication.rs | 973 | // Step 2: Try Platform Auth | COMMENT |
| LOW | crates/router/src/services/authentication.rs | 1195 | // Step 1: Admin API Key and API Key Fallback (if allowed) | COMMENT |
| LOW | crates/router/src/services/authentication.rs | 1211 | // Step 2: Platform authentication | COMMENT |
| LOW⚡ | cypress-tests/cypress/support/redirectionHandler.js | 469 | // Step 1: Select Bitcoin from the currency dropdown | COMMENT |
| LOW⚡ | cypress-tests/cypress/support/redirectionHandler.js | 476 | // Step 2: Wait briefly for any network selection modal to appear, | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crates/hyperswitch_domain_models/src/type_encryption.rs | 1676 | // Index 4 would be ':', but we need to check if this is found | COMMENT |
| LOW⚡ | crates/hyperswitch_domain_models/src/router_data.rs | 1422 | // Step 1: Determine attempt_status using existing logic | COMMENT |
| LOW⚡ | crates/hyperswitch_domain_models/src/router_data.rs | 1431 | // Step 2: Check if amount was captured | COMMENT |
| LOW | crates/hyperswitch_domain_models/src/router_data.rs | 1443 | // Step 3: Map to intent status based on both attempt_status and amount_captured | COMMENT |
| LOW⚡ | crates/hyperswitch_domain_models/src/router_data.rs | 1880 | // Step 1: Determine attempt_status using existing logic | COMMENT |
| LOW⚡ | crates/hyperswitch_domain_models/src/router_data.rs | 1890 | // Step 2: Check if amount was captured | COMMENT |
| LOW⚡ | crates/hyperswitch_domain_models/src/router_data.rs | 1900 | // Step 3: Map to intent status based on both attempt_status and amount_captured | COMMENT |
| LOW⚡ | crates/api_models/src/revenue_recovery_data_backfill.rs | 300 | // Step 1: Open the file | COMMENT |
| LOW⚡ | crates/api_models/src/revenue_recovery_data_backfill.rs | 306 | // Step 2: Parse CSV into typed records | COMMENT |
| LOW | crates/payment_methods/src/core/migration.rs | 152 | // Step 1: Validate form-level conflicts | COMMENT |
| LOW⚡ | crates/payment_methods/src/core/migration.rs | 171 | // Step 2: Parse CSV | COMMENT |
| LOW⚡ | crates/payment_methods/src/core/migration.rs | 178 | // Step 3: Validate CSV vs Form conflicts | COMMENT |
| LOW⚡ | crates/payment_methods/src/core/migration.rs | 185 | // Step 4: Prepare the merchant connector account IDs for return | COMMENT |
| LOW | crates/payment_methods/src/core/migration.rs | 199 | // Step 5: Return the updated structure | COMMENT |
| LOW | crates/injector/src/injector.rs | 658 | // Step 1: process the template | COMMENT |
| LOW⚡ | crates/injector/src/injector.rs | 670 | // Step 2: determine content-type from headers | COMMENT |
| LOW⚡ | crates/injector/src/injector.rs | 678 | // Step 3: send via the strategy | COMMENT |
| LOW | …s/hyperswitch_interfaces/src/micro_service/executor.rs | 59 | // Step 1: Build path and URL. | COMMENT |
| LOW | …s/hyperswitch_interfaces/src/micro_service/executor.rs | 85 | // Step 2: Build headers and inject trace/request/tenant context. | COMMENT |
| LOW⚡ | …s/hyperswitch_interfaces/src/micro_service/executor.rs | 117 | // Step 3: Attach body (if any). | COMMENT |
| LOW⚡ | …s/hyperswitch_interfaces/src/micro_service/executor.rs | 122 | // Step 4: Execute request and decode response. | COMMENT |
| LOW | …/merchant_connector_webhook_management/transformers.rs | 292 | // Step 1: Remove stored entries for scopes that failed or are being replaced. | COMMENT |
| LOW | …/merchant_connector_webhook_management/transformers.rs | 309 | // Step 2: Persist the new webhook IDs for fully-successful scopes. | COMMENT |
| LOW | crates/router/src/services/authentication.rs | 955 | // Step 1: Admin API Key and API Key Fallback (if allowed) | COMMENT |
| LOW | crates/router/src/services/authentication.rs | 973 | // Step 2: Try Platform Auth | COMMENT |
| LOW | crates/router/src/services/authentication.rs | 1195 | // Step 1: Admin API Key and API Key Fallback (if allowed) | COMMENT |
| LOW | crates/router/src/services/authentication.rs | 1211 | // Step 2: Platform authentication | COMMENT |
| LOW⚡ | cypress-tests/cypress/support/redirectionHandler.js | 469 | // Step 1: Select Bitcoin from the currency dropdown | COMMENT |
| LOW⚡ | cypress-tests/cypress/support/redirectionHandler.js | 476 | // Step 2: Wait briefly for any network selection modal to appear, | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …connectors/src/connectors/netcetera/netcetera_types.rs | 345 | /// Enum indicating whether the 3DS Requestor requests the ACS to utilize Decoupled Authentication. | COMMENT |
| MEDIUM | …connectors/src/connectors/netcetera/netcetera_types.rs | 1522 | /// characters and it shall have a canonical format as defined in IETF RFC 4122. This may utilize any of the specifi | COMMENT |
| MEDIUM | …connectors/src/connectors/netcetera/netcetera_types.rs | 1553 | /// limited to 36 characters and it shall be in a canonical format as defined in IETF RFC 4122. This may utilize any | COMMENT |
| MEDIUM | …connectors/src/connectors/netcetera/netcetera_types.rs | 1574 | /// canonical format as defined in IETF RFC 4122. This may utilize any of the specified | COMMENT |
| MEDIUM | crates/smithy/src/lib.rs | 1142 | // Use more robust parsing that handles all serde attributes | COMMENT |
| MEDIUM | crates/smithy/src/lib.rs | 1236 | // Use more robust parsing that handles all serde attributes | COMMENT |
| MEDIUM | crates/test_utils/src/newman_runner.rs | 314 | // This will be replaced by a more robust and efficient account creation or reuse existing old account | COMMENT |
| MEDIUM | crates/api_models/src/payments.rs | 2338 | /// The transaction authentication can be set to undergo payer authentication. By default, the authentication will b | COMMENT |
| MEDIUM | crates/api_models/src/payments.rs | 7911 | /// The transaction authentication can be set to undergo payer authentication. By default, the authentication will b | COMMENT |
| MEDIUM | crates/hyperswitch_interfaces/src/api/gateway.rs | 7 | //! The gateway abstraction allows seamless switching between execution paths without | COMMENT |
| MEDIUM | cypress-tests/cypress/support/redirectionHandler.js | 5509 | // For embedded flows using an iframe - use robust detection: | COMMENT |
| MEDIUM | cypress-tests/mitm-proxy/mitm_replay.py | 57 | # (robust against legacy filenames without the seq suffix). | COMMENT |
| MEDIUM | loadtest/k6/helper/k6-summary.js | 425 | // TODO: something more robust? | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ore/payment_link/payment_link_initiate/payment_link.js | 457 | function handleFormReadyForSubmission() { | CODE |
| LOW | …ore/payment_link/payment_link_initiate/payment_link.js | 740 | function renderDynamicMerchantDetails(paymentDetails) { | CODE |
| LOW | …ore/payment_link/payment_link_initiate/payment_link.js | 883 | function createHyperSwitchBrandingSVGElement(wrapperId) { | CODE |
| LOW | crates/router/src/services/api.rs | 1600 | function submitCollectionReference(collectionReference) {{ | CODE |
| LOW | cypress-tests/cypress/utils/featureFlags.js | 15 | function getConnectorCredentialIndex(connectorType) { | CODE |
| LOW | cypress-tests/cypress/support/mitmProxy.js | 173 | function replayJsConnectorRedirect( | CODE |
| LOW | cypress-tests/cypress/support/redirectionHandler.js | 43 | export function handleSimulatorRedirectFlow(nextActionUrl) { | CODE |
| LOW | cypress-tests/cypress/support/redirectionHandler.js | 257 | function normalizeConnectorForRedirect(connectorId) { | CODE |
| LOW | cypress-tests/cypress/support/redirectionHandler.js | 934 | function affirmPayLaterRedirection( | CODE |
| LOW | cypress-tests/cypress/support/redirectionHandler.js | 4937 | function paymentLinkCardRedirection( | CODE |
| LOW | cypress-tests/cypress/support/redirectionHandler.js | 5118 | function payoutLinkInitRedirection(redirectionUrl) { | CODE |
| LOW | cypress-tests/cypress/support/redirectionHandler.js | 5291 | function payoutLinkCardRedirection( | CODE |
| LOW | cypress-tests/cypress/support/commands.js | 73 | function skipRedirectionInMockServer(commandName) { | CODE |
| LOW | cypress-tests/cypress/support/commands.js | 87 | function getConnectorIdForRedirect(globalState) { | CODE |
| LOW | cypress-tests/cypress/support/commands.js | 138 | function getExpectedMerchantConnectorId( | CODE |
| LOW | cypress-tests/cypress/support/commands.js | 174 | function expectWebhookStatusMembers(actualWebhook, expectedWebhook) { | CODE |
| LOW | cypress-tests/cypress/support/commands.js | 187 | function createIndividualRolloutConfig( | CODE |
| LOW | cypress-tests/cypress/support/commands.js | 558 | function sanitizeValidationServiceUrl(url) { | CODE |
| LOW | cypress-tests/cypress/support/commands.js | 758 | function cleanupProcessedRequestIds( | CODE |
| LOW | cypress-tests/cypress/support/commands.js | 9799 | function processResultsSequentially( | CODE |
| LOW | …ss/e2e/spec/Payment/54-IntegrationTypeValidation.cy.js | 34 | function merchantIntegrationTypeContext() { | CODE |
| LOW | …ress-tests/cypress/e2e/spec/Payment/45-BankDebit.cy.js | 17 | function skipIfLocalVaultUnavailable(testContext, testName, data) { | CODE |
| LOW | …UnifiedConnectorService/0002-ElavonPgHostedFlows.cy.js | 33 | function syncRefundThroughConnector(data) { | CODE |
| LOW | cypress-tests/cypress/e2e/configs/Payment/Utils.js | 380 | function shouldProceedWithOperation(multipleConnector, multipleConnectors) { | CODE |
| LOW | cypress-tests/cypress/e2e/configs/Payment/Utils.js | 430 | export function createMerchantConnectorAccount( | CODE |
| LOW | cypress-tests/cypress/e2e/configs/Payment/Utils.js | 454 | export function createBusinessProfilesAndMerchantConnectorAccounts( | CODE |
| LOW | cypress-tests/cypress/e2e/configs/Payment/Commons.js | 6021 | export function integrationTypeMismatchMessage(header, merchantConfig) { | CODE |
| LOW⚡ | cypress-tests/mitm-proxy/redirect_proxy.py | 47 | def _extract_redirect_segment(path: str) -> str | None: | CODE |
| LOW | cypress-tests/dashboard/dashboard.js | 999 | function setupFailedTestsCollapsible() { | CODE |
| LOW | loadtest/k6/helper/k6-summary.js | 158 | function toFixedNoTrailingZerosTrunc(val, prec) { | CODE |
| LOW | loadtest/k6/helper/k6-summary.js | 220 | function nonTrendMetricValueForSum(metric, timeUnit) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .typos.toml | 132 | "CHANGELOG.md", # This file contains all the commits | CODE |
| MEDIUM | scripts/notify_scarf.sh | 4 | # Define the URL and parameters | COMMENT |
| MEDIUM | scripts/prestart_hook.sh | 12 | # Define the URL and parameters | COMMENT |
| MEDIUM | …ithub/api-migration-compatibility/migration-rules.yaml | 2 | # This file defines SQL patterns that are considered breaking changes or warnings | COMMENT |
| MEDIUM | .github/workflows/release-stable-version.yml | 129 | # Create a lightweight tag to point to the checked out CalVer tag | COMMENT |
| MEDIUM | .github/workflows/cypress-tests-runner.yml | 1079 | # Create an isolated venv for mitmproxy so we don't touch the | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | config/config.example.toml | 235 | use_xray_generator = false # Set this to true for AWS X-ray compatible traces | CODE |
| LOW | config/docker_compose.toml | 27 | use_xray_generator = false # Set this to true for AWS X-ray compatible traces | CODE |
| LOW | config/deployments/env_specific.toml | 204 | use_xray_generator = false # Set this to true for AWS X-ray compatible traces | CODE |
| LOW | scripts/seed_superposition.sh | 125 | # Check if seed file exists | COMMENT |
| LOW⚡ | scripts/hyperswitch-explore.sh | 648 | # Check if migrations already applied | COMMENT |
| LOW⚡ | scripts/hyperswitch-explore.sh | 742 | # Check if a port is in use | COMMENT |
| LOW | scripts/hyperswitch-explore.sh | 670 | # Check if already migrated | COMMENT |
| LOW | scripts/create_default_user.sh | 17 | # Check if user needs to be created | COMMENT |
| LOW | scripts/migration_runner_entrypoint.sh | 5 | # Check if DATABASE_URL is provided, otherwise construct it from individual components | COMMENT |
| LOW | scripts/poststart_hook.sh | 44 | # Check if the response contains an error | COMMENT |
| LOW | scripts/prestart_hook.sh | 6 | # Check if ONE_CLICK_SETUP is set to true; if so, skip execution | COMMENT |
| LOW | .github/workflows/release-nightly-version-reusable.yml | 92 | # Check if any tags exist on the current branch which contain the current UTC date | COMMENT |
| LOW | .github/scripts/validate_migrations.sh | 15 | # Check if migration directory exists | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | cypress-tests/mitm-proxy/mitm_capture.py | 115 | except json.JSONDecodeError: | CODE |
| HIGH | cypress-tests/mitm-proxy/mitm_capture.py | 129 | except OSError: | CODE |
| HIGH | cypress-tests/mitm-proxy/redirect_proxy.py | 189 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | add_connector.md | 892 | You can see an example of this here: [`billwerk.rs`](https://github.com/juspay/hyperswitch/blob/2309c5311cb9a01ef371f3 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | cypress-tests/cypress/e2e/configs/Payment/Authipay.js | 962 | TRIGGER_SKIP: true, // Skip as requested by user | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cypress-tests/mitm-proxy/start_record.sh | 4 | # Usage: | COMMENT |
| LOW | cypress-tests/mitm-proxy/start_replay.sh | 4 | # Usage: | COMMENT |
| LOW | scripts/hyperswitch-explore.sh | 6 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | cypress-tests/mitm-proxy/redirect_proxy.py | 66 | except Exception: | CODE |
| LOW | cypress-tests/mitm-proxy/redirect_proxy.py | 189 | except Exception: | CODE |
| LOW | cypress-tests/mitm-proxy/redirect_proxy.py | 202 | except Exception as exc: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crates/events/src/lib.rs | 67 | #[must_use = "make sure to call `emit` or `try_emit` to actually emit the event"] | COMMENT |
| LOW | scripts/add_connector.sh | 5 | # Comment below line to stop undoing changes when the script is triggered, make sure you undo this change before pus | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cypress-tests/mitm-proxy/mitm_capture.py | 142 | CODE |