# SafeDep Documentation - [What is SafeDep?](https://docs.safedep.io/introduction.md): SafeDep protects developers and AI coding agents against malicious open source components: block them before they run, govern the rest. - [Choose Your Path](https://docs.safedep.io/get-started/choose-your-path.md): Start free with the open source tool that fits your use case. Add SafeDep Cloud when your team needs one view. - [SafeDep CLI Tools](https://docs.safedep.io/get-started/cli-tools.md): Which SafeDep command-line tool to use: Vet, PMG, Gryph, and the safedep CLI, and how they fit together. - [Install the SafeDep Skill](https://docs.safedep.io/get-started/safedep-skill.md): Add the SafeDep Agent Skill to Claude Code or any skills-capable AI coding agent. - [Malicious Package](https://docs.safedep.io/concepts/malicious-package.md): What a malicious open-source package is, how it differs from a vulnerability, and how SafeDep detects them. - [Vulnerability](https://docs.safedep.io/concepts/vulnerability.md): What a vulnerability is in an open-source dependency, and how SafeDep surfaces and gates them. - [SBOM](https://docs.safedep.io/concepts/sbom.md): A Software Bill of Materials (SBOM) is a complete inventory of your software's components; an xBOM enriches it with AI, SaaS, and crypto usage. - [Tenant](https://docs.safedep.io/concepts/tenant.md): A tenant is your organization's isolated space in SafeDep Cloud, identified by its tenant domain such as your-company.safedep.io. - [Endpoint](https://docs.safedep.io/concepts/endpoint.md): An endpoint is a developer machine, CI runner, or agent sandbox that runs SafeDep tooling and reports inventory to Endpoint Hub. - [Policy](https://docs.safedep.io/concepts/policy.md): A SafeDep policy decides which packages pass. There are two kinds: the cloud policy of a tenant, and policy as code in a repository. - [Policy Resolution](https://docs.safedep.io/concepts/policy-resolution.md): How SafeDep Cloud merges the default policy, the policy base and the policy overrides into the resolved policy of one endpoint or project. - [Labels](https://docs.safedep.io/concepts/labels.md): A label is a key and value on an endpoint or a project. The prefix of the key names its source, and a policy override selects subjects by their labels. - [Package Rules](https://docs.safedep.io/concepts/package-rules.md): A package rule is a block entry or a trust entry in the cloud policy. It selects packages by PURL and has a reason, an author and an expiry. - [Policy Revisions and Changes](https://docs.safedep.io/concepts/policy-revisions.md): How a change to the cloud policy goes from a draft to a published revision: preview, change direction, stale changes, rollback, notices and audit. - [CEL](https://docs.safedep.io/concepts/cel.md): Common Expression Language (CEL) is the syntax SafeDep uses for filters, queries, and policy rules over package data. - [Package Security](https://docs.safedep.io/package-security/overview.md): Block malicious open-source packages before they reach your code, on developer machines and in CI/CD. - [PMG](https://docs.safedep.io/package-security/pmg/overview.md): PMG wraps your package managers and blocks malicious packages at install time, before any code runs. Free, open source, no account required. - [PMG Quickstart](https://docs.safedep.io/package-security/pmg/quickstart.md): Install and configure PMG (Package Manager Guard) to block malicious packages at install time. - [Stop Install Scripts from Reading Your Secrets](https://docs.safedep.io/package-security/pmg/sandbox.md): Run package installs in the PMG sandbox to block credential files, secret environment variables, and the SSH agent. - [Limit the Hosts a Package Install Can Reach](https://docs.safedep.io/package-security/pmg/network-policy.md): Allow a sandboxed package install to reach only the hosts it needs, and refuse every other destination. - [Hold Back Newly Published Package Versions](https://docs.safedep.io/package-security/pmg/dependency-cooldown.md): Set how many days PMG waits before it installs a newly published package version, and exempt the packages you trust. - [Apply the Cloud Policy in PMG](https://docs.safedep.io/package-security/pmg/cloud-policy.md): Turn on cloud.policy so that PMG applies the block entries, trust entries and dependency cooldown of your SafeDep Cloud tenant. - [Use PMG with a Private Registry or Mirror](https://docs.safedep.io/package-security/pmg/private-registries.md): Make PMG check packages that come from an internal npm, PyPI, Go, or Cargo registry or mirror, such as Artifactory or Nexus. - [PMG System Install](https://docs.safedep.io/package-security/pmg/system-install.md): Install PMG for all users on Linux or Windows machines, including shared VMs, CI runners, and Linux container images. - [Kernel Enforcement on Linux](https://docs.safedep.io/package-security/pmg/kernel-enforcement.md): Make the Linux kernel route every package install through PMG, on VMs, build hosts, self-hosted CI runners, and the containers they start. - [PMG in Kubernetes](https://docs.safedep.io/package-security/pmg/kubernetes.md): Block package installs inside Kubernetes workloads and report PMG events with a stable workload identity. - [Deploy PMG with MDM](https://docs.safedep.io/package-security/pmg/mdm/overview.md): Install PMG on macOS, Linux, and Windows fleets through Jamf, JumpCloud, Intune, or another MDM. - [Jamf](https://docs.safedep.io/package-security/pmg/mdm/jamf.md): Deploy PMG to macOS devices with a Jamf script payload or package. - [JumpCloud](https://docs.safedep.io/package-security/pmg/mdm/jumpcloud.md): Deploy PMG to macOS, Linux, or Windows devices with JumpCloud Commands. - [Intune](https://docs.safedep.io/package-security/pmg/mdm/intune.md): Deploy PMG to macOS, Linux, or Windows devices with Intune scripts, or package a Windows Win32 app. - [On-Demand Package Scanning](https://docs.safedep.io/package-security/scan/overview.md): Run an on-demand malware analysis of any package, IDE extension, or GitHub repository before you use it. - [Package Scan Quickstart](https://docs.safedep.io/package-security/scan/quickstart.md): Install the safedep CLI, sign in to SafeDep Cloud, and run your first on-demand package scan. - [Scanning from CI and AI Agents](https://docs.safedep.io/package-security/scan/automation.md): Use on-demand package scanning from scripts and AI agents: authentication model, JSON output, verdict gating, polling, and retries. - [PMG in GitHub Actions](https://docs.safedep.io/package-security/pmg/github-actions.md): Block malicious packages in GitHub Actions CI with one PMG action step, a job summary, and kernel enforcement. - [Allow Only Known Hosts in GitHub Actions](https://docs.safedep.io/package-security/pmg/github-actions-network-policy.md): Build a network policy from the PMG job summary, commit it, and make PMG refuse every other destination in GitHub Actions. - [AI Agent Security](https://docs.safedep.io/ai-security/overview.md): Discover, audit, and control what AI coding agents access and run across your developer environments. - [AI Tools Discovery](https://docs.safedep.io/ai-security/ai-tools-discovery.md): Discover AI coding agents, MCP servers, CLI tools, IDE extensions, and agent skills across developer machines and project repositories - [Gryph](https://docs.safedep.io/ai-security/gryph-overview.md): Gryph records what your AI coding agents do, every file read, write, and command, to a local audit log you can query and replay. - [SafeDep MCP Server](https://docs.safedep.io/ai-security/mcp-server.md): Protect your AI coding agents against malicious packages using SafeDep MCP - [Sandbox Your AI Coding Agent](https://docs.safedep.io/ai-security/sandbox-coding-agents.md): Run Claude Code, Codex, or Pi in the PMG sandbox to block credential reads and limit the hosts the agent can reach. - [Visibility & Governance](https://docs.safedep.io/governance/overview.md): Scan repositories, SBOMs, and CI/CD for supply-chain risk, and govern policy and visibility across your org. - [Vet](https://docs.safedep.io/governance/vet/overview.md): Vet is a free, open-source SCA scanner that finds malicious, vulnerable, and risky open-source dependencies in code and CI/CD. - [Vet Quickstart](https://docs.safedep.io/governance/vet/quickstart.md): Get started with Vet in under 5 minutes - [Dependency Inventory](https://docs.safedep.io/governance/vet/dependency-inventory.md): Generate accurate dependency inventories using package managers and SBOM tools - [Dependency Usage](https://docs.safedep.io/governance/vet/dependency-usage.md): Identify which dependencies are actually used in your code using static code analysis - [Code Analysis](https://docs.safedep.io/governance/vet/code-analysis.md): Analyze code and dependency usage patterns with Vet's code analysis features - [Deploy vet with MDM](https://docs.safedep.io/governance/vet/mdm/overview.md): Install, update, and remove vet across macOS and Linux fleets, then add optional visibility tasks through your MDM. - [xBom](https://docs.safedep.io/governance/xbom/overview.md): xBom generates a Bill of Materials enriched with AI and SaaS usage by analyzing your source code, not just manifests. - [xBom Quickstart](https://docs.safedep.io/governance/xbom/quickstart.md): Get started with SafeDep xBom, an open source Bill of Materials generator enriched with AI and SaaS usage detected from source code. - [CycloneDX SBOM](https://docs.safedep.io/governance/cyclonedx-sbom.md): Generate a Software Bill of Materials (SBOM) with security metadata using Vet - [AI Governance](https://docs.safedep.io/governance/ai-governance.md): Gain visibility into AI usage across your codebase and developer environments - [Shadow AI in Code](https://docs.safedep.io/governance/shadow-ai-detection.md): Detect AI and LLM SDK usage in your codebase using static code analysis and generate an SBOM with AI component evidence - [Generate an AI BOM](https://docs.safedep.io/governance/vet/ai-bom.md): Build an AI Bill of Materials from source code with vet's xBOM engine: AI SDK detections in CycloneDX with file and line evidence. - [Platform Integrations](https://docs.safedep.io/governance/integrations/overview.md): Integrate Vet into your CI/CD and developer platforms for automated supply-chain scanning. - [GitHub App](https://docs.safedep.io/governance/integrations/github.md): Set up the SafeDep GitHub App to scan pull requests for supply-chain risk. - [GitHub Code Scanning](https://docs.safedep.io/governance/integrations/github-code-scanning.md): Integrate Vet with GitHub Actions and Code Scanning for automated security alerts. - [GitLab Dependency Scanning](https://docs.safedep.io/governance/integrations/gitlab.md): Native GitLab integration for dependency security scanning with Vet. - [Bitbucket Cloud App](https://docs.safedep.io/governance/integrations/bitbucket-app.md): Install the SafeDep app for Bitbucket Cloud and link your workspace to scan pull requests for supply-chain risk. - [Bitbucket Pipes](https://docs.safedep.io/governance/integrations/bitbucket.md): Native Bitbucket Cloud integration for SafeDep - [DefectDojo Integration](https://docs.safedep.io/governance/integrations/defectdojo.md): Integrate Vet with DefectDojo for centralized vulnerability tracking and management - [Terraform Supply Chain Audit](https://docs.safedep.io/governance/terraform-audit.md): Audit Terraform provider inventory for supply chain risks using SafeDep Cloud - [SafeDep Cloud](https://docs.safedep.io/governance/cloud/overview.md): The control plane, data lake, and intelligence layer that runs SafeDep's open source tools across a team or an organization. - [SafeDep Cloud Quickstart](https://docs.safedep.io/governance/cloud/quickstart.md): Create a SafeDep Cloud tenant, authenticate the safedep CLI, connect a data source, and run your first query - [Authentication](https://docs.safedep.io/governance/cloud/authentication.md): How SafeDep Cloud authentication works and how to authenticate the safedep CLI, vet, and CI/CD pipelines - [Usage & On-Demand Billing](https://docs.safedep.io/governance/cloud/usage-billing.md): How SafeDep Cloud seat allowances and usage-based on-demand billing work, and the CLI commands to inspect and manage them. - [Cloud Sync](https://docs.safedep.io/governance/cloud/sync.md): How vet, PMG, and vet endpoint scan send data to your SafeDep Cloud tenant, and how to set up each source - [Talk to SafeDep](https://docs.safedep.io/governance/cloud/talk-to-safedep.md): Ask your supply chain questions in plain English and let an AI agent answer from your SafeDep Cloud tenant using the safedep CLI. - [Send Alerts from SafeDep Cloud](https://docs.safedep.io/governance/cloud/alerts.md): Turn any safedep query exec result into a Slack, Discord, Teams, PagerDuty, or custom HTTP alert. - [Ingest Package Guard Events to CrowdStrike SIEM](https://docs.safedep.io/governance/cloud/crowdstrike-siem.md): Forward PMG malicious-package and dependency-cooldown block events from SafeDep Cloud to a CrowdStrike SIEM HEC endpoint. - [Malware Analysis](https://docs.safedep.io/governance/cloud/malware-analysis.md): Detect malicious packages in your dependencies by querying SafeDep's known malicious packages database - [Endpoint Hub](https://docs.safedep.io/governance/cloud/endpoint-hub/overview.md): Visibility into AI tooling and package activity across your developer machines, CI runners, and agent sandboxes - [Endpoint Inventory](https://docs.safedep.io/governance/cloud/endpoint-hub/inventory.md): View AI tools, Agent Skills, MCP servers, and coding agents discovered on your endpoints in SafeDep Cloud - [Endpoint Scan Catalog](https://docs.safedep.io/governance/cloud/endpoint-hub/inventory-catalog.md): Catalog of all inventory items collected from endpoint scans - [Package Guard](https://docs.safedep.io/governance/cloud/endpoint-hub/package-guard.md): Monitor and control package installations across your endpoints using SafeDep Cloud - [Find Where a Malicious Package Reached Your Organization](https://docs.safedep.io/governance/cloud/endpoint-hub/find-malicious-package.md): Find each endpoint where PMG blocked a malicious package, and each project that depends on it, in SafeDep Cloud. - [Review Package Blocks Across CI Pipelines](https://docs.safedep.io/governance/cloud/endpoint-hub/ci-package-blocks.md): See every package that PMG blocked or held back on your CI runners, across all repositories, in SafeDep Cloud. - [MCP Advisor](https://docs.safedep.io/governance/cloud/endpoint-hub/mcp-advisor.md): Review the packages your AI coding agents checked through the SafeDep MCP server, per endpoint in SafeDep Cloud - [Agentic Endpoint Investigation](https://docs.safedep.io/governance/cloud/endpoint-hub/agentic-investigation.md): Investigate package activity and AI tooling across your developer endpoints with an AI coding agent and the safedep CLI. - [Cloud Policy](https://docs.safedep.io/governance/cloud/policy/overview.md): Set one policy for your tenant in SafeDep Cloud: block and trust packages, set the dependency cooldown, and choose what fails a pull request check. - [Cloud Policy Quickstart](https://docs.safedep.io/governance/cloud/policy/quickstart.md): Publish your first cloud policy with the safedep CLI, then see PMG and a pull request check apply it. - [Block a Package During an Incident](https://docs.safedep.io/governance/cloud/policy/block-a-package.md): Block a malicious package, a version range or a list of packages for every endpoint and project of your tenant with the safedep CLI. - [Trust a Package After a False Positive](https://docs.safedep.io/governance/cloud/policy/trust-a-package.md): Create a trust entry in the cloud policy to waive a malware, cooldown or vulnerability verdict for one package, with a reason and an expiry. - [Set the Dependency Cooldown from the Cloud](https://docs.safedep.io/governance/cloud/policy/set-a-cooldown.md): Set the minimum age of a package version for every PMG endpoint of your tenant, or for a group of endpoints, with the cloud policy. - [Target a Group of Endpoints or Projects](https://docs.safedep.io/governance/cloud/policy/target-a-group.md): Label endpoints and projects, then write a policy override that sets other policy values for them. - [Fail Pull Request Checks on Chosen Severities](https://docs.safedep.io/governance/cloud/policy/pull-request-checks.md): Use the cloud policy to choose which vulnerability severities fail the SafeDep pull request check for a group of projects, on GitHub and Bitbucket. - [Roll Back a Policy Change](https://docs.safedep.io/governance/cloud/policy/roll-back-a-change.md): Restore settings, and optionally package rules, from an old revision of the cloud policy with a new policy change. - [Explain a Policy Decision](https://docs.safedep.io/governance/cloud/policy/explain-a-decision.md): Find the package rule or the setting that blocked an install in PMG or failed a pull request check, with the decision log and the citation. - [Audit Changes to the Cloud Policy](https://docs.safedep.io/governance/cloud/policy/audit-policy-changes.md): See who changed the cloud policy, when and how, with audit events, policy revisions and the email notices to Owners and Admins. - [Malicious Package Exclusions](https://docs.safedep.io/governance/cloud/package-exclusions.md): Manage package exclusions for malicious package analysis in SafeDep Cloud - [Threat Intel Feed](https://docs.safedep.io/threat-intel/overview.md): A feed of malicious open-source packages, served as an incremental API stream of reports and campaigns. - [Quickstart](https://docs.safedep.io/threat-intel/quickstart.md): Set your credentials and run your first Threat Intel Feed query with curl. - [Concepts](https://docs.safedep.io/threat-intel/concepts.md): The Threat Intel Feed data model: reports, verdicts, confidence, withdrawal, indicators, campaigns, and the change cursor. - [Connecting](https://docs.safedep.io/threat-intel/connecting.md): Transport, base URL, request headers, authentication, and JSON conventions for the Threat Intel Feed API. - [Pagination & sync](https://docs.safedep.io/threat-intel/pagination.md): Cursor pagination for every list RPC, and the incremental-pull pattern that keeps a local mirror of the Threat Intel Feed in sync. - [Package reports](https://docs.safedep.io/threat-intel/package-reports.md): List and fetch malicious package reports, with filters by ecosystem, verdict, time, and withdrawal. - [Campaigns](https://docs.safedep.io/threat-intel/campaigns.md): List campaigns, fetch one campaign's details, and page through its member package reports. Only active campaigns are served. - [Recipes](https://docs.safedep.io/threat-intel/recipes.md): Working scripts for the Threat Intel Feed: mirror the whole feed, keep it current, poll for new malicious packages, and expand a campaign. - [JFrog Xray Integration](https://docs.safedep.io/threat-intel/integrations/jfrog-xray.md): Stream SafeDep malware intelligence to JFrog Xray - [Schema reference](https://docs.safedep.io/threat-intel/schema.md): JSON wire conventions for the Threat Intel Feed, and where the authoritative message and enum definitions live. - [Errors & limits](https://docs.safedep.io/threat-intel/errors.md): Error codes, rate limits, versioning and forward-compatibility, and troubleshooting for the Threat Intel Feed API. - [SDKs](https://docs.safedep.io/threat-intel/sdks.md): Generate a typed Threat Intel Feed client from the SafeDep protobuf schema, with Go and TypeScript examples. - [Filtering](https://docs.safedep.io/reference/filtering.md): Reference for Vet's CEL filter expressions: the input schema, available fields, and the operators and functions you can use. - [Build Your Own Queries](https://docs.safedep.io/reference/build-your-own-queries.md): Speed up filtering and reporting by working with enriched JSON data dumps - [Policy as Code](https://docs.safedep.io/reference/policy-as-code.md): Reference for SafeDep policy files: the filter suite format, the flags that apply it, and the CEL fields available to rules. - [Exceptions](https://docs.safedep.io/reference/exceptions.md): Reference for Vet exceptions: the file format, the flags that generate and apply them, and the matching rules. - [Path Exclusion](https://docs.safedep.io/reference/path-exclusion.md): Exclude specific directories and files from security scans using pattern matching - [Cloud Policy Settings](https://docs.safedep.io/reference/cloud-policy-settings.md): Reference for each setting of the SafeDep cloud policy: its path, type, values, SafeDep default and the tools that enforce it. - [Cloud Policy Limits](https://docs.safedep.io/reference/cloud-policy-limits.md): Reference for the limits, the retention, the known gaps and the API key access of the SafeDep cloud policy. - [API Reference](https://docs.safedep.io/reference/api-introduction.md): SafeDep Cloud API: transport, request headers, OAuth2/OIDC endpoints, and rate limits - [API Endpoints](https://docs.safedep.io/reference/endpoints.md): Canonical list of SafeDep service hostnames: console, data plane, control plane, identity, community API, and MCP. - [Insights API with TypeScript](https://docs.safedep.io/reference/insights-api-typescript.md): Build applications that leverage SafeDep Insights API using TypeScript and ConnectRPC - [SafeDep Cloud SQL](https://docs.safedep.io/reference/sql-query.md): Run SQL-like queries against your SafeDep Cloud data with the safedep CLI. - [Community](https://docs.safedep.io/community.md): Join the SafeDep and Vet user community for support and discussions - [Vet FAQ](https://docs.safedep.io/faq.md): Frequently asked questions about using Vet and troubleshooting common issues - [Cloud FAQ](https://docs.safedep.io/governance/cloud/faq.md): Frequently asked questions about SafeDep Cloud authentication and usage - [Changelog 2026](https://docs.safedep.io/changelog/2026.md): What SafeDep shipped in 2026, twice a month: the open source tools PMG, vet and Gryph, and SafeDep Cloud. ## Optional - [GitHub](https://github.com/safedep/vet) - [Discord](https://discord.gg/kAGEj25dCn) - [Website](https://safedep.io) This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.