RepoTrust

Leaderboard github.com

Alamofire/Alamofire

Elegant HTTP Networking in Swift

  • View repository ↗
  • Swift
  • ★ 42,399
  • commit dea4bab91767
  • scored 2026-11-14
  • scoring prov-5+qual-2+sec-2

AI provenance

0%

possible

Confidence
65%
Coverage
100%

Estimated share of AI-generated code. Explicit attribution is a lower bound.

Code quality

61/100

weak

Confidence
90%
Coverage
100%

Complexity, duplication, lint density, tests, CI, docs and review process.

Security

68/100

weak

Confidence
85%
Coverage
100%

Secrets, static analysis, vulnerable dependencies, CI and supply-chain posture.

AI provenance

0% possible

Weak signals consistent with AI-assisted development. 1 commit(s) carry explicit AI attribution, too few to characterize the codebase.

How the score is built

  • Explicitly attributed share0%
  • Unattributed share in AI-pace bursts0%
  • Estimated AI-generated share0%
  • AI tool configuration files0
  • Work sessions at AI pace0
  • Releases at AI pace0
  • Coding-style index (1.0+ means possible)0.15

Attributed AI tools

ToolCommitsLines addedFirst seenLast seen
Claude Code102026-11-112026-11-11

Lines added per month all AI-attributed share

  1. 2014-071,495 · 0% AI
  2. 2014-081,148 · 0% AI
  3. 2014-091,826 · 0% AI
  4. 2014-10182 · 0% AI
  5. 2014-1150 · 0% AI
  6. 2014-12116 · 0% AI
  7. 2015-01166 · 0% AI
  8. 2015-02194 · 0% AI
  9. 2015-03117 · 0% AI
  10. 2015-04231 · 0% AI
  11. 2015-053,834 · 0% AI
  12. 2015-063,391 · 0% AI
  13. 2015-075,688 · 0% AI
  14. 2015-081,265 · 0% AI
  15. 2015-091,585 · 0% AI
  16. 2015-10325 · 0% AI
  17. 2015-1131 · 0% AI
  18. 2015-1270 · 0% AI
  19. 2016-0189 · 0% AI
  20. 2016-02963 · 0% AI
  21. 2016-03288 · 0% AI
  22. 2016-04394 · 0% AI
  23. 2016-05955 · 0% AI
  24. 2016-062,346 · 0% AI
  25. 2016-07856 · 0% AI
  26. 2016-086,274 · 0% AI
  27. 2016-097,390 · 0% AI
  28. 2016-10103 · 0% AI
  29. 2016-11807 · 0% AI
  30. 2016-1264 · 0% AI
  31. 2017-01437 · 0% AI
  32. 2017-02692 · 0% AI
  33. 2017-0310 · 0% AI
  34. 2017-048 · 0% AI
  35. 2017-052 · 0% AI
  36. 2017-06576 · 0% AI
  37. 2017-070 · 0% AI
  38. 2017-083,314 · 0% AI
  39. 2017-0973 · 0% AI
  40. 2017-102 · 0% AI
  41. 2017-11424 · 0% AI
  42. 2017-120 · 0% AI
  43. 2018-02152 · 0% AI
  44. 2018-03140 · 0% AI
  45. 2018-0411 · 0% AI
  46. 2018-060 · 0% AI
  47. 2018-0712 · 0% AI
  48. 2018-080 · 0% AI
  49. 2018-11175 · 0% AI
  50. 2018-128,603 · 0% AI
  51. 2019-011,972 · 0% AI
  52. 2019-021,016 · 0% AI
  53. 2019-032,980 · 0% AI
  54. 2019-041,134 · 0% AI
  55. 2019-05224 · 0% AI
  56. 2019-061,639 · 0% AI
  57. 2019-071,259 · 0% AI
  58. 2019-083,700 · 0% AI
  59. 2019-09587 · 0% AI
  60. 2019-10302 · 0% AI
  61. 2019-1116 · 0% AI
  62. 2019-1245 · 0% AI
  63. 2020-015 · 0% AI
  64. 2020-02102 · 0% AI
  65. 2020-031,253 · 0% AI
  66. 2020-041,760 · 0% AI
  67. 2020-053,547 · 0% AI
  68. 2020-06661 · 0% AI
  69. 2020-07192 · 0% AI
  70. 2020-08156 · 0% AI
  71. 2020-0975 · 0% AI
  72. 2020-10601 · 0% AI
  73. 2020-112 · 0% AI
  74. 2020-121 · 0% AI
  75. 2021-021,484 · 0% AI
  76. 2021-03154 · 0% AI
  77. 2021-0472 · 0% AI
  78. 2021-0586 · 0% AI
  79. 2021-06288 · 0% AI
  80. 2021-072 · 0% AI
  81. 2021-081 · 0% AI
  82. 2021-0923 · 0% AI
  83. 2021-101,198 · 0% AI
  84. 2021-11417 · 0% AI
  85. 2021-121,308 · 0% AI
  86. 2022-01128 · 0% AI
  87. 2022-0268 · 0% AI
  88. 2022-034 · 0% AI
  89. 2022-04110 · 0% AI
  90. 2022-051 · 0% AI
  91. 2022-06429 · 0% AI
  92. 2022-0712 · 0% AI
  93. 2022-1030 · 0% AI
  94. 2022-1129 · 0% AI
  95. 2022-12219 · 0% AI
  96. 2023-010 · 0% AI
  97. 2023-02273 · 0% AI
  98. 2023-03385 · 0% AI
  99. 2023-0552 · 0% AI
  100. 2023-0675 · 0% AI
  101. 2023-0727 · 0% AI
  102. 2023-081,080 · 0% AI
  103. 2023-09302 · 0% AI
  104. 2023-100 · 0% AI
  105. 2023-111,762 · 0% AI
  106. 2024-014,086 · 0% AI
  107. 2024-0213 · 0% AI
  108. 2024-0315 · 0% AI
  109. 2024-051 · 0% AI
  110. 2024-07110 · 0% AI
  111. 2024-080 · 0% AI
  112. 2024-09561 · 0% AI
  113. 2024-101,270 · 0% AI
  114. 2024-1126 · 0% AI
  115. 2025-010 · 0% AI
  116. 2025-050 · 0% AI
  117. 2025-090 · 0% AI
  118. 2025-101,958 · 0% AI
  119. 2025-114 · 0% AI
  120. 2025-122,525 · 0% AI
  121. 2026-01137 · 0% AI
  122. 2026-021 · 0% AI
  123. 2026-031 · 0% AI
  124. 2026-0440 · 0% AI
  125. 2026-051,965 · 0% AI
  126. 2026-060 · 0% AI
  127. 2026-070 · 0% AI
  128. 2026-09144 · 0% AI
  129. 2026-101 · 0% AI
  130. 2026-110 · 0% AI

Findings in AI-attributed lines vs the rest

From git blame: 0 lines trace to AI-attributed commits, 47,432 to others. Too few lines in one group for a fair comparison. Reported, not scored.

Findings per 1,000 linesAI-attributedOtherRatio
Code quality—0.00—
Security—0.84—

Evidence by analyzer

Explicit AI attributionok2 items
attributed_commit_share
0.1%
attributed_commits
1
attributed_loc
0
attributed_loc_share
0.0%
commits
1,530
effective_loc
102,980
tools_detected
1
AI tool configurationok
artifacts
0
tools_configured
0
workflow_agents
0
Commit velocityok
excluded_import_loc
12,645
flagged_loc
0
flagged_loc_share
0.0%
flagged_units
0
max_loc_per_hour
1,992
measured_loc
90,335
median_loc_per_hour
40.85
pr_timed_units
312
pre_ai_era_burst_loc
3,612
pre_ai_era_bursts
2
pre_ai_era_measured_loc
73,600
work_units
661
Release velocityok
flagged_releases
0
max_loc_per_day
154,033.70
releases
99
Coding styleok3 items
count:assistant_voice
0
count:emoji_in_code
8
count:narrated_steps
3
count:placeholder
0
files:assistant_voice
0
files:emoji_in_code
5
files:narrated_steps
1
files:placeholder
0
index
0.15
lines_scanned
47,432
per_kloc:assistant_voice
0
per_kloc:emoji_in_code
0.17
per_kloc:narrated_steps
0.06
per_kloc:placeholder
0
Findings in AI-written linesok
ai_lines
0
blame_failures
0
files_blamed
107
other_lines
47,432
quality:ai_findings
0
quality:other_findings
0
quality:other_per_kloc
0
security:ai_findings
0
security:other_findings
40
security:other_per_kloc
0.84

Code quality

61 weak

Code quality is weak: test-to-source ratio 0.00, CI runs tests; 1% of function code in complex or long functions; 40% duplicated lines. Weakest area: duplication.

How the score is built

  • Complexity98
  • Duplication9
  • Lint and smells100
  • Tests and CI35
  • Documentation100
  • Type safetynot measured
  • Review process35

Evidence by analyzer

Complexity (lizard)ok3 items
complex_functions
3
function_nloc
27,382
functions
2,872
long_functions
0
many_param_functions
19
mean_ccn
1.74
p90_ccn
3
risky_nloc_share
0.6%
Duplication (jscpd)ok10 items
compared_lines
33,527
duplicated_lines
13,468
duplicated_share
40.2%
files
107
Lintok
findings
0
scanned_lines
47,432
weighted_findings
0
Tests and CIok2 items
  • CI config: .github/workflows/ci.yml .github/workflows/ci.yml
  • CI runs tests (swift test)
check:ci_present
yes
check:ci_runs_lint
no
check:ci_runs_tests
yes
check:has_tests
no
check:test_ratio
no
check:tests_cochange
no
ci_files
1
cochange_commits
198
cochange_share
0.0%
source_lines
47,432
test_lines
0
test_ratio
0
Documentationok4 items
  • README.md README.md
  • LICENSE LICENSE
  • CONTRIBUTING.md CONTRIBUTING.md
  • CHANGELOG.md CHANGELOG.md
check:changelog
yes
check:contributing
yes
check:license
yes
check:readme
yes
readme_lines
193
Type safetyskipped

Security

68 weak

Security posture is weak: 1 known vulnerabilities in 1 dependencies; 21 high-severity workflow issues. Weakest area: ci actions.

How the score is built

  • Secrets100
  • Static analysis (SAST)93
  • Vulnerable dependencies88
  • CI workflows1
  • Security posture20
  • OpenSSF Scorecard47

Evidence by analyzer

OpenSSF Scorecardok11 items
aggregate
4.50
check:Binary-Artifacts
yes
check:CII-Best-Practices
no
check:Code-Review
yes
check:Dangerous-Workflow
yes
check:Fuzzing
no
check:License
yes
check:Maintained
yes
check:Pinned-Dependencies
no
check:SAST
yes
check:Security-Policy
no
check:Token-Permissions
no
Package registriesskipped

no registry dependencies declared

Secrets (gitleaks)ok
secrets_current
0
secrets_history
0
secrets_low_confidence
0
secrets_nonprod
0
Static analysis (opengrep)ok
findings
40
findings_high
0
findings_low
0
findings_medium
40
parse_errors
1
scanned_lines
47,432
weighted_findings
10
Dependencies (osv-scanner)ok
penalty
8
vulnerabilities
1
vulnerable_packages
1
vulns_critical
0
vulns_high
1
vulns_low
0
vulns_medium
0
vulns_unknown
0
CI workflows (zizmor)ok
findings
44
findings_high
21
findings_low
11
findings_medium
12
penalty
284.10
workflows
1
Security postureok
check:dependency_updates
no
check:lockfiles
yes
check:security_policy
no
check:signed_commits
yes
signed_commit_share
100.0%
unpinned_manifests
0
Release downloadsok1 item
  • gives an archive password README.md
binary_assets
0
signals
1
suspicious
0

Findings

22 high52 medium11 low

SeverityRuleLocationMessageTool
high zizmor/unpinned-uses .github/workflows/ci.yml:129 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:135 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:207 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:213 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:269 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:275 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:335 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:341 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:401 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:407 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:459 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:491 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:504 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:509 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:535 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:540 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:552 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:554 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:560 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:71 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:77 unpinned action reference [confidence high] CI workflows (zizmor)
high osv/GHSA-8474-xrp6-wh69 Gemfile.lock [email protected] (RubyGems) is affected by GHSA-8474-xrp6-wh69 Dependencies (osv-scanner)
medium zizmor/excessive-permissions .github/workflows/ci.yml:1 overly broad permissions [confidence medium] CI workflows (zizmor)
medium zizmor/excessive-permissions .github/workflows/ci.yml:140 overly broad permissions [confidence medium] CI workflows (zizmor)
medium zizmor/excessive-permissions .github/workflows/ci.yml:218 overly broad permissions [confidence medium] CI workflows (zizmor)
medium zizmor/excessive-permissions .github/workflows/ci.yml:24 overly broad permissions [confidence medium] CI workflows (zizmor)
medium zizmor/excessive-permissions .github/workflows/ci.yml:280 overly broad permissions [confidence medium] CI workflows (zizmor)
medium zizmor/excessive-permissions .github/workflows/ci.yml:346 overly broad permissions [confidence medium] CI workflows (zizmor)
medium zizmor/excessive-permissions .github/workflows/ci.yml:412 overly broad permissions [confidence medium] CI workflows (zizmor)
medium zizmor/excessive-permissions .github/workflows/ci.yml:464 overly broad permissions [confidence medium] CI workflows (zizmor)
medium zizmor/excessive-permissions .github/workflows/ci.yml:497 overly broad permissions [confidence medium] CI workflows (zizmor)
medium zizmor/excessive-permissions .github/workflows/ci.yml:513 overly broad permissions [confidence medium] CI workflows (zizmor)
medium zizmor/excessive-permissions .github/workflows/ci.yml:544 overly broad permissions [confidence medium] CI workflows (zizmor)
medium zizmor/excessive-permissions .github/workflows/ci.yml:82 overly broad permissions [confidence medium] CI workflows (zizmor)
medium opengrep/javascript.jquery.security.audit.jquery-insecure-selector docs/docsets/Alamofire.docset/Contents/Resources/Documents/js/jazzy.js:30 User controlled data in a `$(...)` is an anti-pattern that can lead to XSS vulnerabilities [confidence low] Static analysis (opengrep)
medium opengrep/javascript.jquery.security.audit.jquery-insecure-selector docs/docsets/Alamofire.docset/Contents/Resources/Documents/js/typeahead.jquery.js:1480 User controlled data in a `$(...)` is an anti-pattern that can lead to XSS vulnerabilities [confidence low] Static analysis (opengrep)
medium opengrep/javascript.jquery.security.audit.jquery-insecure-selector docs/docsets/Alamofire.docset/Contents/Resources/Documents/js/typeahead.jquery.js:1486 User controlled data in a `$(...)` is an anti-pattern that can lead to XSS vulnerabilities [confidence low] Static analysis (opengrep)
medium opengrep/javascript.jquery.security.audit.jquery-insecure-selector docs/docsets/Alamofire.docset/Contents/Resources/Documents/js/typeahead.jquery.js:1580 User controlled data in a `$(...)` is an anti-pattern that can lead to XSS vulnerabilities [confidence low] Static analysis (opengrep)
medium opengrep/javascript.jquery.security.audit.jquery-insecure-selector docs/docsets/Alamofire.docset/Contents/Resources/Documents/js/typeahead.jquery.js:1587 User controlled data in a `$(...)` is an anti-pattern that can lead to XSS vulnerabilities [confidence low] Static analysis (opengrep)
medium opengrep/javascript.jquery.security.audit.jquery-insecure-selector docs/docsets/Alamofire.docset/Contents/Resources/Documents/js/typeahead.jquery.js:1691 User controlled data in a `$(...)` is an anti-pattern that can lead to XSS vulnerabilities [confidence low] Static analysis (opengrep)
medium opengrep/javascript.jquery.security.audit.jquery-insecure-selector docs/docsets/Alamofire.docset/Contents/Resources/Documents/js/typeahead.jquery.js:271 User controlled data in a `$(...)` is an anti-pattern that can lead to XSS vulnerabilities [confidence low] Static analysis (opengrep)
medium opengrep/javascript.jquery.security.audit.jquery-insecure-selector docs/docsets/Alamofire.docset/Contents/Resources/Documents/js/typeahead.jquery.js:492 User controlled data in a `$(...)` is an anti-pattern that can lead to XSS vulnerabilities [confidence low] Static analysis (opengrep)
medium opengrep/javascript.jquery.security.audit.jquery-insecure-selector docs/docsets/Alamofire.docset/Contents/Resources/Documents/js/typeahead.jquery.js:493 User controlled data in a `$(...)` is an anti-pattern that can lead to XSS vulnerabilities [confidence low] Static analysis (opengrep)
medium opengrep/javascript.jquery.security.audit.jquery-insecure-selector docs/docsets/Alamofire.docset/Contents/Resources/Documents/js/typeahead.jquery.js:494 User controlled data in a `$(...)` is an anti-pattern that can lead to XSS vulnerabilities [confidence low] Static analysis (opengrep)
medium opengrep/javascript.jquery.security.audit.jquery-insecure-selector docs/docsets/Alamofire.docset/Contents/Resources/Documents/js/typeahead.jquery.js:740 User controlled data in a `$(...)` is an anti-pattern that can lead to XSS vulnerabilities [confidence low] Static analysis (opengrep)
medium opengrep/javascript.jquery.security.audit.jquery-insecure-selector docs/docsets/Alamofire.docset/Contents/Resources/Documents/js/typeahead.jquery.js:743 User controlled data in a `$(...)` is an anti-pattern that can lead to XSS vulnerabilities [confidence low] Static analysis (opengrep)
medium opengrep/javascript.jquery.security.audit.prohibit-jquery-html docs/docsets/Alamofire.docset/Contents/Resources/Documents/js/typeahead.jquery.js:782 JQuery's `html` function is susceptible to Cross Site Scripting (XSS) attacks. If you're just passing text, consider `text` instead. Otherwise, use a function that escapes HTML such as edX's `HtmlUtils.setHtml()`. [confidence low] Static analysis (opengrep)
medium opengrep/javascript.jquery.security.audit.prohibit-jquery-html docs/docsets/Alamofire.docset/Contents/Resources/Documents/js/typeahead.jquery.js:794 JQuery's `html` function is susceptible to Cross Site Scripting (XSS) attacks. If you're just passing text, consider `text` instead. Otherwise, use a function that escapes HTML such as edX's `HtmlUtils.setHtml()`. [confidence low] Static analysis (opengrep)
medium opengrep/javascript.jquery.security.audit.prohibit-jquery-html docs/docsets/Alamofire.docset/Contents/Resources/Documents/js/typeahead.jquery.js:802 JQuery's `html` function is susceptible to Cross Site Scripting (XSS) attacks. If you're just passing text, consider `text` instead. Otherwise, use a function that escapes HTML such as edX's `HtmlUtils.setHtml()`. [confidence low] Static analysis (opengrep)
medium opengrep/javascript.jquery.security.audit.jquery-insecure-selector docs/docsets/Alamofire.docset/Contents/Resources/Documents/js/typeahead.jquery.js:817 User controlled data in a `$(...)` is an anti-pattern that can lead to XSS vulnerabilities [confidence low] Static analysis (opengrep)
medium opengrep/javascript.jquery.security.audit.jquery-insecure-selector docs/docsets/Alamofire.docset/Contents/Resources/Documents/js/typeahead.jquery.js:913 User controlled data in a `$(...)` is an anti-pattern that can lead to XSS vulnerabilities [confidence low] Static analysis (opengrep)
medium opengrep/javascript.jquery.security.audit.jquery-insecure-selector docs/docsets/Alamofire.docset/Contents/Resources/Documents/js/typeahead.jquery.js:913 User controlled data in a `$(...)` is an anti-pattern that can lead to XSS vulnerabilities [confidence low] Static analysis (opengrep)
medium opengrep/javascript.jquery.security.audit.jquery-insecure-selector docs/docsets/Alamofire.docset/Contents/Resources/Documents/js/typeahead.jquery.js:932 User controlled data in a `$(...)` is an anti-pattern that can lead to XSS vulnerabilities [confidence low] Static analysis (opengrep)
medium opengrep/javascript.jquery.security.audit.jquery-insecure-selector docs/docsets/Alamofire.docset/Contents/Resources/Documents/js/typeahead.jquery.js:943 User controlled data in a `$(...)` is an anti-pattern that can lead to XSS vulnerabilities [confidence low] Static analysis (opengrep)
medium opengrep/javascript.jquery.security.audit.jquery-insecure-selector docs/js/jazzy.js:30 User controlled data in a `$(...)` is an anti-pattern that can lead to XSS vulnerabilities [confidence low] Static analysis (opengrep)
medium opengrep/javascript.jquery.security.audit.jquery-insecure-selector docs/js/typeahead.jquery.js:1480 User controlled data in a `$(...)` is an anti-pattern that can lead to XSS vulnerabilities [confidence low] Static analysis (opengrep)
medium opengrep/javascript.jquery.security.audit.jquery-insecure-selector docs/js/typeahead.jquery.js:1486 User controlled data in a `$(...)` is an anti-pattern that can lead to XSS vulnerabilities [confidence low] Static analysis (opengrep)
medium opengrep/javascript.jquery.security.audit.jquery-insecure-selector docs/js/typeahead.jquery.js:1580 User controlled data in a `$(...)` is an anti-pattern that can lead to XSS vulnerabilities [confidence low] Static analysis (opengrep)
medium opengrep/javascript.jquery.security.audit.jquery-insecure-selector docs/js/typeahead.jquery.js:1587 User controlled data in a `$(...)` is an anti-pattern that can lead to XSS vulnerabilities [confidence low] Static analysis (opengrep)
medium opengrep/javascript.jquery.security.audit.jquery-insecure-selector docs/js/typeahead.jquery.js:1691 User controlled data in a `$(...)` is an anti-pattern that can lead to XSS vulnerabilities [confidence low] Static analysis (opengrep)
medium opengrep/javascript.jquery.security.audit.jquery-insecure-selector docs/js/typeahead.jquery.js:271 User controlled data in a `$(...)` is an anti-pattern that can lead to XSS vulnerabilities [confidence low] Static analysis (opengrep)
medium opengrep/javascript.jquery.security.audit.jquery-insecure-selector docs/js/typeahead.jquery.js:492 User controlled data in a `$(...)` is an anti-pattern that can lead to XSS vulnerabilities [confidence low] Static analysis (opengrep)
medium opengrep/javascript.jquery.security.audit.jquery-insecure-selector docs/js/typeahead.jquery.js:493 User controlled data in a `$(...)` is an anti-pattern that can lead to XSS vulnerabilities [confidence low] Static analysis (opengrep)
medium opengrep/javascript.jquery.security.audit.jquery-insecure-selector docs/js/typeahead.jquery.js:494 User controlled data in a `$(...)` is an anti-pattern that can lead to XSS vulnerabilities [confidence low] Static analysis (opengrep)
medium opengrep/javascript.jquery.security.audit.jquery-insecure-selector docs/js/typeahead.jquery.js:740 User controlled data in a `$(...)` is an anti-pattern that can lead to XSS vulnerabilities [confidence low] Static analysis (opengrep)
medium opengrep/javascript.jquery.security.audit.jquery-insecure-selector docs/js/typeahead.jquery.js:743 User controlled data in a `$(...)` is an anti-pattern that can lead to XSS vulnerabilities [confidence low] Static analysis (opengrep)
medium opengrep/javascript.jquery.security.audit.prohibit-jquery-html docs/js/typeahead.jquery.js:782 JQuery's `html` function is susceptible to Cross Site Scripting (XSS) attacks. If you're just passing text, consider `text` instead. Otherwise, use a function that escapes HTML such as edX's `HtmlUtils.setHtml()`. [confidence low] Static analysis (opengrep)
medium opengrep/javascript.jquery.security.audit.prohibit-jquery-html docs/js/typeahead.jquery.js:794 JQuery's `html` function is susceptible to Cross Site Scripting (XSS) attacks. If you're just passing text, consider `text` instead. Otherwise, use a function that escapes HTML such as edX's `HtmlUtils.setHtml()`. [confidence low] Static analysis (opengrep)
medium opengrep/javascript.jquery.security.audit.prohibit-jquery-html docs/js/typeahead.jquery.js:802 JQuery's `html` function is susceptible to Cross Site Scripting (XSS) attacks. If you're just passing text, consider `text` instead. Otherwise, use a function that escapes HTML such as edX's `HtmlUtils.setHtml()`. [confidence low] Static analysis (opengrep)
medium opengrep/javascript.jquery.security.audit.jquery-insecure-selector docs/js/typeahead.jquery.js:817 User controlled data in a `$(...)` is an anti-pattern that can lead to XSS vulnerabilities [confidence low] Static analysis (opengrep)
medium opengrep/javascript.jquery.security.audit.jquery-insecure-selector docs/js/typeahead.jquery.js:913 User controlled data in a `$(...)` is an anti-pattern that can lead to XSS vulnerabilities [confidence low] Static analysis (opengrep)
medium opengrep/javascript.jquery.security.audit.jquery-insecure-selector docs/js/typeahead.jquery.js:913 User controlled data in a `$(...)` is an anti-pattern that can lead to XSS vulnerabilities [confidence low] Static analysis (opengrep)
medium opengrep/javascript.jquery.security.audit.jquery-insecure-selector docs/js/typeahead.jquery.js:932 User controlled data in a `$(...)` is an anti-pattern that can lead to XSS vulnerabilities [confidence low] Static analysis (opengrep)
medium opengrep/javascript.jquery.security.audit.jquery-insecure-selector docs/js/typeahead.jquery.js:943 User controlled data in a `$(...)` is an anti-pattern that can lead to XSS vulnerabilities [confidence low] Static analysis (opengrep)
low zizmor/artipacked .github/workflows/ci.yml:129 credential persistence through GitHub Actions artifacts [confidence low] CI workflows (zizmor)
low zizmor/artipacked .github/workflows/ci.yml:207 credential persistence through GitHub Actions artifacts [confidence low] CI workflows (zizmor)
low zizmor/artipacked .github/workflows/ci.yml:269 credential persistence through GitHub Actions artifacts [confidence low] CI workflows (zizmor)
low zizmor/artipacked .github/workflows/ci.yml:335 credential persistence through GitHub Actions artifacts [confidence low] CI workflows (zizmor)
low zizmor/artipacked .github/workflows/ci.yml:401 credential persistence through GitHub Actions artifacts [confidence low] CI workflows (zizmor)
low zizmor/artipacked .github/workflows/ci.yml:459 credential persistence through GitHub Actions artifacts [confidence low] CI workflows (zizmor)
low zizmor/artipacked .github/workflows/ci.yml:491 credential persistence through GitHub Actions artifacts [confidence low] CI workflows (zizmor)
low zizmor/artipacked .github/workflows/ci.yml:503 credential persistence through GitHub Actions artifacts [confidence low] CI workflows (zizmor)
low zizmor/artipacked .github/workflows/ci.yml:539 credential persistence through GitHub Actions artifacts [confidence low] CI workflows (zizmor)
low zizmor/artipacked .github/workflows/ci.yml:551 credential persistence through GitHub Actions artifacts [confidence low] CI workflows (zizmor)
low zizmor/artipacked .github/workflows/ci.yml:71 credential persistence through GitHub Actions artifacts [confidence low] CI workflows (zizmor)

Tools and coverage

Every analyzer that ran on this commit. A failed or skipped tool is a coverage gap: its share of the score is left out and the coverage figure drops.

AnalyzerPillarStatusVersionFindingsNote
AI tool configurationAI provenanceoksignatures-v10
Explicit AI attributionAI provenanceoksignatures-v10
Release velocityAI provenanceokprov-50
Coding styleAI provenanceok—0
Commit velocityAI provenanceokprov-50
Findings in AI-written linesAI provenanceokgit-blame0
Complexity (lizard)Code qualityoklizard 1.25.10
DocumentationCode qualityok—0
Duplication (jscpd)Code qualityokrepotrust-dup-w60
LintCode qualityokopengrep 1.33.1; rules f1d2b562b4140
Tests and CICode qualityok—0
Type safetyCode qualityskipped—0
CI workflows (zizmor)Securityokzizmor 1.32.044
Dependencies (osv-scanner)Securityokosv-scanner version: 2.7.11
Release downloadsSecurityok—0
Security postureSecurityok—0
Package registriesSecurityskipped—0no registry dependencies declared
Static analysis (opengrep)Securityokopengrep 1.33.1; rules f1d2b562b41440
OpenSSF ScorecardSecurityokscorecard v5.6.00
Secrets (gitleaks)Securityokgitleaks 8.30.10

Score history

ScoredCommitScoringAI provenanceQualitySecurity
2026-11-14dea4bab91767prov-5+qual-2+sec-20%6168

Embed a badge

Maintainers can show these in a README. Badges update when the repository is re-scored.

[![RepoTrust ai](https://repotrust.synapticcyber.com/badge/github.com/Alamofire/Alamofire/ai.svg)](https://repotrust.synapticcyber.com/r/github.com/Alamofire/Alamofire/)
[![RepoTrust quality](https://repotrust.synapticcyber.com/badge/github.com/Alamofire/Alamofire/quality.svg)](https://repotrust.synapticcyber.com/r/github.com/Alamofire/Alamofire/)
[![RepoTrust security](https://repotrust.synapticcyber.com/badge/github.com/Alamofire/Alamofire/security.svg)](https://repotrust.synapticcyber.com/r/github.com/Alamofire/Alamofire/)
Full text report
  • Repository: https://github.com/Alamofire/Alamofire
  • Commit: dea4bab91767a971d6e112bc955c6a82295589b7
  • Generated: 2026-11-14T15:13:05+00:00
  • Scorer 0.1.0, scoring prov-5+qual-2+sec-2, report schema v2

Scores

Pillar Score Signal Confidence Coverage
AI provenance (estimated AI-generated share) 0 possible 65% 100%
Code quality 61 weak 90% 100%
Security 68 weak 85% 100%

AI provenance

Weak signals consistent with AI-assisted development. 1 commit(s) carry explicit AI attribution, too few to characterize the codebase.

  • Explicitly attributed share (lower bound): 0.0%
  • Unattributed share in AI-consistent velocity bursts: 0.0%
  • Estimated AI-generated share: 0.0%
AI tool Attributed commits Lines added
Claude Code 1 0

Current source lines last changed by AI-attributed commits: 0 of 47,432.

Too few lines in one group to compare finding densities.

  • Stylometry index: 0.15 per 1,000 lines (narrated steps 3, placeholders 0, assistant phrasing 0, emoji 8). Reported as a signal, not scored.
Month Lines added Attributed to AI
2024-10 1,270 0%
2024-11 26 0%
2025-10 1,958 0%
2025-11 4 0%
2025-12 2,525 0%
2026-01 137 0%
2026-02 1 0%
2026-03 1 0%
2026-04 40 0%
2026-05 1,965 0%
2026-09 144 0%
2026-10 1 0%

Evidence

  • Claude Code: trailer 'Co-authored-by: Claude' (b3e74e8301cc)
  • step-by-step narration comment: // First, trigger a retry-path refresh that fails, putting interceptor into .failed state. (Tests/Authen)
  • step-by-step narration comment: // First, proactive refresh fails and the deferred request gets an adaptation error. (Tests/Authen)
  • step-by-step narration comment: // First, one successful refresh consumes the entire budget (maximumAttempts: 1). (Tests/Authen)

AI provenance describes how code was produced; it is not a quality judgment. Unless attribution is explicit, these are signals consistent with AI generation, not proof. Squash/rebase workflows, imported code, and rewritten history reduce accuracy.

Code quality

Code quality is weak: test-to-source ratio 0.00, CI runs tests; 1% of function code in complex or long functions; 40% duplicated lines. Weakest area: duplication.

Area Score
Complexity (lizard) 98
Duplication 9
Code smells (Opengrep) 100
Tests and CI 35
Documentation 100
Type safety n/a
Process (Scorecard review/maintenance) 35
  • Functions: 2,872; mean complexity 1.7, 90th percentile 3; 3 complex and 0 long functions
  • Duplicated lines: 40.2% of 33,527 compared
  • Tests: 0 test lines for 47,432 source lines (ratio 0.00); CI test commands: swift test; 0% of recent source commits also change tests
  • Docs missing or thin: none

Most complex functions:

Security

Security posture is weak: 1 known vulnerabilities in 1 dependencies; 21 high-severity workflow issues. Weakest area: ci actions.

Area Score
Secrets (gitleaks, tree + history) 100
Static analysis (Opengrep) 93
Vulnerable dependencies (OSV) 88
CI workflows (zizmor) 1
Posture (policy, updates, signing, lockfiles) 20
OpenSSF Scorecard 47
  • Known vulnerabilities: 1 in 1 packages (critical 0, high 1, medium 0, low 0)

  • Posture checks passed: signed commits, lockfiles; missing: security policy, dependency updates

  • OpenSSF Scorecard aggregate: 4.5/10 (published 2026-11-09)

Top findings

Severity Finding Location
high osv/GHSA-8474-xrp6-wh69: [email protected] (RubyGems) is affected by GHSA-8474-xrp6-wh69 Gemfile.lock
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:71
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:77
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:129
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:135
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:207
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:213
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:269
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:275
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:335
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:341
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:401
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:407
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:459
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:491
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:504
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:509
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:535
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:540
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:552
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:554
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:560
medium opengrep/javascript.jquery.security.audit.jquery-insecure-selector: User controlled data in a $(...) is an anti-pattern that can lead to XSS vulnerabilities [confidence low] docs/docsets/Alamofire.docset/Contents/Resources/Documents/js/jazzy.js:30
medium opengrep/javascript.jquery.security.audit.jquery-insecure-selector: User controlled data in a $(...) is an anti-pattern that can lead to XSS vulnerabilities [confidence low] docs/docsets/Alamofire.docset/Contents/Resources/Documents/js/typeahead.jquery.js:271
medium opengrep/javascript.jquery.security.audit.jquery-insecure-selector: User controlled data in a $(...) is an anti-pattern that can lead to XSS vulnerabilities [confidence low] docs/docsets/Alamofire.docset/Contents/Resources/Documents/js/typeahead.jquery.js:492

Static signals only: the scorer never runs the project's code. Secret findings are pattern matches that were not verified, and secret values are never stored.

Distribution signals

  • readme-download-lure: gives an archive password

Signals consistent with a repository that exists to distribute a download. They are heuristics, not a verdict; release files were not downloaded or inspected.

Repository profile

  • Source lines: 47,432; test lines: 0
Language Lines
Swift 43,746
JavaScript 3,686