SecureChain user guide
SecureChain tells you which open-source dependencies of your projects have known vulnerabilities, how to fix each one, and when a new advisory affects code that you already ship. You run one small CLI on your computer or in CI. The portal does the rest.
What SecureChain does #
- It scans
- The
securechainCLI reads the lockfiles of your project and sends the list of packages and versions to your workspace. It does not send source code. - It matches
- The portal compares the list with the advisory data (for example CVE, GHSA, and OSV records) and keeps the scan. When a new advisory comes out, the portal checks every stored scan again. You learn about a new vulnerability without a new build.
- It tells you what to fix first
- Each finding has a severity, a fix deadline, and a known-exploited flag. The fix plan names the version to move to. When TuxCare has a build of the same version with the fix, the plan names that build.
- It fixes
securechain hardenmoves a project to TuxCare builds: the same versions that you use now, with the security fixes added. You do not upgrade to a new major version to close a CVE.- It gates
- In CI, the CLI can fail a build on a high finding, or fail a pull request only on the findings that it adds.
Each organization has its own workspace, for example acme.sc.tuxcare.cloud. Nobody outside the workspace sees its repositories, scans, or findings.
How it works #
- The CLI sends the package list.
securechain scareads the lockfiles and sends the names and versions of the packages to your workspace. - The portal answers with the findings. The CLI prints them and can fail the CI job. The portal shows the same findings, with the fix plan, in the browser.
- The portal gives the CLI the registry credential. You need only one secret: the access token of your workspace. The CLI gets the credential of the TuxCare registry with it. You need this step only for TuxCare builds.
- Your package manager downloads the TuxCare builds.
securechain hardenpoints the project at the builds.npm ci,pip install, and the other install commands then get them from the TuxCare registry.
After the first scan, the portal works without you. When a new advisory affects a package that you ship, the portal shows the new finding and sends an alert by email, Slack, or webhook.
What leaves your computer #
The CLI sends only these items:
- The package URL (name and version) of each dependency, and how it reaches your project (direct or transitive).
- The repository URL, the branch, the commit, and the path of the project in the repository. The CLI removes a user name or a password from the URL.
- The version of the CLI.
It never sends source code, file contents, or environment variables. To see the exact upload before you send it, run securechain sbom --preview. It writes the upload to the screen, sends nothing, and needs no token.
Languages and package managers #
| Language | Package managers | Findings | TuxCare builds (harden) |
|---|---|---|---|
| JavaScript, TypeScript | npm, pnpm, Yarn, Bun, Deno | Yes | Yes. Deno: the imports of deno.json only. |
| Python | pip, uv, Poetry, PDM, Pipenv, conda | Yes | Yes |
| Java, Kotlin | Maven, Gradle | Yes | With a BOM file from TuxCare. Contact TuxCare. |
| Go, Rust, Ruby, .NET, PHP, Elixir, Dart, Swift, Haskell, R, C and C++ | Go modules, Cargo, Bundler, NuGet, Composer, Mix, Pub, SwiftPM, Stack and Cabal, CRAN, Conan | Yes | No |
The CLI also reads the lockfiles of some other package managers. The portal shows their packages as Not assessed
: it has no advisory data to check them. A package that is not assessed is not clean.
Where to start #
| You want to | Read |
|---|---|
| Scan a project from your computer, or add SecureChain to a pipeline | Get started. It takes about five minutes. |
| Fail pull requests on new findings, record releases, or upload SARIF | CI/CD |
| Read the findings, triage them, and set up alerts | Portal |
| Close the findings with an upgrade or a TuxCare build | Fix vulnerabilities |
| Look up a command, an option, an exit code, a token right, the API, or MCP | Reference |
| Invite users, set up single sign-on, or split repositories between teams | Administration |
| Understand an error | Troubleshooting |
Next: Get started