Where Security Watch and Agent Guard plug into the tools you already use

I spent the last weeks getting our two open-source security tools into CI, pull requests, Slack and coding assistants. Here is what works now and what doesn't yet.

In 1994 the infection control team at the University of Geneva Hospitals watched how often doctors and nurses cleaned their hands when they should have. It was 48% of the time. Staff knew it mattered, but washing at a sink takes time and the sinks were often down the corridor. Didier Pittet's team ran a campaign built around alcohol hand rub, which is quicker and can sit at the bedside. Washing at sinks stayed about the same and use of the rub went up a lot. By 1997 compliance was 66%, and in the same years the share of patients with an infection caught in hospital fell from 16.9% to 9.9% (Lancet, 2000). Pittet later wrote that sending busy staff away from the bed to a wash basin "invites noncompliance" (Emerging Infectious Diseases, 2001).

Security checks have the same problem. A check in a separate dashboard is the sink down the corridor. So in the last weeks most of my work on Security Watch and Agent Guard went into integrations, so the checks show up in tools teams already use. This post lists them.

Security Watch

The quickest start is one command in a project folder:

sh code example
npx @shieldaai/security-watch check

It reads the lockfiles of 12 ecosystems, asks OSV about every installed version and marks anything on CISA's list of known exploited vulnerabilities. In CI, --base origin/main... checks only what the branch changed, and the job fails when a finding is at or above the level you set with --fail-on (high by default).

The monitor is for what happens after the merge. Your pipeline sends it a fresh SBOM (the parts list of a system) on every merge, with the GitHub Action or one npx command in GitLab or any other CI. SBOMs from Trivy, Syft, cdxgen or GitHub's dependency graph are accepted as they are. When a new advisory or a news story matches something you run, the alert goes to Slack, email or the terminal. It includes the owner and note you set with security-watch sbom or in systems.yaml, so the person reading it knows which service to look at.

Products, SaaS and infrastructure that never appear in a lockfile go in systems.yaml too. They are matched by name, and you confirm the version yourself, because Security Watch can't check product version ranges.

For coding agents there is an MCP server and a plugin, so an agent can check a package before it adds it. If you don't want to install Node.js, there is a Docker image with a signed build-provenance attestation.

Agent Guard Check

Agent permissions live in files like .claude/settings.json and .mcp.json. They change in pull requests, and reviewers usually read them as normal config. Check reads those files and shows what each agent can do. By default the scan only reads files and makes no network calls.

  • On GitHub, the Action reports what a pull request made worse in the job summary and, if you turn it on, in one pull-request comment. It can also send SARIF to code scanning.
  • Locally, there is a pre-commit hook. A Claude Code hook also runs at the start of a session and reports what your local and personal settings add on top of the files in git.
  • Coding agents can call the same check through its MCP server. The repository also has a Dockerfile for a container that runs with --network none.

Check 1.9 adds reports for GitLab merge requests, one table for many repositories, and Backstage catalog entries. It isn't released yet.

The Agent Guard library

The library decides at run time which tool calls an agent may make: which tool, on which record, for which customer, within what budget, and whether a person has to approve that exact action first.

For TypeScript there are adapters for the Vercel AI SDK, LangChain.js, the OpenAI Agents SDK and the main model APIs. Each is a few lines once the guard and the task are set up. In the library, every decision can also go to OpenTelemetry or a JSON-lines log.

Tools you write yourself can also go through the guard and be served to any MCP client. Agents written in Python, and tools behind an MCP gateway or a hosted agent platform, can't use the guard yet. A decision server with a Python client is coming in Agent Guard 1.9.

Useful outside security too

People outside security can use some of this. Approvals and budgets keep an agent's risky actions and its spending under a person's control. Check's inventory export (--format inventory) lists the agents a repository configures and what each can reach, which is a governance question as much as a security one. The decision log and Security Watch's owner notes help with audits and with knowing who to call.

Where a check belongs

A change to agent permissions can still be stopped while it is a pull request. After the merge, the agent already works with the new permissions. A tool call can only be stopped before it runs, so that check sits in the call path. That's why each check above sits where it does.

Try it

Both projects are free and open source under Apache-2.0, and you don't need an account. If your team works somewhere these don't reach yet, open an issue and tell me where.

I wrote this post with help from an AI assistant. The commands and options come from the projects' own documentation.