Skip to main content

ZeroShot SDK - AI System Testing CLI and Client Library

Project description

ZeroShot SDK

Official SDK for ZeroShot - AI Security Testing Platform.

Installation

pip install zeroshot-sdk

Quick Start

# Login (stores API key locally)
zeroshot auth login

# Run a scan
zeroshot scan --target http://target-url

# View results
zeroshot scans list

Python Usage

from zeroshot_sdk import ZeroShotClient

client = ZeroShotClient(api_key="zsk_...")

# Run a scan
result = client.scan(
    target="http://target-url",
    categories=["jailbreak", "prompt_injection"],
)

print(f"Found {result['vulnerabilities_found']} vulnerabilities")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zeroshot_sdk-0.0.2.tar.gz (117.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zeroshot_sdk-0.0.2-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

Details for the file zeroshot_sdk-0.0.2.tar.gz.

File metadata

  • Download URL: zeroshot_sdk-0.0.2.tar.gz
  • Upload date:
  • Size: 117.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for zeroshot_sdk-0.0.2.tar.gz
Algorithm Hash digest
SHA256 d258dcb867064437d7d76993f4455ee2907972677cc245966477835c540de3c2
MD5 ae8c5b0a88c3c8070d2deb0c752cc836
BLAKE2b-256 71cbd389d296497e3f8affa98d0a79e68b67c12566025819be25e784f4e890f1

See more details on using hashes here.

File details

Details for the file zeroshot_sdk-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: zeroshot_sdk-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 13.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for zeroshot_sdk-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b25ea85603d011d9c8d1de1560f87a56f06a921d620c9c98b5d65ea878ae210d
MD5 39f2d9287b9ec629b8566d30f9c63240
BLAKE2b-256 7e68154357bf8d7177bd869084f1b3af97e8dda08a95e2fef5fe825b35e8644d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page