Skip to content
ai-supply.store
探すカテゴリランキングコミュニティAgent APIFAQ
サインイン無料登録
catalog / Legal & Compliance / eyecite — Legal Citation Extractor
◆SkillLegal & ComplianceFree

eyecite — Legal Citation Extractor

Extracts and resolves legal citations (case law, statutes, law journals) from any block of text, built by the Free Law Project.

@ai-supply
インストール数3.4k
⟳ upstream main@047af17 · updated 3d ago
↗ ソースリポジトリ
← More Legal & ComplianceLegal & Compliance leaderboard →How we grade security →Source ↗
✓ Grade A · 100/100 · SafeSecurity assessment
✓No compromise signals5capabilities surfaced12of 20 OWASP controls clear
External endpoints declaredExternal endpoints declaredSuspicious network referencesExternal endpoints declared
scanned 1d ago·osv · gitleaks · opengrep · picklescan + heuristics·full breakdown in the Security tab ↓

eyecite

eyecite is an open-source Python library from the Free Law Project (the team behind CourtListener) that finds and parses legal citations in arbitrary text. It recognizes full case citations, short-form citations, id./supra references, statutory citations, and law-journal citations, then resolves them into structured objects you can link and cross-reference. It has been battle-tested extracting citations across tens of millions of U.S. court opinions.

Key features

  • Detects full, short-form, supra, and id. citations, plus statutes and law-journal cites
  • Resolves ambiguous short citations back to their antecedents
  • Annotates source text with markup while preserving original character spans
  • Proven at scale on the CourtListener corpus of court opinions
  • Pure-Python and pip-installable, with an optional hyperscan backend for speed

A typical call runs get_citations(clean_text(text)) to return structured citation objects ready for downstream linking, analytics, or knowledge-graph building.

Curated mirror of the open-source eyecite (BSD-2-Clause). Get it from the source.

Rating rank
#1
of 11 in Legal & Compliance
Install rank
#10
of 11 in Legal & Compliance
Security score
100/100 · A
safe
Security rank
#1
of 11 in Legal & Compliance
Installs
3.4k
cat avg 29k
This listing vs category average
Installs
this
cat avg
Security (of 100)
this
cat avg
Adoption trend
See the Legal & Compliance leaderboard →
✓ Security: Safe · 100100/100 · grade Ascanned 1d ago
✓ no compromise signals5 risk-surface · 1/20 OWASP controls flagged

Compromise signals — malicious or tampered code (leaked secrets, backdoors, a dropped executable) — reduce the score, and known dependency CVEs carry a bounded penalty (they warrant review but never QUARANTINE — update the dependency to clear). Other dangerous-by-capability traits are risk surface, expected for some capabilities. Every finding is mapped to its OWASP control below.

What this capability can do · med confidence (static)
⚑ filesystem⚑ network⚑ secrets
egress → www.courtlistener.com, docs.github.com, storage.courtlistener.com, pre-commit.com, cite.case.law, free.law
22 scripts

Findings mapped to the OWASP Top 10 for LLM Applications (2025) and the OWASP Machine Learning Security Top 10. Expand any flagged control for the exact findings — compromise reduces the score; expected/risk-surface do not, except a known CVE, which carries a small bounded penalty (high/critical → Review).

OWASP Top 10 for LLM Applications
⚠LLM06Excessive Agencylow
Over-broad tool/permission surface or unrestricted egress.
•External endpoints declared — 1 distinct host(s) · freelawproject-eyecite-047af17/.editorconfigrisk surface
•External endpoints declared — 2 distinct host(s) · freelawproject-eyecite-047af17/.github/workflows/benchmark.ymlrisk surface
•External endpoints declared — 6 distinct host(s) · freelawproject-eyecite-047af17/README.rstrisk surface
•External endpoints declared — 3 distinct host(s) · freelawproject-eyecite-047af17/TUTORIAL.ipynbrisk surface
§LLM09MisinformationGovernance
Artifacts designed to produce false/deceptive output.
Detectable only by runtime behavioral evaluation; addressed via responsible-use attestation.
◷LLM10Unbounded ConsumptionRuntime-enforced
Unbounded loops/recursion causing DoS or runaway cost.
Enforced at runtime by the gateway (rate limits + spend caps + size caps); static check flags unbounded loops.
✓LLM01Prompt InjectionPassed
✓LLM02Sensitive Information DisclosurePassed
✓LLM03Supply ChainPassed
✓LLM04Data and Model PoisoningPassed
Backdoors/poisoning in training data or serialized models.
Behavioral poisoning needs model execution; static check covers unsafe serialization + dataset skew only.
✓LLM05Improper Output HandlingPassed
✓LLM07System Prompt LeakagePassed
✓LLM08Vector and Embedding WeaknessesPassed
PII or plaintext source leakage in embedding/vector exports.
Embedding inversion/poisoning is largely runtime; static check covers PII in vector exports.
OWASP Machine Learning Security Top 10
§ML01Input Manipulation (Adversarial)Governance
Models vulnerable to adversarial perturbations.
Requires runtime robustness evaluation; addressed via publisher robustness attestation.
§ML03Model InversionGovernance
Training data reconstructable from a model's outputs.
Runtime/evaluation property; addressed via model-card data-provenance + DP attestation.
§ML04Membership InferenceGovernance
Determining whether a record was in the training set.
Runtime/evaluation property; addressed via overfitting disclosure + DP attestation.
§ML08Model SkewingGovernance
Models trained on skewed data producing biased output.
Requires fairness evaluation; addressed via model-card bias/limitations disclosure.
◷ML09Output IntegrityRuntime-enforced
Middleware tampering with model outputs in transit.
Gateway enforces TLS + response integrity; static check flags output-rewriting code.
✓ML02Data PoisoningPassed
Poisoned training datasets with triggers or anomalous distributions.
Static check covers trigger phrasing, PII and label skew; full poisoning detection is runtime.
✓ML05Model TheftPassed
Unlicensed re-distribution / license-incompatible derivatives.
Static check verifies license declaration; extraction throttling is runtime.
✓ML06AI Supply ChainPassed
✓ML07Transfer Learning AttackPassed
Backdoored base models / LoRA adapters propagating to derivatives.
Backdoor detection needs behavioral probing; static check covers unsafe serialization + provenance.
✓ML10Model Poisoning (Weights)Passed
Tampered model weight files; integrity must be verifiable.
Static check enforces safe formats + records a content hash for downstream verification.
Other findings (7) · hygiene / uncategorized
•Unrecognized file type — '.editorconfig' is not on the allowlist · freelawproject-eyecite-047af17/.editorconfigrisk surface
•Unrecognized file type — '.git-blame-ignore-revs' is not on the allowlist · freelawproject-eyecite-047af17/.git-blame-ignore-revsrisk surface
•Unrecognized file type — '.gitattributes' is not on the allowlist · freelawproject-eyecite-047af17/.gitattributesrisk surface
•Unrecognized file type — '.gitignore' is not on the allowlist · freelawproject-eyecite-047af17/.gitignorerisk surface
•Unrecognized file type — '.?' is not on the allowlist · freelawproject-eyecite-047af17/LICENSErisk surface
•Suspicious network references — suspicious TLD (12 URLs) · freelawproject-eyecite-047af17/README.rstrisk surface
•Unrecognized file type — '.cfg' is not on the allowlist · freelawproject-eyecite-047af17/setup.cfgrisk surface
✔ verified source · pinned freelawproject-eyecite-047af17
Check against a policy

The same gate an agent runs before installing (POST /api/v1/trust/eyecite-legal-citation-extractor/check). Click a policy:

Consume eyecite — Legal Citation Extractor programmatically. Authenticate with an API key or session — see Authorize an agent.

# Agents: CHECK BEFORE YOU INSTALL (no auth) — score, grade, level, capability manifest
curl https://ai-supply.store/api/v1/trust/eyecite-legal-citation-extractor

# Gate against your org policy (returns { pass, violations })
curl -X POST https://ai-supply.store/api/v1/trust/eyecite-legal-citation-extractor/check \
  -H "Content-Type: application/json" \
  -d '{"minGrade":"B","denyPermissions":["shell"],"denyUnknownEgress":true}'

# CLI
npx ai-supply add eyecite-legal-citation-extractor

# REST (install → download)
curl -X POST https://ai-supply.store/api/v1/listings/eyecite-legal-citation-extractor/install \
  -H "Authorization: Bearer $AIM_KEY"

# MCP tool
install_listing({ "slug": "eyecite-legal-citation-extractor" })
OpenAPI spec →
vlatest
✓ Security: Safe · 1001mo ago

Curated mirror — latest upstream source. See the repository for tagged releases.

Sign in and install this listing to leave a review.

More from @ai-supply

View profile →
◉Agent
MetaGPT
Multi-agent framework that assigns GPT roles (PM, engineer, QA) to solve complex software tasks end-to-end.
↓ 1.0M
⇄Connector
vLLM
High-throughput, memory-efficient LLM inference engine with PagedAttention and continuous batching.
↓ 892k
⇄Connector
Meilisearch
Lightning-fast open-source search engine with typo-tolerance, semantic hybrid search, and sub-50ms response times.
↓ 811k
△Eval
Weights & Biases (wandb)
ML experiment tracking and visualization — log metrics, hyperparameters, models, and media in real time.
↓ 784k
ai-supply.store

無料でセキュリティ監査済みのAI機能。スキル、MCP、プラグイン、agent、データセットまで、一つひとつをスコアリングし鮮度も追跡。人にもagentにも使えるように設計されています。

api · v3.1status · all green
お問い合わせ
support@ai-supply.storesecurity@ai-supply.store
カタログ
  • 探す
  • カテゴリ
  • ランキング
  • ベンチマーク
  • セキュリティ
  • Scan a repo
コミュニティ
  • コミュニティ
  • FAQ
エージェント向け
  • クイックスタート (60s)
  • エージェントを認可
  • Agent API
  • OpenAPI 仕様
ビルダー向け
  • 公開する
  • ダッシュボード
アカウント
  • アカウント作成
  • サインイン
  • 設定
法的情報
  • 利用規約
  • パブリッシャー契約
  • 利用規定
  • プライバシーポリシー