Skip to content
ai-supply.store
استكشافالفئاتلوحة المتصدرينالمجتمعAgent APIFAQ
تسجيل الدخولإنشاء حساب مجاني
catalog / Research / arxiv-sanity-lite
▤TemplateResearchFree

arxiv-sanity-lite

Self-hostable web app to tag arXiv papers and get recommendations of similar papers using SVMs over tf-idf abstract features.

@ai-supply
التثبيتات6.0k
⟳ upstream master@d7a303b · updated 3y ago
↗ مستودع المصدر
← More ResearchResearch leaderboard →How we grade security →Source ↗
! Grade B · 88/100 · ReviewSecurity assessment
✓No compromise signals4capabilities surfaced1known CVE8of 20 OWASP controls clear
Potentially unbounded loopSuspicious code patternsSuspicious code patternsBroad capability surface
scanned 1mo ago·osv · gitleaks · opengrep · picklescan + heuristics·full breakdown in the Security tab ↓

arxiv-sanity-lite

arxiv-sanity-lite is Andrej Karpathy's lightweight rewrite of the original arxiv-sanity project: a self-hostable web application that helps researchers keep up with the flood of new arXiv preprints. You tag papers you find interesting, and the app recommends similar papers by training a support-vector machine over tf-idf features derived from paper abstracts.

It is deliberately minimal and easy to deploy, making it a great template for a personalized research-survey and paper-tracking tool.

Key features

  • Tag-based personal library of arXiv papers
  • SVM-over-tf-idf recommendations of similar papers per tag
  • Keyword search across fetched abstracts
  • Optional email digests of new relevant papers
  • Lightweight Flask + SQLite backend, easy to self-host
  • Pulls fresh listings directly from the arXiv API

Fetch recent papers via the included script, compute the tf-idf features, and launch the Flask server to browse, tag, and receive recommendations. A practical starting point for anyone building a domain-specific literature-monitoring dashboard.

Curated mirror of the open-source arxiv-sanity-lite (MIT). Get it from the source.

Rating rank
#1
of 17 in Research
Install rank
#15
of 17 in Research
Security score
88/100 · B
review
Security rank
#6
of 17 in Research
Installs
6.0k
cat avg 51k
This listing vs category average
Installs
this
cat avg
Security (of 100)
this
cat avg
Adoption trend
See the Research leaderboard →
! Security: Review · 8888/100 · grade Bscanned 1mo ago
✓ no compromise signals5 risk-surface · 7/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.

Prompt card · med confidence (static)
{gvars.search_query}{gvars.tags}{gvars.pid}{gvars.time_filter}{gvars.svm_c}{gvars.page_number}{user}{email}{num_papers}{earliest_paper}{latest_paper}{thr_1}{thr_6}{thr_12}{thr_24}{thr_48}{thr_72}{thr_96}

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
⚠LLM03Supply Chainhigh
Vulnerable/compromised dependencies, models or archives in the artifact.
•Dependency manifest — 5 pip requirements declared · karpathy-arxiv-sanity-lite-d7a303b/requirements.txtrisk surface
•Vulnerable dependencies — 12 known vulnerabilities in: flask@2.0.2, numpy@1.21.4, scikit-learn@1.0.1, sqlitedict@1.7.0, scipy@1.9.3 (CWE-1395)known CVE · -12 pts
⚠LLM05Improper Output Handlingmedium
Code that pipes model/user output into shell, eval, SQL or paths unsafely.
•Suspicious code patterns — pickle deserialization · karpathy-arxiv-sanity-lite-d7a303b/aslite/db.py (CWE-502)risk surface
•Suspicious code patterns — OS command execution · karpathy-arxiv-sanity-lite-d7a303b/thumb_daemon.py (CWE-78)risk surface
⚠LLM10Unbounded Consumptionmedium
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.
•Potentially unbounded loop — an infinite loop (while True / while(1) / for(;;)) may cause runaway consumption · karpathy-arxiv-sanity-lite-d7a303b/arxiv_daemon.py (CWE-835)risk surface
⚠LLM06Excessive Agencylow
Over-broad tool/permission surface or unrestricted egress.
•Broad capability surface — 3 high-impact capability categories referenced — verify least-privilege · karpathy-arxiv-sanity-lite-d7a303b/thumb_daemon.py (CWE-272)risk surface
§LLM09MisinformationGovernance
Artifacts designed to produce false/deceptive output.
Detectable only by runtime behavioral evaluation; addressed via responsible-use attestation.
✓LLM01Prompt InjectionPassed
✓LLM02Sensitive Information DisclosurePassed
✓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.
✓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
⚠ML06AI Supply Chainhigh
Compromised PyPI/npm packages, typosquats, unsafe serialized models.
•Dependency manifest — 5 pip requirements declared · karpathy-arxiv-sanity-lite-d7a303b/requirements.txtrisk surface
•Vulnerable dependencies — 12 known vulnerabilities in: flask@2.0.2, numpy@1.21.4, scikit-learn@1.0.1, sqlitedict@1.7.0, scipy@1.9.3 (CWE-1395)known CVE · -12 pts
⚠ML09Output Integritymedium
Middleware tampering with model outputs in transit.
Gateway enforces TLS + response integrity; static check flags output-rewriting code.
•Suspicious code patterns — pickle deserialization · karpathy-arxiv-sanity-lite-d7a303b/aslite/db.py (CWE-502)risk surface
•Suspicious code patterns — OS command execution · karpathy-arxiv-sanity-lite-d7a303b/thumb_daemon.py (CWE-78)risk surface
⚠ML05Model Theftlow
Unlicensed re-distribution / license-incompatible derivatives.
Static check verifies license declaration; extraction throttling is runtime.
•No license signal — no SPDX id or license keyword found · karpathy-arxiv-sanity-lite-d7a303b/.gitignorerisk surface
§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.
✓ML02Data PoisoningPassed
Poisoned training datasets with triggers or anomalous distributions.
Static check covers trigger phrasing, PII and label skew; full poisoning detection is runtime.
✓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 (2) · hygiene / uncategorized
•Unrecognized file type — '.gitignore' is not on the allowlist · karpathy-arxiv-sanity-lite-d7a303b/.gitignorerisk surface
•Unrecognized file type — '.?' is not on the allowlist · karpathy-arxiv-sanity-lite-d7a303b/LICENSErisk surface
✔ verified source · pinned karpathy-arxiv-sanity-lite-d7a303b
Check against a policy

The same gate an agent runs before installing (POST /api/v1/trust/arxiv-sanity-lite-paper-recommender/check). Click a policy:

Consume arxiv-sanity-lite 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/arxiv-sanity-lite-paper-recommender

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

# CLI
npx ai-supply add arxiv-sanity-lite-paper-recommender

# REST (install → download)
curl -X POST https://ai-supply.store/api/v1/listings/arxiv-sanity-lite-paper-recommender/install \
  -H "Authorization: Bearer $AIM_KEY"

# MCP tool
install_listing({ "slug": "arxiv-sanity-lite-paper-recommender" })
OpenAPI spec →
vlatest
! Security: Review · 881mo 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

قدرات ذكاء اصطناعي مجانية ومفحوصة أمنيًا — مهارات وخوادم MCP وإضافات ووكلاء ومجموعات بيانات وغيرها، كلٌّ منها مُقيَّم ومُتابَع لحداثته، ومبنيّ للبشر والوكلاء على حدٍّ سواء.

api · v3.1status · all green
تواصل معنا
support@ai-supply.storesecurity@ai-supply.store
الكتالوج
  • استكشاف
  • الفئات
  • لوحة المتصدرين
  • المعايير
  • الأمان
  • Scan a repo
المجتمع
  • المجتمع
  • FAQ
للوكلاء
  • بدء سريع (60s)
  • تفويض وكيل
  • Agent API
  • مواصفات OpenAPI
للمطورين
  • نشر
  • لوحة التحكم
الحساب
  • إنشاء حساب
  • تسجيل الدخول
  • الإعدادات
قانوني
  • الشروط
  • اتفاقية الناشر
  • سياسة الاستخدام المقبول
  • الخصوصية