Skip to content
ai-supply.store
DiscoverCategoriesLeaderboardsCommunityAgent APIFAQ
Sign inSign up free
catalog / Coding / GPTScript
◆SkillCodingFree

GPTScript

Scripting language that lets LLMs interact with any system via natural language — run shell commands, call APIs, and chain tools.

@ai-supply
Installs169k
⟳ upstream v0.9.9 · updated 3mo ago
↗ Source repository
← More CodingCoding leaderboard →How we grade security →Source ↗
! Grade B · 75/100 · ReviewSecurity assessment
✓No compromise signals23capabilities surfaced1known CVE7of 20 OWASP controls clear
External endpoints declaredSuspicious code patternsExternal endpoints declaredExternal endpoints declared
scanned 17d ago·osv · gitleaks · opengrep · picklescan + heuristics·full breakdown in the Security tab ↓

GPTScript

GPTScript is a scripting framework that allows LLMs to seamlessly interact with your operating system, local tools, and remote APIs using a minimal natural-language-like syntax. Scripts are plain text files; the LLM decides which tools to call and in what order.

Key Features

  • Natural-language scripts: write intent in plain English; GPTScript figures out the tool calls
  • Built-in tools: file I/O, HTTP requests, code execution, and system shell — all available by default
  • Context sharing: pass files, URLs, and previous outputs as context between script steps
  • OpenAI + local models: works with any OpenAI-compatible API including local Ollama models
  • Daemon & workspace mode: long-running assistants with persistent workspace for multi-turn interactions
  • Composable: import and call other GPTScript files as sub-routines

Quick Start

# macOS / Linux
brew install gptscript-ai/tap/gptscript
# or
curl https://get.gptscript.ai/install.sh | sh

export OPENAI_API_KEY=your_key

# hello.gpt
cat > hello.gpt <<'EOF'
tools: sys.exec

List the 5 largest files in the current directory and explain what they might contain.
EOF

gptscript hello.gpt
npx ai-supply add gptscript-natural-language-automation

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

Rating rank
#1
of 27 in Coding
Install rank
#9
of 27 in Coding
Security score
75/100 · B
review
Security rank
#19
of 27 in Coding
Installs
169k
cat avg 157k
This listing vs category average
Installs
this
cat avg
Security (of 100)
this
cat avg
Adoption trend
See the Coding leaderboard →
! Security: Review · 7575/100 · grade Bscanned 17d ago
✓ no compromise signals24 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.

What this capability can do · high confidence (static)
Tools (1)
name
⚑ filesystem⚑ shell⚑ network⚑ secretsinstall: script:gptscript-ai-gptscript-b374bab/Makefileinstall: script:gptscript-ai-gptscript-b374bab/scripts/install.sh
egress → api.github.com, aka.ms, go.microsoft.com, docs.gptscript.ai, get.gptscript.ai, help.openai.com, img.shields.io, discord.gg +32
6 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
⚠LLM03Supply Chaincritical
Vulnerable/compromised dependencies, models or archives in the artifact.
•Dependency manifest — 9 npm dependencies declared · gptscript-ai-gptscript-b374bab/docs/package.jsonrisk surface
•Dependency manifest — 3 pip requirements declared · gptscript-ai-gptscript-b374bab/examples/hamlet-summarizer/requirements.txtrisk surface
•Dependency manifest — 5 npm dependencies declared · gptscript-ai-gptscript-b374bab/examples/nodejs-imagegen/package.jsonrisk surface
•Dependency manifest — 2 pip requirements declared · gptscript-ai-gptscript-b374bab/examples/recipegenerator/requirements.txtrisk surface
•Dependency manifest — 1 npm dependencies declared · gptscript-ai-gptscript-b374bab/examples/treasure-hunt/package.jsonrisk surface
•Dependency manifest — 1 pip requirements declared · gptscript-ai-gptscript-b374bab/pkg/repos/runtimes/python/testdata/requirements.txtrisk surface
•Vulnerable dependencies — 66 known vulnerabilities in: github.com/cloudflare/circl@1.6.1, github.com/go-git/go-billy/v5@5.6.2, github.com/go-git/go-git/v5@5.16.3, github.com/yuin/goldmark@1.7.13, golang.org/x/crypto@0.49.0, golang.org/x/net@0.52.0, golang.org/x/sys@0.42.0, stdlib@1.26.2 (CWE-1395)known CVE · -25 pts
⚠LLM02Sensitive Information Disclosurehigh
Secrets, credentials or PII shipped inside the artifact.
•Embedded credentials — found: hardcoded credential · gptscript-ai-gptscript-b374bab/docs/docusaurus.config.js (CWE-798)expected
⚠LLM05Improper Output Handlinghigh
Code that pipes model/user output into shell, eval, SQL or paths unsafely.
•Suspicious code patterns — pipe-to-shell install · gptscript-ai-gptscript-b374bab/Makefile (CWE-494)risk surface
•Suspicious code patterns — pipe-to-shell install; world-writable chmod 777 · gptscript-ai-gptscript-b374bab/examples/car-notifier/Dockerfile (CWE-494)risk surface
•Suspicious code patterns — dynamic code execution · gptscript-ai-gptscript-b374bab/examples/nodejs-imagegen/server.js (CWE-95)risk surface
•Suspicious code patterns — OS command execution · gptscript-ai-gptscript-b374bab/examples/recipegenerator/app.py (CWE-78)risk surface
⚠LLM06Excessive Agencyhigh
Over-broad tool/permission surface or unrestricted egress.
•External endpoints declared — 1 distinct host(s) · gptscript-ai-gptscript-b374bab/.github/workflows/dependabot-reviewers.yamlrisk surface
•External endpoints declared — 7 distinct host(s) · gptscript-ai-gptscript-b374bab/README.mdrisk surface
•External endpoints declared — 5 distinct host(s) · gptscript-ai-gptscript-b374bab/docs/docs/01-overview.mdrisk surface
•External endpoints declared — 3 distinct host(s) · gptscript-ai-gptscript-b374bab/docs/docs/02-examples/02-api.mdrisk surface
•External endpoints declared — 2 distinct host(s) · gptscript-ai-gptscript-b374bab/docs/docs/02-examples/04-local-files.mdrisk surface
•External endpoints declared — 4 distinct host(s) · gptscript-ai-gptscript-b374bab/docs/docs/03-tools/03-openapi.mdrisk surface
•Broad capability surface — 4 high-impact capability categories referenced — verify least-privilege · gptscript-ai-gptscript-b374bab/docs/package-lock.json (CWE-272)risk surface
•External endpoints declared — 9 distinct host(s) · gptscript-ai-gptscript-b374bab/docs/package-lock.jsonrisk surface
•Broad capability surface — 3 high-impact capability categories referenced — verify least-privilege · gptscript-ai-gptscript-b374bab/examples/car-notifier/car-notifier.gpt (CWE-272)risk surface
•External endpoints declared — 6 distinct host(s) · gptscript-ai-gptscript-b374bab/examples/nodejs-imagegen/package-lock.jsonrisk surface
•Egress to a private/loopback host — 127.0.0.1 · gptscript-ai-gptscript-b374bab/examples/recipegenerator/README.md (CWE-918)risk surface
⚠LLM07System Prompt Leakagehigh
Secrets, internal hosts or proprietary logic exposed in shipped prompts.
•Internal host / private infrastructure reference — shipped content references a private IP range or internal-only host · gptscript-ai-gptscript-b374bab/docs/docs/03-tools/10-daemon.md (CWE-200)risk surface
•Embedded credentials — found: hardcoded credential · gptscript-ai-gptscript-b374bab/docs/docusaurus.config.js (CWE-798)expected
§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
✓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.
✓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.
•Dependency manifest — 9 npm dependencies declared · gptscript-ai-gptscript-b374bab/docs/package.jsonrisk surface
•Dependency manifest — 3 pip requirements declared · gptscript-ai-gptscript-b374bab/examples/hamlet-summarizer/requirements.txtrisk surface
•Dependency manifest — 5 npm dependencies declared · gptscript-ai-gptscript-b374bab/examples/nodejs-imagegen/package.jsonrisk surface
•Dependency manifest — 2 pip requirements declared · gptscript-ai-gptscript-b374bab/examples/recipegenerator/requirements.txtrisk surface
•Dependency manifest — 1 npm dependencies declared · gptscript-ai-gptscript-b374bab/examples/treasure-hunt/package.jsonrisk surface
•Dependency manifest — 1 pip requirements declared · gptscript-ai-gptscript-b374bab/pkg/repos/runtimes/python/testdata/requirements.txtrisk surface
•Vulnerable dependencies — 66 known vulnerabilities in: github.com/cloudflare/circl@1.6.1, github.com/go-git/go-billy/v5@5.6.2, github.com/go-git/go-git/v5@5.16.3, github.com/yuin/goldmark@1.7.13, golang.org/x/crypto@0.49.0, golang.org/x/net@0.52.0, golang.org/x/sys@0.42.0, stdlib@1.26.2 (CWE-1395)known CVE · -25 pts
⚠ML09Output Integrityhigh
Middleware tampering with model outputs in transit.
Gateway enforces TLS + response integrity; static check flags output-rewriting code.
•Suspicious code patterns — pipe-to-shell install · gptscript-ai-gptscript-b374bab/Makefile (CWE-494)risk surface
•Suspicious code patterns — pipe-to-shell install; world-writable chmod 777 · gptscript-ai-gptscript-b374bab/examples/car-notifier/Dockerfile (CWE-494)risk surface
•Suspicious code patterns — dynamic code execution · gptscript-ai-gptscript-b374bab/examples/nodejs-imagegen/server.js (CWE-95)risk surface
•Suspicious code patterns — OS command execution · gptscript-ai-gptscript-b374bab/examples/recipegenerator/app.py (CWE-78)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.
✓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.
✓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 (16) · hygiene / uncategorized
•Unrecognized file type — '.ackrc' is not on the allowlist · gptscript-ai-gptscript-b374bab/.ackrcrisk surface
•Unrecognized file type — '.gitattributes' is not on the allowlist · gptscript-ai-gptscript-b374bab/.gitattributesrisk surface
•Unrecognized file type — '.gitignore' is not on the allowlist · gptscript-ai-gptscript-b374bab/.gitignorerisk surface
•Unrecognized file type — '.?' is not on the allowlist · gptscript-ai-gptscript-b374bab/LICENSErisk surface
•Unrecognized file type — '.gpt' is not on the allowlist · gptscript-ai-gptscript-b374bab/examples/add-go-mod-dep.gptrisk surface
•Suspicious network references — raw IP URL (1 URLs) · gptscript-ai-gptscript-b374bab/examples/nodejs-imagegen/server.jsrisk surface
•Suspicious network references — raw IP URL (3 URLs) · gptscript-ai-gptscript-b374bab/examples/recipegenerator/README.mdrisk surface
•Suspicious network references — suspicious TLD (1 URLs) · gptscript-ai-gptscript-b374bab/examples/sqlite-download.gptrisk surface
•Unrecognized file type — '.mod' is not on the allowlist · gptscript-ai-gptscript-b374bab/go.modrisk surface
•Unrecognized file type — '.sum' is not on the allowlist · gptscript-ai-gptscript-b374bab/go.sumrisk surface
•Suspicious network references — raw IP URL (2 URLs) · gptscript-ai-gptscript-b374bab/pkg/engine/daemon.gorisk surface
•Unrecognized file type — '.golden' is not on the allowlist · gptscript-ai-gptscript-b374bab/pkg/loader/testdata/openapi/TestOpenAPIv2.goldenrisk surface
•Suspicious network references — raw IP URL (4 URLs) · gptscript-ai-gptscript-b374bab/pkg/remote/remote.gorisk surface
•Unrecognized file type — '.asc' is not on the allowlist · gptscript-ai-gptscript-b374bab/pkg/repos/runtimes/node/SHASUMS256.txt.ascrisk surface
•Suspicious network references — raw IP URL (13 URLs) · gptscript-ai-gptscript-b374bab/pkg/tests/smoke/testdata/Bob/claude-3-7-sonnet-20250219-expected.jsonrisk surface
•Unrecognized file type — '.bkp' is not on the allowlist · gptscript-ai-gptscript-b374bab/pkg/tests/testdata/TestSysContext/call1.golden.bkprisk surface
✔ verified source · pinned gptscript-ai-gptscript-b374bab
Check against a policy

The same gate an agent runs before installing (POST /api/v1/trust/gptscript-natural-language-automation/check). Click a policy:

Consume GPTScript 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/gptscript-natural-language-automation

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

# CLI
npx ai-supply add gptscript-natural-language-automation

# REST (install → download)
curl -X POST https://ai-supply.store/api/v1/listings/gptscript-natural-language-automation/install \
  -H "Authorization: Bearer $AIM_KEY"

# MCP tool
install_listing({ "slug": "gptscript-natural-language-automation" })
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

Free, security-vetted AI capabilities — skills, MCPs, plugins, agents, datasets and more, each graded and freshness-tracked, and built for humans and agents alike.

api · v3.1status · all green
Contact
support@ai-supply.storesecurity@ai-supply.store
Catalog
  • Discover
  • Categories
  • Leaderboards
  • Benchmarks
  • Security
  • Scan a repo
Community
  • Community
  • FAQ
For agents
  • Quickstart (60s)
  • Authorize an agent
  • Agent API
  • OpenAPI spec
For builders
  • Publish
  • Dashboard
Account
  • Create account
  • Sign in
  • Settings
Legal
  • Terms
  • Publisher Agreement
  • Acceptable Use
  • Privacy