AI Slop Code Risk Monitor

httpie/cli

SlopCodeMonitor badge for httpie/cli Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

🥧 HTTPie CLI — modern, user-friendly command-line HTTP client for the API era. JSON support, colors, sessions, downloads, plugins & more.

19.2 Elevated pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for httpie/cli, a Python project with 38,758 GitHub stars. SynthScan examined 25,308 lines of code across 186 source files, recording 376 pattern matches distributed across 13 syntactic categories. The legacy adjusted pattern signal is 19.2 (Elevated pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

19.2
Adjusted Signal
19.2
Raw Pattern Score
100%
Time Factor
2024-12-17
Last Push
38.8K
Stars
Python
Language
25.3K
Lines of Code
186
Files
376
Pattern Hits
2026-11-27
Scan Date
0.09
HC Hit Rate

Risk Review · Payload v1

Use each vector to guide manual verification of the underlying findings.

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-11-27.

Cognitive Ownership Risk 50.6/100 · HIGH

Can maintainers explain intent, assumptions, and trade-offs? 316 finding(s).

Hallucinated Dependency & Supply Chain Risk 7.8/100 · LOW

Are imports declared and package/API names verified? 32 finding(s).

Agent Over-Engineering Ratio 55.7/100 · HIGH

Are wrappers, guards, and repeated structures necessary? 315 finding(s).

PR Review Velocity Impact 60.2/100 · HIGH

Which changes need focused human review? 376 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 17MEDIUM 3LOW 356

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 376 distinct pattern matches across 13 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hyper-Verbose Identifiers283 hits · 319 pts
SeverityFileLineSnippetContext
LOWtests/test_httpie.py24def test_main_entry_point_keyboard_interrupt(main):CODE
LOWtests/test_httpie.py53def test_path_dot_normalization():CODE
LOWtests/test_httpie.py199def test_unset_useragent_header(httpbin_both):CODE
LOW⚡tests/test_httpie.py215def test_headers_empty_value_with_value_gives_error(httpbin):CODE
LOW⚡tests/test_httpie.py225def test_headers_multiple_omit(httpbin_both):CODE
LOW⚡tests/test_httpie.py233def test_headers_same_after_omit(httpbin_both):CODE
LOWtests/test_httpie.py245def test_headers_multiple_values(httpbin_both):CODE
LOWtests/test_httpie.py250def test_headers_multiple_values_repeated(httpbin_both):CODE
LOW⚡tests/test_httpie.py270def test_headers_multiple_values_with_empty(httpbin_both, headers, expected):CODE
LOW⚡tests/test_httpie.py275def test_headers_multiple_values_mixed(httpbin_both):CODE
LOW⚡tests/test_httpie.py282def test_headers_preserve_prepared_headers(httpbin_both):CODE
LOW⚡tests/test_httpie.py289def test_headers_multiple_headers_representation(httpbin_both, pretty):CODE
LOW⚡tests/test_httpie.py302def test_response_headers_multiple(http_server):CODE
LOW⚡tests/test_httpie.py308def test_response_headers_multiple_repeated(http_server):CODE
LOW⚡tests/test_httpie.py316def test_response_headers_multiple_representation(http_server, pretty):CODE
LOWtests/test_httpie.py329def test_json_input_preserve_order(httpbin_both):CODE
LOWtests/test_httpie.py355def test_options_content_length_preservation(httpbin, extra_args, expected_content_length):CODE
LOWtests/test_httpie.py366def test_options_dropping_redundant_content_length(httpbin, method):CODE
LOWtests/test_cookie.py27 class MockServerRequestHandler(BaseHTTPRequestHandler):CODE
LOW⚡tests/conftest.py52def _httpbin_with_chunked_support_available():CODE
LOW⚡tests/conftest.py61def httpbin_with_chunked_support(_httpbin_with_chunked_support_available):CODE
LOW⚡tests/conftest.py68def _remote_httpbin_available():CODE
LOW⚡tests/test_redirects.py15def test_follow_all_redirects_shown(httpbin):CODE
LOW⚡tests/test_redirects.py23def test_follow_without_all_redirects_hidden(httpbin, follow_flag):CODE
LOW⚡tests/test_redirects.py30def test_follow_output_options_used_for_redirects(httpbin):CODE
LOW⚡tests/test_redirects.py36def test_follow_all_output_options_used_for_redirects(httpbin):CODE
LOWtests/test_redirects.py47# def test_follow_redirect_output_options(httpbin):COMMENT
LOWtests/test_redirects.py72def test_follow_redirect_with_repost(httpbin, status_code):CODE
LOWtests/test_redirects.py91def test_verbose_follow_redirect_with_repost(httpbin, status_code):CODE
LOWtests/test_auth.py58def test_credentials_in_url_auth_flag_has_priority(httpbin_both):CODE
LOW⚡tests/test_auth.py72def test_only_username_in_url(url):CODE
LOWtests/test_auth.py112def test_ignore_netrc_together_with_auth():CODE
LOWtests/test_auth.py120def test_ignore_netrc_with_auth_type_resulting_in_missing_auth(httpbin):CODE
LOWtests/test_auth.py141def test_auth_plugin_netrc_parse(auth_type, endpoint, httpbin):CODE
LOWtests/test_auth.py150def test_ignore_netrc_null_auth():CODE
LOW⚡tests/test_errors.py57def test_max_headers_no_limit(httpbin_both):CODE
LOW⚡tests/test_errors.py61def test_response_charset_option_unknown_encoding(httpbin_both):CODE
LOW⚡tests/test_errors.py70def test_response_mime_option_invalid_mime_type(httpbin_both):CODE
LOWtests/test_sessions.py91 def test_session_created_and_reused(self, httpbin):CODE
LOWtests/test_sessions.py151 def test_session_overwrite_header(self, httpbin):CODE
LOWtests/test_sessions.py173 def test_session_ignored_header_prefixes(self, httpbin):CODE
LOWtests/test_sessions.py204 def test_session_with_cookie_followed_by_another_header(self, httpbin):CODE
LOWtests/test_sessions.py240 def test_session_default_header_value_overwritten(self, httpbin):CODE
LOWtests/test_sessions.py272 def test_auth_type_reused_in_session(self, auth_require_param, auth_parse_param, httpbin):CODE
LOWtests/test_sessions.py306 def test_auth_plugin_prompt_password_in_session(self, httpbin):CODE
LOWtests/test_sessions.py346 def test_auth_type_stored_in_session_file(self, httpbin):CODE
LOWtests/test_sessions.py379 def test_removes_expired_cookies_from_session_obj(self, initial_cookie, expired_cookie, httpbin, mock_env):CODE
LOWtests/test_sessions.py397 def test_get_expired_cookies_using_max_age(self):CODE
LOWtests/test_sessions.py442 def test_get_expired_cookies_manages_multiple_cookie_headers(self, cookies, now, expected_expired):CODE
LOWtests/test_sessions.py477 def test_existing_and_new_cookies_sent_in_request(CODE
LOWtests/test_sessions.py531 def test_cookie_storage_priority(self, cli_cookie, set_cookie, expected, httpbin):CODE
LOWtests/test_sessions.py588def test_old_session_version_saved_as_is(basic_session, mock_env):CODE
LOWtests/test_sessions.py596def test_old_session_cookie_layout_warning(basic_session, mock_env):CODE
LOWtests/test_sessions.py652def test_cookie_security_warnings_on_raw_cookies(basic_session, mock_env, cookies, expect_warning):CODE
LOWtests/test_sessions.py666def test_old_session_cookie_layout_loading(basic_session, httpbin, mock_env):CODE
LOWtests/test_sessions.py682def test_session_cookie_layout_preservation(basic_session, mock_env, layout_type):CODE
LOWtests/test_sessions.py695def test_session_cookie_layout_preservation_on_new_cookies(basic_session, httpbin, mock_env, layout_type):CODE
LOWtests/test_sessions.py730def test_headers_old_layout_warning(basic_session, mock_env, headers, expect_warning):CODE
LOWtests/test_sessions.py744def test_outdated_layout_mixed(basic_session, mock_env):CODE
LOWtests/test_sessions.py759def test_old_session_header_layout_loading(basic_session, httpbin, mock_env):CODE
223 more matches not shown…
Empty Error Handlers15 hits · 75 pts
SeverityFileLineSnippetContext
HIGHtests/utils/__init__.py183except Exception:CODE
HIGHtests/utils/__init__.py439except Exception:CODE
HIGHtests/utils/__init__.py264except ValueError:CODE
HIGHtests/utils/__init__.py270except ValueError:CODE
HIGHhttpie/config.py74except FileNotFoundError:CODE
HIGHhttpie/models.py125except AttributeError:CODE
HIGHhttpie/downloads.py244except OSError:CODE
HIGHhttpie/context.py78except curses.error:CODE
HIGHhttpie/output/utils.py16except ValueError:CODE
HIGHhttpie/output/formatters/xml.py69except ExpatError:CODE
HIGHhttpie/output/formatters/xml.py71except DefusedXmlException:CODE
HIGHhttpie/output/formatters/json.py23except ValueError:CODE
HIGHhttpie/output/formatters/colors.py171except ClassNotFound:CODE
HIGHhttpie/output/formatters/colors.py184except ValueError:CODE
HIGHhttpie/output/formatters/colors.py177except ClassNotFound:CODE
Unused Imports27 hits · 27 pts
SeverityFileLineSnippetContext
LOWtests/conftest.py7CODE
LOWtests/conftest.py14CODE
LOWtests/conftest.py14CODE
LOWtests/conftest.py14CODE
LOWtests/conftest.py14CODE
LOWtests/conftest.py14CODE
LOWtests/conftest.py14CODE
LOWtests/conftest.py22CODE
LOWtests/conftest.py22CODE
LOWtests/utils/matching/__init__.py10CODE
LOWhttpie/compat.py21CODE
LOWhttpie/plugins/__init__.py6CODE
LOWhttpie/plugins/__init__.py6CODE
LOWhttpie/plugins/__init__.py6CODE
LOWhttpie/plugins/__init__.py6CODE
LOWhttpie/output/ui/rich_progress.py7CODE
LOWhttpie/output/formatters/xml.py7CODE
LOWhttpie/legacy/v3_2_0_session_header_format.py4CODE
LOWhttpie/legacy/v3_1_0_session_cookie_format.py5CODE
LOWhttpie/cli/definition.py1CODE
LOWhttpie/cli/nested_json/__init__.py9CODE
LOWhttpie/cli/nested_json/__init__.py9CODE
LOWhttpie/cli/nested_json/__init__.py10CODE
LOWhttpie/cli/nested_json/__init__.py11CODE
LOWhttpie/cli/nested_json/__init__.py11CODE
LOWextras/packaging/linux/scripts/hooks/hook-pip.py1CODE
LOWextras/profiling/benchmarks.py34CODE
Deep Nesting20 hits · 20 pts
SeverityFileLineSnippetContext
LOWtests/test_ssl.py54CODE
LOWtests/utils/__init__.py244CODE
LOWdocs/contributors/fetch.py193CODE
LOWhttpie/sessions.py200CODE
LOWhttpie/client.py43CODE
LOWhttpie/core.py32CODE
LOWhttpie/core.py170CODE
LOWhttpie/output/streams.py63CODE
LOWhttpie/output/streams.py198CODE
LOWhttpie/cli/argparser.py227CODE
LOWhttpie/cli/argparser.py282CODE
LOWhttpie/cli/argparser.py409CODE
LOWhttpie/cli/argparser.py492CODE
LOWhttpie/cli/nested_json/interpret.py30CODE
LOWhttpie/cli/nested_json/parse.py23CODE
LOWhttpie/cli/nested_json/parse.py127CODE
LOWhttpie/cli/nested_json/parse.py70CODE
LOWhttpie/manager/tasks/plugins.py217CODE
LOWextras/profiling/run.py179CODE
LOWextras/scripts/generate_man_pages.py116CODE
Cross-Language Confusion2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHhttpie/context.py172 stderr = self.stderr # Not directly /dev/null, since stderr might be mockedCODE
HIGHhttpie/output/lexers/json.py25 fr'({PREFIX_REGEX})' + r'((?:[{\["]|true|false|null).+)',CODE
Excessive Try-Catch Wrapping8 hits · 9 pts
SeverityFileLineSnippetContext
LOWtests/utils/__init__.py183 except Exception:CODE
LOWtests/utils/__init__.py413 except Exception:CODE
LOWtests/utils/__init__.py439 except Exception:CODE
MEDIUMtests/utils/__init__.py115def write(self, data):CODE
LOWdocs/contributors/fetch.py52 except Exception as exc:CODE
LOWhttpie/core.py138 except Exception as e:CODE
LOWhttpie/uploads.py90 except Exception:CODE
LOWhttpie/output/ui/man_pages.py30 except Exception:CODE
Self-Referential Comments2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMhttpie/internal/daemon_runner.py13 # This function is used only for the testing (test_update_warnings).COMMENT
MEDIUMextras/profiling/run.py125 # Create a wheel distribution of HTTPieCOMMENT
Modern Structural Boilerplate5 hits · 5 pts
SeverityFileLineSnippetContext
LOWtests/utils/matching/__init__.py13__all__ = [CODE
LOWhttpie/cli/nested_json/interpret.py8__all__ = [CODE
LOWhttpie/cli/nested_json/__init__.py14__all__ = [CODE
LOWhttpie/cli/nested_json/parse.py17__all__ = [CODE
LOWextras/scripts/generate_man_pages.py57 def set_name(self, program_name: str) -> None:CODE
Over-Commented Block4 hits · 4 pts
SeverityFileLineSnippetContext
LOWtests/test_redirects.py41 httpbin + '/redirect/2')COMMENT
LOWdocs/markdownlint.rb21exclude_rule 'MD014'COMMENT
LOWhttpie/plugins/base.py41 # plugin to acquire credentials from the user’s netrc file(s).COMMENT
LOWhttpie/output/lexers/common.py1def precise(lexer, precise_token, parent_token):COMMENT
Fake / Example Data3 hits · 4 pts
SeverityFileLineSnippetContext
LOW⚡tests/test_auth.py69 'username@example.org',CODE
LOW⚡tests/test_auth.py70 'username:@example.org',CODE
LOWdocs/README.md638 "email": "john@example.org"CODE
AI Structural Patterns4 hits · 4 pts
SeverityFileLineSnippetContext
LOWdocs/installation/generate.py32CODE
LOWdocs/installation/generate.py67CODE
LOWhttpie/cli/requestitems.py200CODE
LOWhttpie/cli/requestitems.py205CODE
Redundant / Tautological Comments2 hits · 2 pts
SeverityFileLineSnippetContext
LOWtests/test_ssl.py65 elif e.__context__ is not None: # Check if root cause was an unsupported TLS versionCODE
LOWhttpie/plugins/base.py37 # Set this to `False` to disable the parsing and error handling.COMMENT
AI Slop Vocabulary1 hit · 2 pts
SeverityFileLineSnippetContext
LOWhttpie/output/ui/palette.py40 # we just create a new string.COMMENT