Documentation
Operator and user documentation for pullthrough-security, an enterprise
pull-through proxy focused on software supply-chain security.
Start here
| If you want to… | Read |
|---|---|
| Understand how the proxy works end to end | architecture.md |
| Point your tooling at the proxy — one page per package manager (npm, pip, cargo, go, Maven, Docker, … 32 ecosystems), with tokens and private CAs, every snippet executed | clients.md |
| See what the proxy serves, rewrites, verifies and caches for each upstream type | backends.md |
| Run the client guide’s configurations yourself: real clients, a private CA, access control, and a record of every host a client tries to reach | client-lab.md |
| Onboard an ecosystem with no dedicated backend (declarative YAML, no code) | generic-backend.md |
| Choose explicit sources, TLS interception (forward proxy) or NAT mode (no client configuration) | intercept-mode.md |
| Serve big artifacts with Range/resumable downloads & bounded memory | range-streaming.md |
| Onboard fast with the client CLI (generate config, self-test, inspect) | client-cli.md |
| Configure the proxy (every field) | configuration.md |
| Understand scanning, provenance & policy | security-model.md |
| Continuously scan watched Git repos for risky commits (webhook/polling) | commit-watch.md |
| Verify cosign signatures & SLSA attestations | sigverify.md |
Verify the proxy binary itself (signed, reproducible, provenance-attested release + ptctl verify-self) |
self-release.md |
| Suppress non-exploitable CVEs with VEX (OpenVEX/CSAF) | vex.md |
| Down-rank CVEs in unreachable code (Go/npm/Python/Java reachability) | reachability.md |
| Enforce license compliance (SPDX allow/deny/review, drift) | licenses.md |
| Pin versions / enforce a lockfile allowlist (dependency firewall) | dependency-firewall.md |
| Snapshot/freeze the served dependency state & instant-rollback an incident | snapshots.md |
| Instantly tighten posture during an incident (freeze/strict/block kill-switch) | lockdown.md |
| Enforce supply-chain verdicts on Pod images in Kubernetes (admission webhook) | admission-webhook.md |
| Review quarantines & grant time-boxed break-glass exceptions | approvals.md |
| Block SSRF / restrict outbound egress (allowlist, private-range, rebinding) | egress-ssrf.md |
| Lock down access (auth, RBAC, tenancy, audit) | access-control-and-audit.md |
| Run a FIPS 140-3 approved crypto mode & build variant (regulated deployments) | fips-compliance.md |
| Secure the admin UI/API with SSO (OIDC/OAuth2) & RBAC | admin-sso-rbac.md |
| Require a FIDO2 passkey step-up for the most sensitive admin actions | webauthn-stepup.md |
| Authenticate workloads with SPIFFE/SVID mTLS (SPIRE, mesh) | spiffe-mtls.md |
| Alert on security events (webhooks, Slack) | notifications.md |
| Stream audit events & gate findings to a SIEM (Splunk HEC, syslog/CEF) | siem.md |
| Have an LLM review the contents of every downloaded package before it is served (sandboxed, cached per digest, budgeted) | llm-package-scan.md |
| See exactly which request paths, artifact formats and serve paths of each ecosystem the LLM scans cover (generated from the code) | llm-package-scan-coverage.md |
| See the proof that the LLM package scan gates every ecosystem: the end-to-end suite and its ecosystem × scenario matrix | llm-package-scan.md#testing |
| See whether a real model recognises real attacks (the Trivy/TeamPCP campaign, LiteLLM, …): the known-malware corpus run through the proxy, what the live runs found, and how to switch the gated CI job on | llm-live-scan.md |
| Decorate PRs / fail CI with unified SARIF findings | findings.md |
| Test policy/risk changes against real traffic before rollout | simreplay.md |
| Add custom admission gates with sandboxed WASM modules | extensions.md |
| Score the health of a package’s source repository (Scorecard-style) | reposcore.md |
| See what changed (deps/licenses/vulns) between two versions of a package | sbom-diff.md |
| Know what the proxy defends against (and not) | threat-model.md |
| Measure gate efficacy with synthetic attacks (red-team suite) | redteam.md |
| Run it in production (ops, monitoring, incidents) | runbook.md |
| Respond to an incident step-by-step (quarantine, kill-switch, DR, key rotation, malware hit) | incident-response-playbook.md |
| Monitor it (metrics, Grafana dashboards, Prometheus alerts) | observability.md |
| Benchmark, load-test & profile it (percentiles, throughput, pprof) | performance.md |
| Watch a real-time SOC view (cross-gate verdicts, posture, live feed) | secops.md |
See which package was downloaded from which client address — and who was refused what (Downloads tab, API, ptctl downloads) |
download-log.md |
| Track downloads per user: sign-in through your OIDC identity provider, a personal cache link for every user | user-links.md |
List the exact dependencies a repository’s lock files pin, read at a commit (ptctl lockfiles) |
lockfiles.md |
Track a repository’s tags and pin every release’s dependencies in the cache, permanently (ptctl repos) |
repositories.md |
| Tour the admin dashboard tab by tab (annotated screenshots) | admin-ui-walkthrough.md |
| Meet the UI accessibility baseline (WCAG 2.1 AA, keyboard, dark mode) | accessibility.md |
| Ask cross-cutting questions across subsystems (federated query API) | query-api.md |
| Give AI agents read-only security context (MCP server) | mcp-server.md |
| Consume the security data model over gRPC / Connect (gRPC-Web, HTTP-JSON) | grpc-api.md |
| Trace it (OpenTelemetry, OTLP, Jaeger/Tempo) | tracing.md |
| Operate disconnected (pre-warm, export/import, sealed mode) | air-gapped.md |
Follow registries ahead of client requests: which ones can be followed (each ecosystem’s change feed or index, its rate limits and terms of use, the size of a full mirror — generated from the code), the full-mirror engine that fetches every new upload through the gates (upstreams.<name>.fullMirror, ptctl fullmirror), the feed adapters that follow the thirteen registries with a change feed (npm, PyPI, crates.io, Go, NuGet, RubyGems, Packagist, Hackage, CPAN, Julia, BCR, ConanCenter, Homebrew), and the full scan that keeps every mirrored and cached artifact under a current LLM verdict within a cost budget (fullMirror.fullScan, fullScan, ptctl fullscan) |
full-mirroring.md |
| Back up & restore for disaster recovery (RPO/RTO) | backup-restore.md |
| Scale out with a shared cache (HA, multi-replica) | ha-shared-cache.md |
| Encrypt the cache at rest (AES-256-GCM envelope, KEK rotation) | cache-encryption.md |
| Coordinate scheduled jobs across replicas (leader election) | coordination.md |
| Deploy it (Docker, Helm, Kubernetes) | ../deploy/README.md |
| Run it on one host as a systemd service (TLS, upgrades with rollback, certificate renewal) | systemd.md |
| Know which OS/CPU architectures are supported (amd64, arm64) & how they’re tested | platforms.md |
| Test & fuzz it (unit, integration, parser fuzzing) | testing.md |
| See every ecosystem’s real package manager install through the proxy (CI-verified client configurations) | ecosystem-tests.md · reference |
| Measure coverage & gate regressions (per-package, critical floors) | coverage.md |
| Measure test fault-detection & gate test-quality regressions (mutation testing) | mutation-testing.md |
By audience
Developers / CI consumers — you just need to fetch packages through the proxy: clients.md, then the page of your package manager. For one-command onboarding (generate your config, self-test connectivity, inspect an artifact’s verdict), use the client CLI: client-cli.md.
Platform / security operators — you run and secure the proxy: architecture.md → configuration.md → security-model.md → access-control-and-audit.md → threat-model.md → runbook.md → ../deploy/README.md.
The canonical configuration template, fully annotated, is
../configs/config.example.yaml.