-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathsemgrep_report.json
More file actions
1 lines (1 loc) · 92.1 KB
/
semgrep_report.json
File metadata and controls
1 lines (1 loc) · 92.1 KB
1
{"version":"1.155.0","results":[{"check_id":"tmp.frappe-semgrep-rules.rules.security.frappe-security-file-traversal","path":"combine_files.py","start":{"line":31,"col":7,"offset":803},"end":{"line":31,"col":78,"offset":874},"extra":{"message":"Detected the file system access. This code should be manually audited by\nsecurity team to avoid file traversal issues.\n","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.frappe-security-file-traversal","path":"combine_files.py","start":{"line":39,"col":10,"offset":1082},"end":{"line":39,"col":43,"offset":1115},"extra":{"message":"Detected the file system access. This code should be manually audited by\nsecurity team to avoid file traversal issues.\n","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.frappe-security-file-traversal","path":"combine_files.py","start":{"line":53,"col":10,"offset":1495},"end":{"line":53,"col":43,"offset":1528},"extra":{"message":"Detected the file system access. This code should be manually audited by\nsecurity team to avoid file traversal issues.\n","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.frappe-realtime-pick-room","path":"uph/party/controllers/duplicate_scanner.py","start":{"line":45,"col":2,"offset":1301},"end":{"line":48,"col":3,"offset":1416},"extra":{"message":"This call will publish message to everyone on site, do you really want that? Specify doctype, docname, room or user.\n","metadata":{},"severity":"ERROR","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.frappe-realtime-pick-room","path":"uph/party/controllers/duplicate_scanner.py","start":{"line":146,"col":4,"offset":3833},"end":{"line":153,"col":5,"offset":4013},"extra":{"message":"This call will publish message to everyone on site, do you really want that? Specify doctype, docname, room or user.\n","metadata":{},"severity":"ERROR","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.frappe-realtime-pick-room","path":"uph/party/controllers/duplicate_scanner.py","start":{"line":158,"col":2,"offset":4083},"end":{"line":165,"col":3,"offset":4242},"extra":{"message":"This call will publish message to everyone on site, do you really want that? Specify doctype, docname, room or user.\n","metadata":{},"severity":"ERROR","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/field.py","start":{"line":6,"col":1,"offset":90},"end":{"line":16,"col":15,"offset":376},"extra":{"message":"The argument 'doctype' in function 'get_field_options' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.frappe-sql-format-injection","path":"uph/party/controllers/party.py","start":{"line":499,"col":3,"offset":15547},"end":{"line":500,"col":44,"offset":15670},"extra":{"message":"Detected use of '.format()' or f-string in a Frappe SQL call. This can lead to SQL injection. Use parameterized queries instead.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.frappe-sql-format-injection","path":"uph/party/controllers/party.py","start":{"line":503,"col":2,"offset":15779},"end":{"line":504,"col":47,"offset":15915},"extra":{"message":"Detected use of '.format()' or f-string in a Frappe SQL call. This can lead to SQL injection. Use parameterized queries instead.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/party.py","start":{"line":547,"col":1,"offset":17217},"end":{"line":563,"col":12,"offset":17865},"extra":{"message":"The argument 'commit' in function 'set_party_as_default_for_party_master' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/party.py","start":{"line":547,"col":1,"offset":17217},"end":{"line":563,"col":12,"offset":17865},"extra":{"message":"The argument 'party' in function 'set_party_as_default_for_party_master' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/party.py","start":{"line":547,"col":1,"offset":17217},"end":{"line":563,"col":12,"offset":17865},"extra":{"message":"The argument 'party_master' in function 'set_party_as_default_for_party_master' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/party.py","start":{"line":547,"col":1,"offset":17217},"end":{"line":563,"col":12,"offset":17865},"extra":{"message":"The argument 'party_type' in function 'set_party_as_default_for_party_master' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/party.py","start":{"line":547,"col":1,"offset":17217},"end":{"line":563,"col":12,"offset":17865},"extra":{"message":"The argument 'value' in function 'set_party_as_default_for_party_master' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/party.py","start":{"line":566,"col":1,"offset":17868},"end":{"line":603,"col":3,"offset":18853},"extra":{"message":"The argument 'current_name' in function 'check_duplicate_voucher_party_master' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/party.py","start":{"line":566,"col":1,"offset":17868},"end":{"line":603,"col":3,"offset":18853},"extra":{"message":"The argument 'doc' in function 'check_duplicate_voucher_party_master' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/party.py","start":{"line":566,"col":1,"offset":17868},"end":{"line":603,"col":3,"offset":18853},"extra":{"message":"The argument 'doctype' in function 'check_duplicate_voucher_party_master' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/party.py","start":{"line":566,"col":1,"offset":17868},"end":{"line":603,"col":3,"offset":18853},"extra":{"message":"The argument 'party_master' in function 'check_duplicate_voucher_party_master' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/party.py","start":{"line":566,"col":1,"offset":17868},"end":{"line":603,"col":3,"offset":18853},"extra":{"message":"The argument 'posting_date' in function 'check_duplicate_voucher_party_master' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/party.py","start":{"line":639,"col":1,"offset":19763},"end":{"line":651,"col":53,"offset":20212},"extra":{"message":"The argument 'party_master' in function 'get_party_master_details_with_parties' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/party.py","start":{"line":639,"col":1,"offset":19763},"end":{"line":651,"col":53,"offset":20212},"extra":{"message":"The argument 'party_type' in function 'get_party_master_details_with_parties' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/party.py","start":{"line":654,"col":1,"offset":20215},"end":{"line":681,"col":12,"offset":21129},"extra":{"message":"The argument 'party' in function 'get_party_master_defaults' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/party.py","start":{"line":654,"col":1,"offset":20215},"end":{"line":681,"col":12,"offset":21129},"extra":{"message":"The argument 'party_master' in function 'get_party_master_defaults' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/party.py","start":{"line":654,"col":1,"offset":20215},"end":{"line":681,"col":12,"offset":21129},"extra":{"message":"The argument 'party_type' in function 'get_party_master_defaults' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/party.py","start":{"line":684,"col":1,"offset":21132},"end":{"line":694,"col":14,"offset":21472},"extra":{"message":"The argument 'docname' in function 'allow_duplicate_submission' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/party.py","start":{"line":684,"col":1,"offset":21132},"end":{"line":694,"col":14,"offset":21472},"extra":{"message":"The argument 'doctype' in function 'allow_duplicate_submission' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/party.py","start":{"line":697,"col":1,"offset":21475},"end":{"line":919,"col":22,"offset":28524},"extra":{"message":"The argument 'account' in function 'get_party_details' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/party.py","start":{"line":697,"col":1,"offset":21475},"end":{"line":919,"col":22,"offset":28524},"extra":{"message":"The argument 'bill_date' in function 'get_party_details' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/party.py","start":{"line":697,"col":1,"offset":21475},"end":{"line":919,"col":22,"offset":28524},"extra":{"message":"The argument 'company' in function 'get_party_details' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/party.py","start":{"line":697,"col":1,"offset":21475},"end":{"line":919,"col":22,"offset":28524},"extra":{"message":"The argument 'company_address' in function 'get_party_details' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/party.py","start":{"line":697,"col":1,"offset":21475},"end":{"line":919,"col":22,"offset":28524},"extra":{"message":"The argument 'currency' in function 'get_party_details' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/party.py","start":{"line":697,"col":1,"offset":21475},"end":{"line":919,"col":22,"offset":28524},"extra":{"message":"The argument 'dispatch_address' in function 'get_party_details' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/party.py","start":{"line":697,"col":1,"offset":21475},"end":{"line":919,"col":22,"offset":28524},"extra":{"message":"The argument 'doctype' in function 'get_party_details' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/party.py","start":{"line":697,"col":1,"offset":21475},"end":{"line":919,"col":22,"offset":28524},"extra":{"message":"The argument 'fetch_payment_terms_template' in function 'get_party_details' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/party.py","start":{"line":697,"col":1,"offset":21475},"end":{"line":919,"col":22,"offset":28524},"extra":{"message":"The argument 'ignore_permissions' in function 'get_party_details' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/party.py","start":{"line":697,"col":1,"offset":21475},"end":{"line":919,"col":22,"offset":28524},"extra":{"message":"The argument 'party' in function 'get_party_details' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/party.py","start":{"line":697,"col":1,"offset":21475},"end":{"line":919,"col":22,"offset":28524},"extra":{"message":"The argument 'party_address' in function 'get_party_details' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/party.py","start":{"line":697,"col":1,"offset":21475},"end":{"line":919,"col":22,"offset":28524},"extra":{"message":"The argument 'party_master' in function 'get_party_details' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/party.py","start":{"line":697,"col":1,"offset":21475},"end":{"line":919,"col":22,"offset":28524},"extra":{"message":"The argument 'party_type' in function 'get_party_details' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/party.py","start":{"line":697,"col":1,"offset":21475},"end":{"line":919,"col":22,"offset":28524},"extra":{"message":"The argument 'pos_profile' in function 'get_party_details' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/party.py","start":{"line":697,"col":1,"offset":21475},"end":{"line":919,"col":22,"offset":28524},"extra":{"message":"The argument 'posting_date' in function 'get_party_details' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/party.py","start":{"line":697,"col":1,"offset":21475},"end":{"line":919,"col":22,"offset":28524},"extra":{"message":"The argument 'price_list' in function 'get_party_details' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/party.py","start":{"line":697,"col":1,"offset":21475},"end":{"line":919,"col":22,"offset":28524},"extra":{"message":"The argument 'shipping_address' in function 'get_party_details' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.frappe-cache-breaks-multitenancy","path":"uph/party/controllers/party_merge_service.py","start":{"line":78,"col":11,"offset":2456},"end":{"line":78,"col":75,"offset":2520},"extra":{"message":"redis.set and redis.get do not support multitenancy, use set_value/get_value instead.\n","metadata":{},"severity":"ERROR","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/queries.py","start":{"line":18,"col":1,"offset":500},"end":{"line":117,"col":14,"offset":3794},"extra":{"message":"The argument 'doctype' in function 'party_master_link_query' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/queries.py","start":{"line":18,"col":1,"offset":500},"end":{"line":117,"col":14,"offset":3794},"extra":{"message":"The argument 'filters' in function 'party_master_link_query' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/queries.py","start":{"line":18,"col":1,"offset":500},"end":{"line":117,"col":14,"offset":3794},"extra":{"message":"The argument 'page_len' in function 'party_master_link_query' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/queries.py","start":{"line":18,"col":1,"offset":500},"end":{"line":117,"col":14,"offset":3794},"extra":{"message":"The argument 'reference_doctype' in function 'party_master_link_query' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/queries.py","start":{"line":18,"col":1,"offset":500},"end":{"line":117,"col":14,"offset":3794},"extra":{"message":"The argument 'searchfield' in function 'party_master_link_query' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/queries.py","start":{"line":18,"col":1,"offset":500},"end":{"line":117,"col":14,"offset":3794},"extra":{"message":"The argument 'start' in function 'party_master_link_query' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/queries.py","start":{"line":18,"col":1,"offset":500},"end":{"line":117,"col":14,"offset":3794},"extra":{"message":"The argument 'txt' in function 'party_master_link_query' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/queries.py","start":{"line":121,"col":1,"offset":3811},"end":{"line":208,"col":15,"offset":6646},"extra":{"message":"The argument 'doctype' in function 'get_party_master' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/queries.py","start":{"line":121,"col":1,"offset":3811},"end":{"line":208,"col":15,"offset":6646},"extra":{"message":"The argument 'filters' in function 'get_party_master' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/queries.py","start":{"line":121,"col":1,"offset":3811},"end":{"line":208,"col":15,"offset":6646},"extra":{"message":"The argument 'page_len' in function 'get_party_master' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/queries.py","start":{"line":121,"col":1,"offset":3811},"end":{"line":208,"col":15,"offset":6646},"extra":{"message":"The argument 'searchfield' in function 'get_party_master' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/queries.py","start":{"line":121,"col":1,"offset":3811},"end":{"line":208,"col":15,"offset":6646},"extra":{"message":"The argument 'start' in function 'get_party_master' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/queries.py","start":{"line":121,"col":1,"offset":3811},"end":{"line":208,"col":15,"offset":6646},"extra":{"message":"The argument 'txt' in function 'get_party_master' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/queries.py","start":{"line":310,"col":1,"offset":9060},"end":{"line":325,"col":16,"offset":9496},"extra":{"message":"The argument 'cached' in function 'get_party_master_parties' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/queries.py","start":{"line":310,"col":1,"offset":9060},"end":{"line":325,"col":16,"offset":9496},"extra":{"message":"The argument 'party_master' in function 'get_party_master_parties' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/queries.py","start":{"line":310,"col":1,"offset":9060},"end":{"line":325,"col":16,"offset":9496},"extra":{"message":"The argument 'party_type' in function 'get_party_master_parties' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/queries.py","start":{"line":328,"col":1,"offset":9499},"end":{"line":394,"col":39,"offset":11989},"extra":{"message":"The argument 'doctypes' in function 'get_all_vouchers_documents_with_null_or_another_party_master' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/queries.py","start":{"line":328,"col":1,"offset":9499},"end":{"line":394,"col":39,"offset":11989},"extra":{"message":"The argument 'parties' in function 'get_all_vouchers_documents_with_null_or_another_party_master' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/queries.py","start":{"line":328,"col":1,"offset":9499},"end":{"line":394,"col":39,"offset":11989},"extra":{"message":"The argument 'party_master' in function 'get_all_vouchers_documents_with_null_or_another_party_master' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/queries.py","start":{"line":585,"col":1,"offset":16862},"end":{"line":611,"col":16,"offset":17556},"extra":{"message":"The argument 'filters' in function 'get_unlinked_party' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/queries.py","start":{"line":585,"col":1,"offset":16862},"end":{"line":611,"col":16,"offset":17556},"extra":{"message":"The argument 'limit' in function 'get_unlinked_party' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/queries.py","start":{"line":614,"col":1,"offset":17559},"end":{"line":629,"col":16,"offset":18071},"extra":{"message":"The argument 'party_master_filters' in function 'get_linked_parties_list' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/queries.py","start":{"line":614,"col":1,"offset":17559},"end":{"line":629,"col":16,"offset":18071},"extra":{"message":"The argument 'party_type' in function 'get_linked_parties_list' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/queries.py","start":{"line":632,"col":1,"offset":18074},"end":{"line":688,"col":16,"offset":19621},"extra":{"message":"The argument 'company' in function 'get_counts_of_unposted_or_cancelled_vouchers' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/queries.py","start":{"line":632,"col":1,"offset":18074},"end":{"line":688,"col":16,"offset":19621},"extra":{"message":"The argument 'is_party_gl_effected' in function 'get_counts_of_unposted_or_cancelled_vouchers' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/queries.py","start":{"line":632,"col":1,"offset":18074},"end":{"line":688,"col":16,"offset":19621},"extra":{"message":"The argument 'party_master' in function 'get_counts_of_unposted_or_cancelled_vouchers' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/queries.py","start":{"line":691,"col":1,"offset":19624},"end":{"line":705,"col":3,"offset":20042},"extra":{"message":"The argument 'doctype' in function 'get_party_analytic_accounting_filtered' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/queries.py","start":{"line":691,"col":1,"offset":19624},"end":{"line":705,"col":3,"offset":20042},"extra":{"message":"The argument 'filters' in function 'get_party_analytic_accounting_filtered' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/queries.py","start":{"line":691,"col":1,"offset":19624},"end":{"line":705,"col":3,"offset":20042},"extra":{"message":"The argument 'page_len' in function 'get_party_analytic_accounting_filtered' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/queries.py","start":{"line":691,"col":1,"offset":19624},"end":{"line":705,"col":3,"offset":20042},"extra":{"message":"The argument 'searchfield' in function 'get_party_analytic_accounting_filtered' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/queries.py","start":{"line":691,"col":1,"offset":19624},"end":{"line":705,"col":3,"offset":20042},"extra":{"message":"The argument 'start' in function 'get_party_analytic_accounting_filtered' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/queries.py","start":{"line":691,"col":1,"offset":19624},"end":{"line":705,"col":3,"offset":20042},"extra":{"message":"The argument 'txt' in function 'get_party_analytic_accounting_filtered' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/queries.py","start":{"line":708,"col":1,"offset":20045},"end":{"line":764,"col":12,"offset":21717},"extra":{"message":"The argument 'party_name' in function 'query_similar_name_or_number' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/queries.py","start":{"line":708,"col":1,"offset":20045},"end":{"line":764,"col":12,"offset":21717},"extra":{"message":"The argument 'party_number' in function 'query_similar_name_or_number' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/queries.py","start":{"line":767,"col":1,"offset":21720},"end":{"line":865,"col":15,"offset":24735},"extra":{"message":"The argument 'party_master_name' in function 'get_party_master_dashboard_info' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/controllers/queries.py","start":{"line":868,"col":1,"offset":24738},"end":{"line":948,"col":16,"offset":27095},"extra":{"message":"The argument 'party_master' in function 'get_party_master_history_stats' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.frappe-sql-format-injection","path":"uph/party/controllers/transaction_health.py","start":{"line":74,"col":2,"offset":2207},"end":{"line":98,"col":55,"offset":3430},"extra":{"message":"Detected use of '.format()' or f-string in a Frappe SQL call. This can lead to SQL injection. Use parameterized queries instead.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.frappe-sql-format-injection","path":"uph/party/controllers/transaction_health.py","start":{"line":505,"col":5,"offset":15488},"end":{"line":519,"col":46,"offset":16186},"extra":{"message":"Detected use of '.format()' or f-string in a Frappe SQL call. This can lead to SQL injection. Use parameterized queries instead.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.frappe-sql-format-injection","path":"uph/party/controllers/unlinked_resolver.py","start":{"line":111,"col":2,"offset":3096},"end":{"line":117,"col":65,"offset":3309},"extra":{"message":"Detected use of '.format()' or f-string in a Frappe SQL call. This can lead to SQL injection. Use parameterized queries instead.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.frappe-sql-format-injection","path":"uph/party/controllers/unlinked_resolver.py","start":{"line":222,"col":2,"offset":6621},"end":{"line":228,"col":65,"offset":6824},"extra":{"message":"Detected use of '.format()' or f-string in a Frappe SQL call. This can lead to SQL injection. Use parameterized queries instead.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/dashboard_chart_source/party_identity_governance/party_identity_governance.py","start":{"line":9,"col":1,"offset":196},"end":{"line":81,"col":3,"offset":2107},"extra":{"message":"The argument 'chart' in function 'get_data' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/dashboard_chart_source/party_identity_governance/party_identity_governance.py","start":{"line":9,"col":1,"offset":196},"end":{"line":81,"col":3,"offset":2107},"extra":{"message":"The argument 'chart_name' in function 'get_data' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/dashboard_chart_source/party_identity_governance/party_identity_governance.py","start":{"line":9,"col":1,"offset":196},"end":{"line":81,"col":3,"offset":2107},"extra":{"message":"The argument 'filters' in function 'get_data' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/dashboard_chart_source/party_identity_governance/party_identity_governance.py","start":{"line":9,"col":1,"offset":196},"end":{"line":81,"col":3,"offset":2107},"extra":{"message":"The argument 'from_date' in function 'get_data' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/dashboard_chart_source/party_identity_governance/party_identity_governance.py","start":{"line":9,"col":1,"offset":196},"end":{"line":81,"col":3,"offset":2107},"extra":{"message":"The argument 'heatmap_year' in function 'get_data' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/dashboard_chart_source/party_identity_governance/party_identity_governance.py","start":{"line":9,"col":1,"offset":196},"end":{"line":81,"col":3,"offset":2107},"extra":{"message":"The argument 'no_cache' in function 'get_data' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/dashboard_chart_source/party_identity_governance/party_identity_governance.py","start":{"line":9,"col":1,"offset":196},"end":{"line":81,"col":3,"offset":2107},"extra":{"message":"The argument 'time_interval' in function 'get_data' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/dashboard_chart_source/party_identity_governance/party_identity_governance.py","start":{"line":9,"col":1,"offset":196},"end":{"line":81,"col":3,"offset":2107},"extra":{"message":"The argument 'timespan' in function 'get_data' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/dashboard_chart_source/party_identity_governance/party_identity_governance.py","start":{"line":9,"col":1,"offset":196},"end":{"line":81,"col":3,"offset":2107},"extra":{"message":"The argument 'to_date' in function 'get_data' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.frappe-sql-format-injection","path":"uph/party/dashboard_chart_source/party_identity_governance/party_identity_governance.py","start":{"line":49,"col":11,"offset":1143},"end":{"line":60,"col":4,"offset":1520},"extra":{"message":"Detected use of '.format()' or f-string in a Frappe SQL call. This can lead to SQL injection. Use parameterized queries instead.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/doctype/party_master/party_master.py","start":{"line":415,"col":2,"offset":14125},"end":{"line":439,"col":14,"offset":14893},"extra":{"message":"The argument 'selection' in function 'set_party_master' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/doctype/party_master/party_master.py","start":{"line":441,"col":2,"offset":14896},"end":{"line":447,"col":44,"offset":15092},"extra":{"message":"The argument 'filters' in function 'fetch_parties_list' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.frappe-no-functional-code","path":"uph/party/doctype/party_master/party_master.py","start":{"line":453,"col":20,"offset":15255},"end":{"line":453,"col":53,"offset":15288},"extra":{"message":"Mixing functional programming usually yields in confusing code and bugs. Use list comprehensions or generators instead.\n","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/doctype/party_master/party_master.py","start":{"line":516,"col":2,"offset":16973},"end":{"line":542,"col":58,"offset":17714},"extra":{"message":"The argument 'selections' in function 'assign_new_party_master_for_parties' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/doctype/party_master/party_master.py","start":{"line":544,"col":2,"offset":17717},"end":{"line":554,"col":14,"offset":18100},"extra":{"message":"The argument 'role' in function 'set_secondary_party_roles' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/doctype/party_master/party_master.py","start":{"line":562,"col":1,"offset":18282},"end":{"line":688,"col":15,"offset":22231},"extra":{"message":"The argument 'company' in function 'get_party_master_balances' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/doctype/party_master/party_master.py","start":{"line":562,"col":1,"offset":18282},"end":{"line":688,"col":15,"offset":22231},"extra":{"message":"The argument 'name' in function 'get_party_master_balances' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/doctype/party_master/party_master.py","start":{"line":708,"col":1,"offset":22921},"end":{"line":827,"col":8,"offset":27085},"extra":{"message":"The argument 'is_group' in function 'get_next_party_master_number' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/doctype/party_master/party_master.py","start":{"line":708,"col":1,"offset":22921},"end":{"line":827,"col":8,"offset":27085},"extra":{"message":"The argument 'parent' in function 'get_next_party_master_number' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/doctype/party_master/party_master.py","start":{"line":930,"col":1,"offset":29978},"end":{"line":940,"col":35,"offset":30388},"extra":{"message":"The argument 'filters' in function 'get_totals_number_unlinked_parties' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/doctype/party_master/party_master.py","start":{"line":943,"col":1,"offset":30391},"end":{"line":968,"col":32,"offset":31079},"extra":{"message":"The argument 'doctype' in function 'check_similar_party_name' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/doctype/party_master/party_master.py","start":{"line":943,"col":1,"offset":30391},"end":{"line":968,"col":32,"offset":31079},"extra":{"message":"The argument 'page_len' in function 'check_similar_party_name' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/doctype/party_master/party_master.py","start":{"line":943,"col":1,"offset":30391},"end":{"line":968,"col":32,"offset":31079},"extra":{"message":"The argument 'party_name' in function 'check_similar_party_name' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/doctype/party_master/party_master.py","start":{"line":943,"col":1,"offset":30391},"end":{"line":968,"col":32,"offset":31079},"extra":{"message":"The argument 'start' in function 'check_similar_party_name' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/doctype/party_master/party_master.py","start":{"line":971,"col":1,"offset":31082},"end":{"line":985,"col":19,"offset":31568},"extra":{"message":"The argument 'doc' in function 'create_party_master' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/doctype/party_master/party_master.py","start":{"line":988,"col":1,"offset":31571},"end":{"line":1026,"col":15,"offset":32745},"extra":{"message":"The argument 'doctype' in function 'get_linked_parties_with_analytic_list' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/doctype/party_master/party_master.py","start":{"line":988,"col":1,"offset":31571},"end":{"line":1026,"col":15,"offset":32745},"extra":{"message":"The argument 'party' in function 'get_linked_parties_with_analytic_list' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/doctype/party_master/party_master.py","start":{"line":988,"col":1,"offset":31571},"end":{"line":1026,"col":15,"offset":32745},"extra":{"message":"The argument 'party_field' in function 'get_linked_parties_with_analytic_list' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/doctype/party_master/party_master.py","start":{"line":988,"col":1,"offset":31571},"end":{"line":1026,"col":15,"offset":32745},"extra":{"message":"The argument 'party_master' in function 'get_linked_parties_with_analytic_list' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/doctype/party_master/party_master.py","start":{"line":988,"col":1,"offset":31571},"end":{"line":1026,"col":15,"offset":32745},"extra":{"message":"The argument 'party_type' in function 'get_linked_parties_with_analytic_list' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/doctype/party_master/party_master.py","start":{"line":1038,"col":1,"offset":33032},"end":{"line":1048,"col":13,"offset":33439},"extra":{"message":"The argument 'new_party_master' in function 'assign_party_master_for_selection' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/doctype/party_master/party_master.py","start":{"line":1038,"col":1,"offset":33032},"end":{"line":1048,"col":13,"offset":33439},"extra":{"message":"The argument 'old_party_master' in function 'assign_party_master_for_selection' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/doctype/party_master/party_master.py","start":{"line":1038,"col":1,"offset":33032},"end":{"line":1048,"col":13,"offset":33439},"extra":{"message":"The argument 'selections' in function 'assign_party_master_for_selection' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/doctype/party_master/party_master.py","start":{"line":1070,"col":1,"offset":34068},"end":{"line":1112,"col":3,"offset":35099},"extra":{"message":"The argument 'company' in function 'get_children' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/doctype/party_master/party_master.py","start":{"line":1070,"col":1,"offset":34068},"end":{"line":1112,"col":3,"offset":35099},"extra":{"message":"The argument 'doctype' in function 'get_children' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/doctype/party_master/party_master.py","start":{"line":1070,"col":1,"offset":34068},"end":{"line":1112,"col":3,"offset":35099},"extra":{"message":"The argument 'is_root' in function 'get_children' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/doctype/party_master/party_master.py","start":{"line":1070,"col":1,"offset":34068},"end":{"line":1112,"col":3,"offset":35099},"extra":{"message":"The argument 'name' in function 'get_children' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/doctype/party_master/party_master.py","start":{"line":1070,"col":1,"offset":34068},"end":{"line":1112,"col":3,"offset":35099},"extra":{"message":"The argument 'parent' in function 'get_children' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/doctype/party_master/party_master.py","start":{"line":1115,"col":1,"offset":35102},"end":{"line":1128,"col":16,"offset":35506},"extra":{"message":"The argument 'doctype' in function 'get_parents' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/doctype/party_master/party_master.py","start":{"line":1115,"col":1,"offset":35102},"end":{"line":1128,"col":16,"offset":35506},"extra":{"message":"The argument 'name' in function 'get_parents' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/doctype/party_master/party_master.py","start":{"line":1131,"col":1,"offset":35509},"end":{"line":1141,"col":15,"offset":35819},"extra":{"message":"The argument 'party_master_name' in function 'get_party_master_details_with_parties' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/doctype/party_master/party_master.py","start":{"line":1183,"col":1,"offset":36805},"end":{"line":1223,"col":29,"offset":38061},"extra":{"message":"The argument 'fromdb' in function 'get_parties' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/doctype/party_master/party_master.py","start":{"line":1183,"col":1,"offset":36805},"end":{"line":1223,"col":29,"offset":38061},"extra":{"message":"The argument 'party_master' in function 'get_parties' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/doctype/party_master/party_master.py","start":{"line":1183,"col":1,"offset":36805},"end":{"line":1223,"col":29,"offset":38061},"extra":{"message":"The argument 'party_type' in function 'get_parties' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/doctype/party_master/party_master.py","start":{"line":1226,"col":1,"offset":38064},"end":{"line":1286,"col":15,"offset":39530},"extra":{"message":"The argument 'as_dict' in function 'get_unset_parties_list' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/doctype/party_master/party_master.py","start":{"line":1226,"col":1,"offset":38064},"end":{"line":1286,"col":15,"offset":39530},"extra":{"message":"The argument 'doctype' in function 'get_unset_parties_list' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/doctype/party_master/party_master.py","start":{"line":1226,"col":1,"offset":38064},"end":{"line":1286,"col":15,"offset":39530},"extra":{"message":"The argument 'filters' in function 'get_unset_parties_list' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/doctype/party_master/party_master.py","start":{"line":1226,"col":1,"offset":38064},"end":{"line":1286,"col":15,"offset":39530},"extra":{"message":"The argument 'page_len' in function 'get_unset_parties_list' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/doctype/party_master/party_master.py","start":{"line":1226,"col":1,"offset":38064},"end":{"line":1286,"col":15,"offset":39530},"extra":{"message":"The argument 'searchfield' in function 'get_unset_parties_list' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/doctype/party_master/party_master.py","start":{"line":1226,"col":1,"offset":38064},"end":{"line":1286,"col":15,"offset":39530},"extra":{"message":"The argument 'start' in function 'get_unset_parties_list' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/doctype/party_master/party_master.py","start":{"line":1226,"col":1,"offset":38064},"end":{"line":1286,"col":15,"offset":39530},"extra":{"message":"The argument 'txt' in function 'get_unset_parties_list' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/doctype/party_master/party_master.py","start":{"line":1289,"col":1,"offset":39533},"end":{"line":1369,"col":12,"offset":42599},"extra":{"message":"The argument 'group' in function 'create_party_from_party_master' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/doctype/party_master/party_master.py","start":{"line":1289,"col":1,"offset":39533},"end":{"line":1369,"col":12,"offset":42599},"extra":{"message":"The argument 'rule_field_value' in function 'create_party_from_party_master' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/doctype/party_master/party_master.py","start":{"line":1289,"col":1,"offset":39533},"end":{"line":1369,"col":12,"offset":42599},"extra":{"message":"The argument 'save' in function 'create_party_from_party_master' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/doctype/party_master/party_master.py","start":{"line":1289,"col":1,"offset":39533},"end":{"line":1369,"col":12,"offset":42599},"extra":{"message":"The argument 'source_name' in function 'create_party_from_party_master' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/doctype/party_master/party_master.py","start":{"line":1289,"col":1,"offset":39533},"end":{"line":1369,"col":12,"offset":42599},"extra":{"message":"The argument 'target_doctype' in function 'create_party_from_party_master' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/doctype/party_master/party_master.py","start":{"line":1372,"col":1,"offset":42602},"end":{"line":1374,"col":92,"offset":42802},"extra":{"message":"The argument 'rule_field_value' in function 'map_party_to_target' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/doctype/party_master/party_master.py","start":{"line":1372,"col":1,"offset":42602},"end":{"line":1374,"col":92,"offset":42802},"extra":{"message":"The argument 'save' in function 'map_party_to_target' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/doctype/party_master/party_master.py","start":{"line":1372,"col":1,"offset":42602},"end":{"line":1374,"col":92,"offset":42802},"extra":{"message":"The argument 'source_name' in function 'map_party_to_target' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/doctype/party_master/party_master.py","start":{"line":1372,"col":1,"offset":42602},"end":{"line":1374,"col":92,"offset":42802},"extra":{"message":"The argument 'target_doctype' in function 'map_party_to_target' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.frappe-sql-format-injection","path":"uph/party/page/data_quality_dashboard/data_quality_dashboard.py","start":{"line":47,"col":3,"offset":1545},"end":{"line":59,"col":4,"offset":1922},"extra":{"message":"Detected use of '.format()' or f-string in a Frappe SQL call. This can lead to SQL injection. Use parameterized queries instead.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.frappe-sql-format-injection","path":"uph/party/page/data_quality_dashboard/data_quality_dashboard.py","start":{"line":129,"col":2,"offset":3934},"end":{"line":136,"col":59,"offset":4163},"extra":{"message":"Detected use of '.format()' or f-string in a Frappe SQL call. This can lead to SQL injection. Use parameterized queries instead.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.frappe-sql-format-injection","path":"uph/party/page/data_quality_dashboard/data_quality_dashboard.py","start":{"line":285,"col":2,"offset":9127},"end":{"line":295,"col":3,"offset":9411},"extra":{"message":"Detected use of '.format()' or f-string in a Frappe SQL call. This can lead to SQL injection. Use parameterized queries instead.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.frappe-missing-translate-function-in-report-python","path":"uph/party/report/chronological_party_ledger/chronological_party_ledger.py","start":{"line":187,"col":3,"offset":4979},"end":{"line":191,"col":4,"offset":5052},"extra":{"message":"All user facing text must be wrapped in translate function. Please refer to translation documentation. https://frappeframework.com/docs/user/en/guides/basics/translations\n","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.frappe-missing-translate-function-in-report-python","path":"uph/party/report/party_account_statement/party_account_statement.py","start":{"line":556,"col":3,"offset":16367},"end":{"line":560,"col":4,"offset":16440},"extra":{"message":"All user facing text must be wrapped in translate function. Please refer to translation documentation. https://frappeframework.com/docs/user/en/guides/basics/translations\n","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.frappe-missing-translate-function-in-report-python","path":"uph/party/report/party_accounting_ledger/party_accounting_ledger.py","start":{"line":540,"col":3,"offset":16355},"end":{"line":544,"col":4,"offset":16428},"extra":{"message":"All user facing text must be wrapped in translate function. Please refer to translation documentation. https://frappeframework.com/docs/user/en/guides/basics/translations\n","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/report/party_master_health_report/party_master_health_report.py","start":{"line":65,"col":1,"offset":1841},"end":{"line":143,"col":3,"offset":4211},"extra":{"message":"The argument 'filters' in function 'get_party_type_summary' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.frappe-sql-format-injection","path":"uph/party/report/party_master_health_report/party_master_health_report.py","start":{"line":91,"col":17,"offset":2569},"end":{"line":100,"col":4,"offset":2885},"extra":{"message":"Detected use of '.format()' or f-string in a Frappe SQL call. This can lead to SQL injection. Use parameterized queries instead.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.frappe-missing-translate-function-in-report-python","path":"uph/party/report/party_master_health_report/party_master_health_report.py","start":{"line":148,"col":3,"offset":4245},"end":{"line":154,"col":4,"offset":4411},"extra":{"message":"All user facing text must be wrapped in translate function. Please refer to translation documentation. https://frappeframework.com/docs/user/en/guides/basics/translations\n","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.frappe-missing-translate-function-in-report-python","path":"uph/party/report/party_master_health_report/party_master_health_report.py","start":{"line":155,"col":3,"offset":4415},"end":{"line":161,"col":4,"offset":4587},"extra":{"message":"All user facing text must be wrapped in translate function. Please refer to translation documentation. https://frappeframework.com/docs/user/en/guides/basics/translations\n","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.frappe-missing-translate-function-in-report-python","path":"uph/party/report/party_master_health_report/party_master_health_report.py","start":{"line":162,"col":3,"offset":4591},"end":{"line":167,"col":4,"offset":4697},"extra":{"message":"All user facing text must be wrapped in translate function. Please refer to translation documentation. https://frappeframework.com/docs/user/en/guides/basics/translations\n","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.frappe-missing-translate-function-in-report-python","path":"uph/party/report/party_master_health_report/party_master_health_report.py","start":{"line":168,"col":3,"offset":4701},"end":{"line":174,"col":4,"offset":4837},"extra":{"message":"All user facing text must be wrapped in translate function. Please refer to translation documentation. https://frappeframework.com/docs/user/en/guides/basics/translations\n","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.frappe-missing-translate-function-in-report-python","path":"uph/party/report/party_master_health_report/party_master_health_report.py","start":{"line":175,"col":3,"offset":4841},"end":{"line":180,"col":4,"offset":4947},"extra":{"message":"All user facing text must be wrapped in translate function. Please refer to translation documentation. https://frappeframework.com/docs/user/en/guides/basics/translations\n","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.frappe-missing-translate-function-in-report-python","path":"uph/party/report/party_master_health_report/party_master_health_report.py","start":{"line":181,"col":3,"offset":4951},"end":{"line":186,"col":4,"offset":5049},"extra":{"message":"All user facing text must be wrapped in translate function. Please refer to translation documentation. https://frappeframework.com/docs/user/en/guides/basics/translations\n","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.frappe-missing-translate-function-in-report-python","path":"uph/party/report/party_master_health_report/party_master_health_report.py","start":{"line":187,"col":3,"offset":5053},"end":{"line":192,"col":4,"offset":5155},"extra":{"message":"All user facing text must be wrapped in translate function. Please refer to translation documentation. https://frappeframework.com/docs/user/en/guides/basics/translations\n","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/utils.py","start":{"line":310,"col":1,"offset":9075},"end":{"line":441,"col":20,"offset":13440},"extra":{"message":"The argument 'doctype' in function 'get_party_master_list' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/utils.py","start":{"line":310,"col":1,"offset":9075},"end":{"line":441,"col":20,"offset":13440},"extra":{"message":"The argument 'filters' in function 'get_party_master_list' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/utils.py","start":{"line":310,"col":1,"offset":9075},"end":{"line":441,"col":20,"offset":13440},"extra":{"message":"The argument 'page_len' in function 'get_party_master_list' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/utils.py","start":{"line":310,"col":1,"offset":9075},"end":{"line":441,"col":20,"offset":13440},"extra":{"message":"The argument 'searchfield' in function 'get_party_master_list' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/utils.py","start":{"line":310,"col":1,"offset":9075},"end":{"line":441,"col":20,"offset":13440},"extra":{"message":"The argument 'start' in function 'get_party_master_list' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.missing-argument-type-hint","path":"uph/party/utils.py","start":{"line":310,"col":1,"offset":9075},"end":{"line":441,"col":20,"offset":13440},"extra":{"message":"The argument 'txt' in function 'get_party_master_list' is missing a type hint.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.security.frappe-sql-format-injection","path":"uph/patches/add_indexes.py","start":{"line":53,"col":4,"offset":1280},"end":{"line":53,"col":76,"offset":1352},"extra":{"message":"Detected use of '.format()' or f-string in a Frappe SQL call. This can lead to SQL injection. Use parameterized queries instead.","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.frappe-translation-trailing-spaces","path":"uph/public/js/utils/party.js","start":{"line":662,"col":59,"offset":19331},"end":{"line":662,"col":76,"offset":19348},"extra":{"message":"Trailing or leading whitespace not allowed in translate strings.\nPlease refer: https://frappeframework.com/docs/user/en/translations\n","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.frappe-translation-trailing-spaces","path":"uph/public/js/utils/party_master_manager.js","start":{"line":107,"col":61,"offset":3167},"end":{"line":107,"col":75,"offset":3181},"extra":{"message":"Trailing or leading whitespace not allowed in translate strings.\nPlease refer: https://frappeframework.com/docs/user/en/translations\n","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.frappe-translation-trailing-spaces","path":"uph/public/js/utils/party_master_manager.js","start":{"line":111,"col":64,"offset":3343},"end":{"line":111,"col":79,"offset":3358},"extra":{"message":"Trailing or leading whitespace not allowed in translate strings.\nPlease refer: https://frappeframework.com/docs/user/en/translations\n","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.frappe-cur-frm-usage","path":"uph/public/js/utils/utils.js","start":{"line":432,"col":17,"offset":12223},"end":{"line":432,"col":24,"offset":12230},"extra":{"message":"`cur_frm` is deprecated and can introduce buggy behaviour.\n","metadata":{},"severity":"WARNING","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}},{"check_id":"tmp.frappe-semgrep-rules.rules.frappe-breaks-multitenancy","path":"uph/regional/update_translations.py","start":{"line":3,"col":1,"offset":22},"end":{"line":3,"col":47,"offset":68},"extra":{"message":"receive global variable does not respect database multitenancy, consider wrapping it in function or method call.\n","metadata":{},"severity":"ERROR","fingerprint":"requires login","lines":"requires login","validation_state":"NO_VALIDATOR","engine_kind":"OSS"}}],"errors":[],"paths":{"scanned":[".github/helper/db/mariadb.json","combine_files.py","cypress/e2e/qunit.cy.js","cypress.config.js","uph/__init__.py","uph/config/__init__.py","uph/fixtures/module_onboarding.json","uph/fixtures/onboarding_step.json","uph/fixtures/workflow.json","uph/fixtures/workflow_state.json","uph/hooks.py","uph/party/__init__.py","uph/party/boot.py","uph/party/controllers/cache_utils.py","uph/party/controllers/duplicate_scanner.py","uph/party/controllers/field.py","uph/party/controllers/mdm.py","uph/party/controllers/normalization.py","uph/party/controllers/party.py","uph/party/controllers/party_issue_utils.py","uph/party/controllers/party_merge_service.py","uph/party/controllers/queries.py","uph/party/controllers/test_party.py","uph/party/controllers/test_suffix_naming.py","uph/party/controllers/transaction_health.py","uph/party/controllers/unlinked_resolver.py","uph/party/dashboard/unified_party_hub_dashboard/unified_party_hub_dashboard.json","uph/party/dashboard_chart/currency_exposure/currency_exposure.json","uph/party/dashboard_chart/legal_entity_distribution/legal_entity_distribution.json","uph/party/dashboard_chart/party_identity_governance/party_identity_governance.json","uph/party/dashboard_chart/party_stats/party_stats.json","uph/party/dashboard_chart/party_status_distribution/party_status_distribution.json","uph/party/dashboard_chart/top_creditors/top_creditors.json","uph/party/dashboard_chart/top_debtors/top_debtors.json","uph/party/dashboard_chart_source/party_identity_governance/party_identity_governance.js","uph/party/dashboard_chart_source/party_identity_governance/party_identity_governance.json","uph/party/dashboard_chart_source/party_identity_governance/party_identity_governance.py","uph/party/doctype/__init__.py","uph/party/doctype/party_analytic_accounting/__init__.py","uph/party/doctype/party_analytic_accounting/party_analytic_accounting.js","uph/party/doctype/party_analytic_accounting/party_analytic_accounting.json","uph/party/doctype/party_analytic_accounting/party_analytic_accounting.py","uph/party/doctype/party_analytic_accounting/test_party_analytic_accounting.py","uph/party/doctype/party_analytic_accounting_allowed_company/__init__.py","uph/party/doctype/party_analytic_accounting_allowed_company/party_analytic_accounting_allowed_company.json","uph/party/doctype/party_analytic_accounting_allowed_company/party_analytic_accounting_allowed_company.py","uph/party/doctype/party_analytic_accounting_party/__init__.py","uph/party/doctype/party_analytic_accounting_party/party_analytic_accounting_party.json","uph/party/doctype/party_analytic_accounting_party/party_analytic_accounting_party.py","uph/party/doctype/party_issue/__init__.py","uph/party/doctype/party_issue/party_issue.js","uph/party/doctype/party_issue/party_issue.json","uph/party/doctype/party_issue/party_issue.py","uph/party/doctype/party_issue/party_issue_list.js","uph/party/doctype/party_issue/test_party_issue.py","uph/party/doctype/party_master/__init__.py","uph/party/doctype/party_master/party_master.js","uph/party/doctype/party_master/party_master.json","uph/party/doctype/party_master/party_master.py","uph/party/doctype/party_master/party_master_dashboard.py","uph/party/doctype/party_master/party_master_tree.js","uph/party/doctype/party_master/test_party_master.py","uph/party/doctype/party_master_accounts/__init__.py","uph/party/doctype/party_master_accounts/party_master_accounts.json","uph/party/doctype/party_master_accounts/party_master_accounts.py","uph/party/doctype/party_master_parties/__init__.py","uph/party/doctype/party_master_parties/party_master_parties.json","uph/party/doctype/party_master_parties/party_master_parties.py","uph/party/doctype/party_master_role/__init__.py","uph/party/doctype/party_master_role/party_master_role.json","uph/party/doctype/party_master_role/party_master_role.py","uph/party/doctype/party_master_settings/__init__.py","uph/party/doctype/party_master_settings/party_master_settings.js","uph/party/doctype/party_master_settings/party_master_settings.json","uph/party/doctype/party_master_settings/party_master_settings.py","uph/party/doctype/party_master_settings/test_party_master_settings.py","uph/party/doctype/party_master_settings_docfield/__init__.py","uph/party/doctype/party_master_settings_docfield/party_master_settings_docfield.json","uph/party/doctype/party_master_settings_docfield/party_master_settings_docfield.py","uph/party/doctype/party_master_settings_doctype/__init__.py","uph/party/doctype/party_master_settings_doctype/party_master_settings_doctype.json","uph/party/doctype/party_master_settings_doctype/party_master_settings_doctype.py","uph/party/doctype/party_master_settings_party_type/__init__.py","uph/party/doctype/party_master_settings_party_type/party_master_settings_party_type.json","uph/party/doctype/party_master_settings_party_type/party_master_settings_party_type.py","uph/party/doctype/party_relationship/__init__.py","uph/party/doctype/party_relationship/party_relationship.js","uph/party/doctype/party_relationship/party_relationship.json","uph/party/doctype/party_relationship/party_relationship.py","uph/party/doctype/party_relationship/test_party_relationship.py","uph/party/doctype/party_relationship_type/__init__.py","uph/party/doctype/party_relationship_type/party_relationship_type.js","uph/party/doctype/party_relationship_type/party_relationship_type.json","uph/party/doctype/party_relationship_type/party_relationship_type.py","uph/party/doctype/party_relationship_type/test_party_relationship_type.py","uph/party/number_card/active_currencies/active_currencies.json","uph/party/number_card/linked_customers/linked_customers.json","uph/party/number_card/linked_suppliers/linked_suppliers.json","uph/party/number_card/monthly_sales/monthly_sales.json","uph/party/number_card/parties_missing_tax_id/parties_missing_tax_id.json","uph/party/number_card/total_customer/total_customer.json","uph/party/number_card/total_party_masters/total_party_masters.json","uph/party/number_card/total_payables/total_payables.json","uph/party/number_card/total_receivables/total_receivables.json","uph/party/number_card/unlinked_customers/unlinked_customers.json","uph/party/number_card/unlinked_suppliers/unlinked_suppliers.json","uph/party/page/data_quality_dashboard/__init__.py","uph/party/page/data_quality_dashboard/data_quality_dashboard.js","uph/party/page/data_quality_dashboard/data_quality_dashboard.json","uph/party/page/data_quality_dashboard/data_quality_dashboard.py","uph/party/page/uph_setup_wizard/uph_setup_wizard.js","uph/party/page/uph_setup_wizard/uph_setup_wizard.json","uph/party/page/uph_setup_wizard/uph_setup_wizard.py","uph/party/party_dashboard/party/party.json","uph/party/report/__init__.py","uph/party/report/chronological_party_ledger/__init__.py","uph/party/report/chronological_party_ledger/chronological_party_ledger.js","uph/party/report/chronological_party_ledger/chronological_party_ledger.json","uph/party/report/chronological_party_ledger/chronological_party_ledger.py","uph/party/report/party_account_balances/__init__.py","uph/party/report/party_account_balances/party_account_balances.js","uph/party/report/party_account_balances/party_account_balances.json","uph/party/report/party_account_balances/party_account_balances.py","uph/party/report/party_account_statement/__init__.py","uph/party/report/party_account_statement/party_account_statement.js","uph/party/report/party_account_statement/party_account_statement.json","uph/party/report/party_account_statement/party_account_statement.py","uph/party/report/party_accounting_ledger/__init__.py","uph/party/report/party_accounting_ledger/party_accounting_ledger.js","uph/party/report/party_accounting_ledger/party_accounting_ledger.json","uph/party/report/party_accounting_ledger/party_accounting_ledger.py","uph/party/report/party_health/party_health.js","uph/party/report/party_health/party_health.json","uph/party/report/party_health/party_health.py","uph/party/report/party_master_health_report/__init__.py","uph/party/report/party_master_health_report/party_master_health_report.js","uph/party/report/party_master_health_report/party_master_health_report.json","uph/party/report/party_master_health_report/party_master_health_report.py","uph/party/report/party_master_ledger/__init__.py","uph/party/report/party_master_ledger/party_master_ledger.js","uph/party/report/party_master_ledger/party_master_ledger.json","uph/party/report/party_master_ledger/party_master_ledger.py","uph/party/report/unlinked_parties/unlinked_parties.js","uph/party/report/unlinked_parties/unlinked_parties.json","uph/party/report/unlinked_parties/unlinked_parties.py","uph/party/utils.py","uph/party/workspace/party/party.json","uph/patches/add_indexes.py","uph/patches/fix_voucher_party_master_after_linking.py","uph/patches/insert_pm_field.py","uph/patches/migrate_duplicate_exclusion_to_party_issue.py","uph/patches/populate_normalized_party_name.py","uph/patches/rename_party_issue_fields.py","uph/patches/rescan_transaction_health_and_unlinked.py","uph/patches/setup_pm_fields.py","uph/patches/update_payment_entry_party_master_visibility.py","uph/patches/v3_2_optimize_indexes_and_sync.py","uph/public/js/uph.bundle.js","uph/public/js/utils/field_option_helper.js","uph/public/js/utils/party.js","uph/public/js/utils/party_master_manager.js","uph/public/js/utils/utils.js","uph/regional/arabic.py","uph/regional/update_translations.py","uph/setup/__init__.py","uph/setup/data/party_master_structure.json","uph/setup/data/templates/detailed.json","uph/setup/data/templates/simple.json","uph/setup/data/templates/standard.json","uph/setup/data/translations.py","uph/setup/install.py","uph/setup/uninstall.py","uph/tasks.py","uph/templates/__init__.py","uph/templates/pages/__init__.py","uph/unified_party_hub/__init__.py"]},"time":{"rules":[],"rules_parse_time":0.0318760871887207,"profiling_times":{"config_time":2.3833978176116943,"core_time":2.8207855224609375,"ignores_time":0.00025010108947753906,"total_time":5.212550640106201},"parsing_time":{"total_time":0.0,"per_file_time":{"mean":0.0,"std_dev":0.0},"very_slow_stats":{"time_ratio":0.0,"count_ratio":0.0},"very_slow_files":[]},"scanning_time":{"total_time":5.278486490249634,"per_file_time":{"mean":0.02999140051278202,"std_dev":0.006446223192727899},"very_slow_stats":{"time_ratio":0.0,"count_ratio":0.0},"very_slow_files":[]},"matching_time":{"total_time":0.0,"per_file_and_rule_time":{"mean":0.0,"std_dev":0.0},"very_slow_stats":{"time_ratio":0.0,"count_ratio":0.0},"very_slow_rules_on_files":[]},"tainting_time":{"total_time":0.0,"per_def_and_rule_time":{"mean":0.0,"std_dev":0.0},"very_slow_stats":{"time_ratio":0.0,"count_ratio":0.0},"very_slow_rules_on_defs":[]},"fixpoint_timeouts":[],"prefiltering":{"project_level_time":0.0,"file_level_time":0.0,"rules_with_project_prefilters_ratio":0.0,"rules_with_file_prefilters_ratio":0.8208547557840618,"rules_selected_ratio":0.3550771208226221,"rules_matched_ratio":0.3550771208226221},"targets":[],"total_bytes":0,"max_memory_bytes":290030720},"engine_requested":"OSS","skipped_rules":[],"profiling_results":[]}