← Back to scan
File as GitHub Issue repo: langchain-ai/langchain

Push this scan report to langchain-ai/langchain

Click the green button below to open GitHub’s new-issue form, pre-filled with the report title, summary table, top findings, and an embedded score-card image. No authentication needed — you review on GitHub before submitting. Repobility is credited as the scanner.

Embedded score card image

This image will render at the top of the issue body. Hosted on Repobility, refreshes automatically after re-scans.

Repobility score card

Issue title

Duplicated implementation block across source files

Curate findings to include

Pick exactly which findings appear in the issue body. By default the top 5 are included. Uncheck noise, check what matters.

Top 5 (default)
Severity Rule Title File:line
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… .github/scripts/get_min_versions.py:51
MED CFG006 [CFG006] Missing .gitignore: No .gitignore file. Risk of committing secrets and build art…
MED AUC001 [AUC001] No Repobility access matrix policy found: The repository uses web/API frameworks…
MED AGT012 Agent control bridge may listen on a network interface without visible auth libs/core/langchain_core/_security/_pol…:4
LOW AIC003 Duplicated implementation block across source files libs/core/langchain_core/utils/iter.py:75
LOW AIC003 Duplicated implementation block across source files libs/core/langchain_core/tracers/event_…:523
LOW AIC003 Duplicated implementation block across source files libs/core/langchain_core/tools/structur…:52
LOW AIC003 Duplicated implementation block across source files libs/core/langchain_core/runnables/rout…:72
LOW AIC003 Duplicated implementation block across source files libs/core/langchain_core/runnables/rout…:67
LOW AIC003 Duplicated implementation block across source files libs/core/langchain_core/runnables/pass…:305
LOW AIC003 Duplicated implementation block across source files libs/core/langchain_core/runnables/pass…:303
LOW AIC003 Duplicated implementation block across source files libs/core/langchain_core/runnables/grap…:53
LOW AIC003 Duplicated implementation block across source files libs/core/langchain_core/runnables/fall…:104
LOW AIC003 Duplicated implementation block across source files libs/core/langchain_core/messages/tool.…:104
LOW AIC003 Duplicated implementation block across source files libs/core/langchain_core/messages/syste…:21
LOW AIC003 Duplicated implementation block across source files libs/core/langchain_core/messages/syste…:20
LOW AIC003 Duplicated implementation block across source files libs/core/langchain_core/messages/human…:21
LOW AIC003 Duplicated implementation block across source files libs/core/langchain_core/messages/block…:8
LOW AIC003 Duplicated implementation block across source files libs/core/langchain_core/messages/block…:9
LOW AIC003 Duplicated implementation block across source files libs/core/langchain_core/messages/base.…:99
LOW AIC003 Duplicated implementation block across source files libs/core/langchain_core/_api/deprecati…:159
LOW AIC002 Source file name looks like an AI patch artifact libs/core/langchain_core/messages/block…:1
Reset to top 5 22 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `langchain-ai/langchain`

**Score: 81/100 (B+)**  ·  22 findings  ·  scanned 2026-05-17 20:12 UTC  ·  98,327 LOC

| Severity | Count |
|---|---|
| CRITICAL | 0 |
| HIGH | 1 |
| MEDIUM | 3 |
| LOW | 18 |

📊 [Full filterable report](https://repobility.com/scan/cff7a5c6-b915-422d-8426-534920da719d/)  ·  ![scorecard](https://repobility.com/scan/cff7a5c6-b915-422d-8426-534920da719d/report.png?v=1779048744-s2)

### Top findings

1. **HIGH** `SEC029` — Server-Side Request Forgery (SSRF) — outbound HTTP from user input
   `.github/scripts/get_min_versions.py:51` · A10:2021 SSRF
2. **MEDIUM** `CFG006` — Missing .gitignore
3. **MEDIUM** `AUC001` — No Repobility access matrix policy found
4. **MEDIUM** `AGT012` — Agent control bridge may listen on a network interface without visible auth
   `libs/core/langchain_core/_security/_policy.py:4`
5. **LOW** `AIC003` — Duplicated implementation block across source files
   `libs/core/langchain_core/utils/iter.py:75`

---

**Security note**: this issue is public. If any flagged finding is a real, exploitable vulnerability, please redirect to your `SECURITY.md` policy or open a [private security advisory](https://docs.github.com/en/code-security/security-advisories/guidance-on-reporting-and-writing-information-about-vulnerabilities/privately-reporting-a-security-vulnerability) instead. We're happy to close this and re-submit privately.

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/cff7a5c6-b915-422d-8426-534920da719d/_
Already filed
Repobility already filed issue #37483 on this repo on 2026-05-17. Filing again would be duplicate spam.
View existing issue
Premium account
This scan was submitted by a Enterprise-tier account. Premium accounts have full outreach control â Repobility doesn't pre-fill the 'file as GitHub issue' button for paid users. You can still file the issue manually using the markdown body above (Copy markdown), or contact us if you'd like batch-filing enabled for your account.
Megaproject â high spam risk
Could not determine 'langchain-ai/langchain' star count (GitHub API rate-limited or unreachable). When in doubt about repo size, prefer opening a focused PR or a discussion rather than an issue.

The button opens GitHubâs new-issue page in a new tab. You will see the title + body pre-filled â review, edit if you want, then click GitHubâs "Submit new issue" button. Repobility never posts anything on your behalf.

For real security findings on big repos: use the project's SECURITY.md or private advisory flow instead of a public issue.