Skip to content
ai-supply.store
EntdeckenKategorienBestenlistenCommunityAgent APIFAQ
AnmeldenKostenlos registrieren
catalog / Finance / GS Quant — Goldman Sachs Quantitative Finance Toolkit
⬡PipelineFinanceFree

GS Quant — Goldman Sachs Quantitative Finance Toolkit

Goldman Sachs's open-source Python library for derivatives pricing, risk analytics, and systematic trading.

@ai-supply
Installationen102k
⟳ upstream release-2.1.1 · updated 13d ago
↗ Quell-Repository
← More FinanceFinance leaderboard →How we grade security →Source ↗
! Grade B · 75/100 · ReviewSecurity assessment
✓No compromise signals14capabilities surfaced1known CVE7of 20 OWASP controls clear
External endpoints declaredExternal endpoints declaredExternal endpoints declaredExternal endpoints declared
scanned 9d ago·osv · gitleaks · opengrep · picklescan + heuristics·full breakdown in the Security tab ↓

GS Quant — Goldman Sachs Quantitative Finance Toolkit

gs-quant is Goldman Sachs's open-source Python toolkit for quantitative finance, supporting derivatives pricing, risk analytics, backtesting, and portfolio construction. Built on top of GS's internal quant infrastructure and open-sourced for the community under Apache-2.0.

Key features

  • Derivatives pricing: options, swaps, swaptions, FX, rates, equities
  • Risk analytics: delta, gamma, vega, theta; scenario analysis and stress tests
  • Data access via Marquee API (GS market data; API key required for live data)
  • Portfolio construction and optimization with risk constraints
  • Backtesting engine with transaction costs

Quick start

pip install gs-quant
from gs_quant.instrument import EqOption
from gs_quant.common import OptionType, OptionStyle
from gs_quant.session import GsSession

GsSession.use()  # uses env var GS_CLIENT_ID / GS_CLIENT_SECRET
option = EqOption(".SPX", expiration_date="3m", strike_price="ATMF",
                  option_type=OptionType.Call, option_style=OptionStyle.European)
option.resolve()
print(option.price())
npx ai-supply add gs-quant-goldman-sachs

Curated mirror of the open-source gs-quant (Apache-2.0). Get it from the source.

Rating rank
#1
of 15 in Finance
Install rank
#5
of 15 in Finance
Security score
75/100 · B
review
Security rank
#8
of 15 in Finance
Installs
102k
cat avg 85k
This listing vs category average
Installs
this
cat avg
Security (of 100)
this
cat avg
Adoption trend
See the Finance leaderboard →
! Security: Review · 7575/100 · grade Bscanned 9d ago
✓ no compromise signals15 risk-surface · 8/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⚑ shell⚑ network⚑ secrets
egress → docs.claude.com, help.github.com, pypi.site.gs.com, contributor-covenant.org, www.python.org, www.jetbrains.com, developer.gs.com, gitlab.gs.com +32
6 steps⚑ uses secretsactions/checkout@v3actions/setup-python@v3help.github.compypi.site.gs.comtracing.boltweb.gs.com

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 Chaincritical
Vulnerable/compromised dependencies, models or archives in the artifact.
•Vulnerable dependencies — 32 known vulnerabilities in: idna@3.9.0, nbconvert@7.9.2, pillow@9.5.0, tqdm@4.9.0 (CWE-1395)known CVE · -25 pts
⚠LLM01Prompt Injectionhigh
Adversarial instructions embedded in an artifact that hijack a downstream LLM.
•Prompt-injection phrasing — instruction-subversion language detected · goldmansachs-gs-quant-2dfe6fc/gs_quant/content/made_with_gs_quant/8-What's New Internal.ipynb (CWE-77)risk surface
⚠LLM05Improper Output Handlingmedium
Code that pipes model/user output into shell, eval, SQL or paths unsafely.
•Suspicious code patterns — dynamic code execution · goldmansachs-gs-quant-2dfe6fc/docs/_build/html/_static/doctools.js (CWE-95)risk surface
•Suspicious code patterns — OS command execution · goldmansachs-gs-quant-2dfe6fc/gs_quant/_version.py (CWE-78)risk surface
•Suspicious code patterns — pickle deserialization · goldmansachs-gs-quant-2dfe6fc/gs_quant/test/api/test_target.py (CWE-502)risk surface
⚠LLM06Excessive Agencymedium
Over-broad tool/permission surface or unrestricted egress.
•External endpoints declared — 1 distinct host(s) · goldmansachs-gs-quant-2dfe6fc/.claude/skills/README.mdrisk surface
•External endpoints declared — 3 distinct host(s) · goldmansachs-gs-quant-2dfe6fc/CONTRIBUTING.mdrisk surface
•External endpoints declared — 2 distinct host(s) · goldmansachs-gs-quant-2dfe6fc/docs/README.mdrisk surface
•External endpoints declared — 4 distinct host(s) · goldmansachs-gs-quant-2dfe6fc/docs/_build/html/_modules/gs_quant/models/epidemiology.htmlrisk surface
•Broad capability surface — 3 high-impact capability categories referenced — verify least-privilege · goldmansachs-gs-quant-2dfe6fc/docs/_build/html/_static/jquery-3.5.1.js (CWE-272)risk surface
•External endpoints declared — 19 distinct host(s) · goldmansachs-gs-quant-2dfe6fc/docs/_build/html/_static/jquery-3.5.1.jsrisk surface
•External endpoints declared — 15 distinct host(s) · goldmansachs-gs-quant-2dfe6fc/gs_quant/config.inirisk surface
•External endpoints declared — 5 distinct host(s) · goldmansachs-gs-quant-2dfe6fc/gs_quant/content/events/00_gsquant_meets_markets/00_us_election_analysis/0002_past_elections.ipynbrisk 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 · goldmansachs-gs-quant-2dfe6fc/gs_quant/api/gs/secmaster.py (CWE-835)risk surface
§LLM09MisinformationGovernance
Artifacts designed to produce false/deceptive output.
Detectable only by runtime behavioral evaluation; addressed via responsible-use attestation.
✓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 Chaincritical
Compromised PyPI/npm packages, typosquats, unsafe serialized models.
•Vulnerable dependencies — 32 known vulnerabilities in: idna@3.9.0, nbconvert@7.9.2, pillow@9.5.0, tqdm@4.9.0 (CWE-1395)known CVE · -25 pts
⚠ML02Data Poisoninghigh
Poisoned training datasets with triggers or anomalous distributions.
Static check covers trigger phrasing, PII and label skew; full poisoning detection is runtime.
•Prompt-injection phrasing — instruction-subversion language detected · goldmansachs-gs-quant-2dfe6fc/gs_quant/content/made_with_gs_quant/8-What's New Internal.ipynb (CWE-77)risk surface
⚠ML09Output Integritymedium
Middleware tampering with model outputs in transit.
Gateway enforces TLS + response integrity; static check flags output-rewriting code.
•Suspicious code patterns — dynamic code execution · goldmansachs-gs-quant-2dfe6fc/docs/_build/html/_static/doctools.js (CWE-95)risk surface
•Suspicious code patterns — OS command execution · goldmansachs-gs-quant-2dfe6fc/gs_quant/_version.py (CWE-78)risk surface
•Suspicious code patterns — pickle deserialization · goldmansachs-gs-quant-2dfe6fc/gs_quant/test/api/test_target.py (CWE-502)risk 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.
✓ML05Model TheftPassed
Unlicensed re-distribution / license-incompatible derivatives.
Static check verifies license declaration; extraction throttling 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 (13) · hygiene / uncategorized
•Unrecognized file type — '.gitattributes' is not on the allowlist · goldmansachs-gs-quant-2dfe6fc/.gitattributesrisk surface
•Unrecognized file type — '.gitignore' is not on the allowlist · goldmansachs-gs-quant-2dfe6fc/.gitignorerisk surface
•Unrecognized file type — '.?' is not on the allowlist · goldmansachs-gs-quant-2dfe6fc/LICENSErisk surface
•Unrecognized file type — '.in' is not on the allowlist · goldmansachs-gs-quant-2dfe6fc/MANIFEST.inrisk surface
•Unrecognized file type — '.dco' is not on the allowlist · goldmansachs-gs-quant-2dfe6fc/dco/Bryan Galindo.dcorisk surface
•Unrecognized file type — '.doctree' is not on the allowlist · goldmansachs-gs-quant-2dfe6fc/docs/_build/doctrees/classes/gs_quant.base.Priceable.doctreerisk surface
•Opaque binary content — non-text payload not statically analyzable · goldmansachs-gs-quant-2dfe6fc/docs/_build/doctrees/classes/gs_quant.base.Priceable.doctreerisk surface
•Unrecognized file type — '.buildinfo' is not on the allowlist · goldmansachs-gs-quant-2dfe6fc/docs/_build/html/.buildinforisk surface
•Possible obfuscation — very long lines paired with a decode/execute sink · goldmansachs-gs-quant-2dfe6fc/docs/_build/html/_static/jquery.js (CWE-506)risk surface
•Unrecognized file type — '.inv' is not on the allowlist · goldmansachs-gs-quant-2dfe6fc/docs/_build/html/objects.invrisk surface
•Unrecognized file type — '.conf' is not on the allowlist · goldmansachs-gs-quant-2dfe6fc/docs/_themes/gs/theme.confrisk surface
•Disallowed file type — '.bat' executables are not permitted · goldmansachs-gs-quant-2dfe6fc/docs/make.bat (CWE-434)risk surface
•Unrecognized file type — '.ini' is not on the allowlist · goldmansachs-gs-quant-2dfe6fc/gs_quant/config.inirisk surface
✔ verified source · pinned goldmansachs-gs-quant-2dfe6fc
Check against a policy

The same gate an agent runs before installing (POST /api/v1/trust/gs-quant-goldman-sachs/check). Click a policy:

Consume GS Quant — Goldman Sachs Quantitative Finance Toolkit 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/gs-quant-goldman-sachs

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

# CLI
npx ai-supply add gs-quant-goldman-sachs

# REST (install → download)
curl -X POST https://ai-supply.store/api/v1/listings/gs-quant-goldman-sachs/install \
  -H "Authorization: Bearer $AIM_KEY"

# MCP tool
install_listing({ "slug": "gs-quant-goldman-sachs" })
OpenAPI spec →
vlatest
! Security: Review · 751mo 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

Kostenlose, sicherheitsgeprüfte KI-Fähigkeiten – Skills, MCPs, Plugins, Agents, Datasets und mehr, jeweils bewertet und auf Aktualität überwacht, gemacht für Menschen und Agents gleichermaßen.

api · v3.1status · all green
Kontakt
support@ai-supply.storesecurity@ai-supply.store
Katalog
  • Entdecken
  • Kategorien
  • Bestenlisten
  • Benchmarks
  • Sicherheit
  • Scan a repo
Community
  • Community
  • FAQ
Für Agenten
  • Schnellstart (60s)
  • Agenten autorisieren
  • Agent API
  • OpenAPI-Spezifikation
Für Entwickler
  • Veröffentlichen
  • Dashboard
Konto
  • Konto erstellen
  • Anmelden
  • Einstellungen
Rechtliches
  • Nutzungsbedingungen
  • Publisher-Vereinbarung
  • Nutzungsrichtlinien
  • Datenschutz