Integrations

Wire Chainsaw into your CI and package managers in ten lines

Chainsaw connects to CI with one token and one URL per package manager. A CI job such as npm ci reads the credentials from your CI secret store and fetches through the Chainsaw proxy, which applies policy on every fetch and writes one audit row per fetch. Ready-to-paste snippets cover GitHub Actions, GitLab CI, Jenkins, CircleCI, Azure Pipelines, Buildkite and Drone CI.

CI providers

How do you connect a CI pipeline to Chainsaw?

For npm the registry path is /chainproxy/repository/@default/npmjs/, with @default swapped for your org slug, and the _authToken is the plain id:secret pair.

  1. 01 · CI runner

    npm ci

    Credentials from your CI secret store

  2. 02 · Chainsaw proxy

    Policy on every fetch

    /chainproxy/repository/@default/npmjs/

  3. 03 · Audit record

    One audit row per fetch

    Splunk HEC, Elastic, Sentinel, QRadar or a webhook (table below)

GitHub Actions

- name: Configure Chainsaw
  env:
    CHAINSAW_CLIENT_ID: ${{ secrets.CHAINSAW_CLIENT_ID }}
    CHAINSAW_CLIENT_SECRET: ${{ secrets.CHAINSAW_CLIENT_SECRET }}
  run: |
    echo "registry=https://chain305.com/chainproxy/repository/@default/npmjs/" >> .npmrc
    echo "//chain305.com/chainproxy/repository/@default/npmjs/:_authToken=$CHAINSAW_CLIENT_ID:$CHAINSAW_CLIENT_SECRET" >> .npmrc
    echo "//chain305.com/chainproxy/repository/@default/npmjs/:always-auth=true" >> .npmrc
- name: Install
  run: npm ci
GitLab CI
install:
  script:
    - echo "registry=https://chain305.com/chainproxy/repository/@default/npmjs/" >> ~/.npmrc
    - echo "//chain305.com/chainproxy/repository/@default/npmjs/:_authToken=$CHAINSAW_CLIENT_ID:$CHAINSAW_CLIENT_SECRET" >> ~/.npmrc
    - echo "//chain305.com/chainproxy/repository/@default/npmjs/:always-auth=true" >> ~/.npmrc
    - npm ci
Jenkins
withCredentials([usernamePassword(credentialsId: 'chainsaw',
  usernameVariable: 'CHAINSAW_CLIENT_ID', passwordVariable: 'CHAINSAW_CLIENT_SECRET')]) {
  sh '''
    echo "registry=https://chain305.com/chainproxy/repository/@default/npmjs/" > .npmrc
    echo "//chain305.com/chainproxy/repository/@default/npmjs/:_authToken=$CHAINSAW_CLIENT_ID:$CHAINSAW_CLIENT_SECRET" >> .npmrc
    echo "//chain305.com/chainproxy/repository/@default/npmjs/:always-auth=true" >> .npmrc
    npm ci
  '''
}
CircleCI
- run:
    name: Configure Chainsaw
    command: |
      echo "registry=https://chain305.com/chainproxy/repository/@default/npmjs/" >> ~/.npmrc
      echo "//chain305.com/chainproxy/repository/@default/npmjs/:_authToken=$CHAINSAW_CLIENT_ID:$CHAINSAW_CLIENT_SECRET" >> ~/.npmrc
      echo "//chain305.com/chainproxy/repository/@default/npmjs/:always-auth=true" >> ~/.npmrc
- run: npm ci
Azure Pipelines
- script: |
    echo "registry=https://chain305.com/chainproxy/repository/@default/npmjs/" >> ~/.npmrc
    echo "//chain305.com/chainproxy/repository/@default/npmjs/:_authToken=$(CHAINSAW_CLIENT_ID):$(CHAINSAW_CLIENT_SECRET)" >> ~/.npmrc
    echo "//chain305.com/chainproxy/repository/@default/npmjs/:always-auth=true" >> ~/.npmrc
    npm ci
  displayName: Install via Chainsaw
Buildkite
steps:
  - label: "Install"
    command: |
      echo "registry=https://chain305.com/chainproxy/repository/@default/npmjs/" >> .npmrc
      echo "//chain305.com/chainproxy/repository/@default/npmjs/:_authToken=$CHAINSAW_CLIENT_ID:$CHAINSAW_CLIENT_SECRET" >> .npmrc
      echo "//chain305.com/chainproxy/repository/@default/npmjs/:always-auth=true" >> .npmrc
      npm ci
Drone CI
kind: pipeline
type: docker
name: default

steps:
  - name: install
    image: node:20
    environment:
      CHAINSAW_CLIENT_ID:
        from_secret: chainsaw_client_id
      CHAINSAW_CLIENT_SECRET:
        from_secret: chainsaw_client_secret
    commands:
      - echo "registry=https://chain305.com/chainproxy/repository/@default/npmjs/" >> .npmrc
      - echo "//chain305.com/chainproxy/repository/@default/npmjs/:_authToken=$CHAINSAW_CLIENT_ID:$CHAINSAW_CLIENT_SECRET" >> .npmrc
      - echo "//chain305.com/chainproxy/repository/@default/npmjs/:always-auth=true" >> .npmrc
      - npm ci

Swap @default for your org slug. The _authToken is the plain id:secret pair; do not base64-encode it. Self-hosted: use your own base URL, ingress path included. Full CI/CD guide →

Package ecosystems

Which package ecosystems does Chainsaw cover?

The Chainsaw proxy covers 17 ecosystems: npm (with pnpm, yarn and bun), PyPI (with pip, poetry and uv), Maven, Gradle, Cargo, Go modules, Composer, NuGet, RubyGems, Swift, CocoaPods, Docker / OCI, Hugging Face, APT, Yum, DNF and Homebrew. No lockfile changes, no wrapper scripts.

EcosystemCoversGuide
npm Node.js · npm, pnpm, yarn, bun Configure your package manager
PyPI Python · pip, poetry, uv
Maven JVM
Gradle JVM
Cargo Rust
Go modules Go
Composer PHP
NuGet .NET
RubyGems Ruby
Swift iOS / macOS
CocoaPods iOS / macOS
Docker / OCI Containers
Homebrew macOS / Linux · bottles; casks and taps on-device
Hugging Face AI / ML models Secure Hugging Face downloads
APT OS packages · CVE + hash-chain provenance only OS package provenance
Yum OS packages · CVE + hash-chain provenance only
DNF OS packages · CVE + hash-chain provenance only

Cargo 1.74+: chainsaw cargo-credentials reads the token from the OS keyring.

Outbound destinations

Where can Chainsaw send audit events?

Chainsaw writes an audit row for every install decision and sends the rows to a SIEM, a metrics stack or a webhook receiver. The audit trail ships on every plan; only SIEM export needs Enterprise, which starts at $36,000 a year.

Splunk HECStructured audit events. Enterprise.
Microsoft SentinelCEF over TLS syslog. Enterprise.
IBM QRadarCEF over TLS syslog. Enterprise.
Elastic / OpenSearchBulk API with an API key or basic auth. Enterprise.
Prometheus / Grafana50+ metrics at /metrics. All plans.
Slack / MS Teams / PagerDutyAny webhook receiver. Five per user, every plan.
Generic SIEMJSON over webhook or syslog.

Identity providers

Which identity providers work with Chainsaw?

Chainsaw works with Okta, Microsoft Entra, Google Workspace, Auth0, Keycloak and any compliant SAML 2.0 or OIDC identity provider. SSO and SCIM are included on the Team plan at $25 per seat per month, with no separate SSO fee, and on Enterprise; CI and service-account tokens are free and never count as a seat on any plan.

OktaSAML 2.0 · OIDC · SCIM 2.0
Microsoft EntraSAML 2.0 · OIDC · SCIM 2.0
Google WorkspaceOIDC · SCIM 2.0
Auth0OIDC
KeycloakOIDC
Any SAML 2.0 / OIDC IdPCompliant providers

Go modules

How do I send Go modules through Chainsaw without turning off checksum verification?

Set GOPROXY to the Chainsaw Go module URL and leave GOSUMDB at its default, sum.golang.org. The proxy URL is https://chain305.com/chainproxy/repository/@default/gomod, with @default replaced by your org slug and the client token in the URL. Do not append ,direct to GOPROXY. With a direct entry, the go command falls back to the origin repository whenever the proxy answers 404 or 410, and that fetch skips the policy. Mark internal modules with GOPRIVATE, for example go env -w GOPRIVATE=github.com/yourorg/*, so the go command fetches those modules directly and never sends their paths to the public checksum database. Setting GOSUMDB=off removes the check for every module, public ones included. With GOPROXY on Chainsaw and GOSUMDB on, Chainsaw runs the typosquat matchers, the malware feed and any cooldown rule on each public module, and sum.golang.org still verifies the downloaded bytes against go.sum. On the proxy side, Chainsaw's provenance rules also check Go modules against sum.golang.org.

Internal packages

Can internal npm and PyPI packages use the same Chainsaw URL as public packages?

Yes, for npm and PyPI only, and only when no public package has the same name. Publish an internal package to Chainsaw with authenticated publish, and the registry URL that proxies npmjs or PyPI also serves the internal package, so ~/.npmrc and pip.conf keep one registry entry each. A name that already exists on the public registry cannot share the URL, so publish under a different name. Maven, Go, Cargo, Docker and every other format use a separate hosted repository for internal artifacts. The publish gate refuses malicious or vulnerable uploads using the same policy that runs on installs. To stop public squatters on internal names, list the names in reservedNamespaces, for example @acme/* on npm, and the Chainsaw proxy refuses any public package that matches. Teams that keep Artifactory, Nexus or Cloudsmith can put Chainsaw in front of the existing registry instead, with no migration and one URL change per package manager.

Missing an integration you need?

Tell us what you need to connect

Tell us the CI provider or SIEM you need. We scope it with you and agree a delivery date before we start.