Repository Analysis

openclaw/acpx

Headless CLI client for stateful Agent Client Protocol (ACP) sessions

4.9 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of openclaw/acpx, a TypeScript project with 3,187 GitHub stars. SynthScan v2.0 examined 114,479 lines of code across 375 source files, recording 590 pattern matches distributed across 6 syntactic categories. The overall adjusted score of 4.9 places this repository in the Likely human-written band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

4.9
Adjusted Score
4.9
Raw Score
100%
Time Factor
2026-08-28
Last Push
3.2K
Stars
TypeScript
Language
114.5K
Lines of Code
375
Files
590
Pattern Hits
2026-08-29
Scan Date
0.01
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

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

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 5MEDIUM 2LOW 583

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 590 distinct pattern matches across 6 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Hyper-Verbose Identifiers574 hits · 516 pts
SeverityFileLineSnippetContext
LOWtest/queue-owner-lifecycle.test.ts89async function waitForTerminalQueueMessage(CODE
LOWtest/runtime-manager.test.ts3719async function assertFinalPersistenceFailure(failAtSave: number): Promise<void> {CODE
LOWtest/runtime-manager.test.ts4202function createModelsClientFactory(options: {CODE
LOWtest/queue-test-helpers.ts120export function createSingleRequestServer(CODE
LOWtest/jsonrpc-test-helpers.ts23export function extractAgentMessageChunkText(message: Record<string, unknown>): string | undefined {CODE
LOWtest/mock-agent.ts296function parsePositiveIntegerOption(args: string[], index: number, flag: string): number {CODE
LOWtest/mock-agent.ts671function buildMockSessionInventory(cwd: string): SessionInfo[] {CODE
LOWtest/turn-controller.test.ts230function createQueueOwnerTurnController(CODE
LOWtest/integration.test.ts5277async function assertNoNewSleepProcesses(CODE
LOWtest/replay-viewer-live-sync.test.ts636async function writeLiveSessionRunBundle(CODE
LOWtest/cli.test.ts33function readPackageVersionForTest(): string {CODE
LOWreferences/openclaw-acp-client.ts68function resolveToolKindForPermission(CODE
LOWreferences/openclaw-acp-client.ts116function resolveToolNameForPermission(params: RequestPermissionRequest): string | undefined {CODE
LOW…s/skills/autoreview/tests/test_autoreview_hardening.py599 def test_secret_detector_handles_quoted_json_keys(self) -> None:CODE
LOW…s/skills/autoreview/tests/test_autoreview_hardening.py604 def test_secret_detector_handles_backtick_credential_literals(self) -> None:CODE
LOW…s/skills/autoreview/tests/test_autoreview_hardening.py609 def test_secret_detector_allows_op_backtick_credential_references(self) -> None:CODE
LOW…s/skills/autoreview/tests/test_autoreview_hardening.py618 def test_secret_detector_allows_safe_backtick_interpolation(self) -> None:CODE
LOW…s/skills/autoreview/tests/test_autoreview_hardening.py628 def test_secret_detector_rejects_backtick_interpolation_with_literal_secret(CODE
LOW…s/skills/autoreview/tests/test_autoreview_hardening.py643 def test_secret_detector_rejects_op_backtick_shell_fallbacks(self) -> None:CODE
LOW…s/skills/autoreview/tests/test_autoreview_hardening.py652 def test_secret_detector_rejects_backtick_fallback_literals(self) -> None:CODE
LOW…s/skills/autoreview/tests/test_autoreview_hardening.py662 def test_secret_detector_rejects_member_reference_fallback_literals(self) -> None:CODE
LOW…s/skills/autoreview/tests/test_autoreview_hardening.py672 def test_secret_detector_rejects_reference_shaped_fallback_literals(self) -> None:CODE
LOW…s/skills/autoreview/tests/test_autoreview_hardening.py682 def test_secret_detector_rejects_reference_shaped_backtick_literals(self) -> None:CODE
LOW…s/skills/autoreview/tests/test_autoreview_hardening.py687 def test_secret_detector_rejects_python_reference_fallback_literals(self) -> None:CODE
LOW…s/skills/autoreview/tests/test_autoreview_hardening.py752 def test_secret_detector_rejects_call_fallback_literals(self) -> None:CODE
LOW…s/skills/autoreview/tests/test_autoreview_hardening.py766 def test_secret_detector_rejects_grouped_fallbacks_after_line_comments(CODE
LOW…s/skills/autoreview/tests/test_autoreview_hardening.py1095 def test_call_argument_split_preserves_secret_shaped_regex(self) -> None:CODE
LOW…s/skills/autoreview/tests/test_autoreview_hardening.py1105 def test_call_argument_split_treats_contextual_of_as_identifier(self) -> None:CODE
LOW…s/skills/autoreview/tests/test_autoreview_hardening.py1113 def test_control_condition_scan_is_cached_per_source(self) -> None:CODE
LOW…s/skills/autoreview/tests/test_autoreview_hardening.py1283 def test_secret_detector_rejects_bare_secret_with_reference_prefix(CODE
LOW…s/skills/autoreview/tests/test_autoreview_hardening.py1290 def test_secret_detector_rejects_multiline_call_fallback_literals(self) -> None:CODE
LOW…s/skills/autoreview/tests/test_autoreview_hardening.py1300 def test_secret_detector_rejects_operator_only_multiline_fallbacks(self) -> None:CODE
LOW…s/skills/autoreview/tests/test_autoreview_hardening.py1310 def test_secret_detector_rejects_nested_multiline_fallbacks(self) -> None:CODE
LOW…s/skills/autoreview/tests/test_autoreview_hardening.py1320 def test_secret_detector_rejects_comment_separated_call_fallbacks(self) -> None:CODE
LOW…s/skills/autoreview/tests/test_autoreview_hardening.py1331 def test_secret_detector_rejects_optional_call_fallback_literals(self) -> None:CODE
LOW…s/skills/autoreview/tests/test_autoreview_hardening.py1340 def test_secret_detector_ignores_comment_delimiters_in_calls(self) -> None:CODE
LOW…s/skills/autoreview/tests/test_autoreview_hardening.py1350 def test_secret_detector_allows_bare_variable_secret_references(self) -> None:CODE
LOW…s/skills/autoreview/tests/test_autoreview_hardening.py1409 def test_secret_detector_handles_private_key_header_variants(self) -> None:CODE
LOW…s/skills/autoreview/tests/test_autoreview_hardening.py1417 def test_secret_detector_allows_dotted_config_keys(self) -> None:CODE
LOW…s/skills/autoreview/tests/test_autoreview_hardening.py1424 def test_secret_detector_handles_punctuation_and_multiline_diff_values(self) -> None:CODE
LOW…s/skills/autoreview/tests/test_autoreview_hardening.py1494 def test_secret_detector_handles_bare_call_keyword_values(self) -> None:CODE
LOW…s/skills/autoreview/tests/test_autoreview_hardening.py1499 def test_secret_detector_handles_unquoted_underscore_tokens(self) -> None:CODE
LOW…s/skills/autoreview/tests/test_autoreview_hardening.py1504 def test_secret_detector_allows_dotted_calls(self) -> None:CODE
LOW…s/skills/autoreview/tests/test_autoreview_hardening.py1550 def test_secret_detector_does_not_exempt_expression_text_in_literals(self) -> None:CODE
LOW…s/skills/autoreview/tests/test_autoreview_hardening.py1560 def test_secret_detector_handles_lowercase_passphrases(self) -> None:CODE
LOW…s/skills/autoreview/tests/test_autoreview_hardening.py1565 def test_secret_detector_handles_low_diversity_passwords(self) -> None:CODE
LOW…s/skills/autoreview/tests/test_autoreview_hardening.py1574 def test_secret_detector_handles_credentialed_uris(self) -> None:CODE
LOW…s/skills/autoreview/tests/test_autoreview_hardening.py1636 def test_secret_detector_limits_uri_userinfo_to_authority(self) -> None:CODE
LOW…s/skills/autoreview/tests/test_autoreview_hardening.py1645 def test_secret_detector_handles_username_only_uri_credentials(self) -> None:CODE
LOW…s/skills/autoreview/tests/test_autoreview_hardening.py1828 def test_uri_defaults_and_plain_strings_are_not_interpolation(self) -> None:CODE
LOW…s/skills/autoreview/tests/test_autoreview_hardening.py1836 def test_secret_detector_ignores_arrow_parameter_fallbacks(self) -> None:CODE
LOW…s/skills/autoreview/tests/test_autoreview_hardening.py1843 def test_uri_interpolation_rejects_literal_expressions(self) -> None:CODE
LOW…s/skills/autoreview/tests/test_autoreview_hardening.py1851 def test_secret_detector_handles_basic_authorization_headers(self) -> None:CODE
LOW…s/skills/autoreview/tests/test_autoreview_hardening.py1859 def test_secret_detector_allows_basic_authentication_prose(self) -> None:CODE
LOW…s/skills/autoreview/tests/test_autoreview_hardening.py1867 def test_template_uri_references_skip_format_scans(self) -> None:CODE
LOW…s/skills/autoreview/tests/test_autoreview_hardening.py1901 def test_secret_detector_handles_aws_secret_access_keys(self) -> None:CODE
LOW…s/skills/autoreview/tests/test_autoreview_hardening.py1910 def test_secret_detector_allows_common_fixture_literals(self) -> None:CODE
LOW…s/skills/autoreview/tests/test_autoreview_hardening.py1919 def test_secret_detector_does_not_trust_in_band_suppressions(self) -> None:CODE
LOW…s/skills/autoreview/tests/test_autoreview_hardening.py1929 def test_secret_detector_does_not_treat_quoted_code_text_as_a_reference(self) -> None:CODE
LOW…s/skills/autoreview/tests/test_autoreview_hardening.py2179 def test_read_text_truncates_without_scanning_tail(self) -> None:CODE
514 more matches not shown…
Cross-Language Confusion5 hits · 32 pts
SeverityFileLineSnippetContext
HIGH…s/skills/autoreview/tests/test_autoreview_hardening.py646 + "word=`op read op://vault/item/password || echo real-hardcoded-"CODE
HIGH…s/skills/autoreview/tests/test_autoreview_hardening.py759 + 'ken = process.env.TOKEN || choose(/\\)/, "'CODE
HIGH…s/skills/autoreview/tests/test_autoreview_hardening.py1313 + "word = user.credentials.password || getDefault(\n"CODE
HIGH…s/skills/autoreview/tests/test_autoreview_hardening.py717 "pass" + "word = user.credentials.password || null",CODE
HIGH…s/skills/autoreview/tests/test_autoreview_hardening.py993 + "ken = provider.issue_token(value<int> / total || process.env.TOKEN)",CODE
Modern AI Meta-Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMskills/acpx/SKILL.md157### Compare (multi-agent one-shot)COMMENT
MEDIUMskills/acpx/SKILL.md442## Flows (multi-agent workflows)COMMENT
Fake / Example Data4 hits · 3 pts
SeverityFileLineSnippetContext
LOW.agents/skills/crabbox/SKILL.md465../crabbox/bin/crabbox desktop paste --provider hetzner --id <cbx_id-or-slug> --text "user@example.com"CODE
LOW…s/skills/autoreview/tests/test_autoreview_hardening.py1638 'url="https://example.com:443?email=user@example.org"',CODE
LOW…s/skills/autoreview/tests/test_autoreview_hardening.py1639 'url="https://example.com:443#owner=user@example.org"',CODE
LOW…s/skills/autoreview/tests/test_autoreview_hardening.py1640 'url="https://example.com:443" + "?email=user@example.org"',CODE
Unused Imports3 hits · 2 pts
SeverityFileLineSnippetContext
LOW…s/skills/autoreview/tests/test_autoreview_hardening.py2CODE
LOW…gents/skills/autoreview/scripts/test-review-harness.py2CODE
LOW.agents/skills/autoreview/scripts/autoreview_test.py2CODE
Deep Nesting2 hits · 1 pts
SeverityFileLineSnippetContext
LOW…s/skills/autoreview/tests/test_autoreview_hardening.py3208CODE
LOW…s/skills/autoreview/tests/test_autoreview_hardening.py3773CODE