On 4 December 2026, Cybernews published an interview with Hritik Kumar Sharma, founder and CEO of Safeguard. You can read the full Cybernews interview here. It covers why software supply chain attacks keep working, how to decide which vulnerabilities to fix this week, what an AI-written patch has to prove before a human sees it, and why coding agents need to be governed like people with credentials. A line from its final answer is the thesis of this post: "I think security will move from detection to remediation as the default outcome."
An interview answer has to be short. This is the long version: the mechanics behind each theme, the public record on real incidents, and techniques you can use with any tooling. Where Safeguard fits, we say so.
Who this is for. AppSec leads, platform engineers and engineering managers who own a vulnerability backlog that grows faster than it shrinks. You will leave with a prioritization model, a review standard for automated fixes, controls for coding agents and a checklist for Monday.
Why software supply chain attacks keep growing
The attack surface moved. A modern application is mostly code its owners did not write: open-source libraries and their dependencies, base images, build tools, CI actions, and now code from AI agents that hold repository access.
As the interview puts it: "An attacker does not need to break into your company if they can get a malicious package into something you install automatically."
That is the economics. A perimeter has to be breached once per target. A popular package is installed thousands of times a day, by machines, with nobody reading the diff. Four routes come up again and again in the public record.
Typosquatting: a name that is almost right
Typosquatting relies on someone asking for a package by a name one keystroke away from the real one. Transposed letters, a missing hyphen, a plural: registries accept all of them as distinct names.
The classic npm case is crossenv, a lookalike of the widely used cross-env. In August 2017 npm removed it along with about 40 other lookalike packages from the same publisher. Installing it sent the environment variables of the install context to a remote server. On a laptop or CI runner, that often means tokens and cloud credentials.
The reason typosquatting is dangerous is not the name. It is install-time execution. npm runs preinstall, install and postinstall scripts declared in a package's manifest, and Python source distributions can run arbitrary code in their build step. So the malicious code runs with the permissions of whoever typed the install command, before any test, scan or human review sees it.
Controls that help: commit lockfiles and install from them in CI (npm ci, not npm install), so a new dependency shows up in a reviewed diff; disable lifecycle scripts unless a package needs them; and route installs through a proxy that blocks lookalike names before they download.
Maintainer account hijack: the right name, the wrong publisher
In October 2021 an attacker took over the npm account of the maintainer of ua-parser-js, a library with millions of weekly downloads, and published versions 0.7.29, 0.8.0 and 1.0.0. Those versions carried a cryptocurrency miner and, on Windows, a credential-stealing payload, as CISA warned at the time. The GitHub advisory for the incident is GHSA-pjwm-rvh2-c87w. Any build whose version range allowed those releases could pull them automatically while they were live.
A softer variant is the handover. In 2018 the maintainer of event-stream gave publishing rights to a volunteer who had offered to help. The new maintainer added a dependency, flatmap-stream, containing encrypted code aimed at a specific bitcoin wallet application. The community discussion that exposed it is event-stream issue #116. No account was stolen. Trust was transferred, and nobody downstream was told.
Both cases defeat the same assumption: that a package name plus a version identifies trustworthy code. Publishers can require two-factor authentication and use trusted publishing, where a registry accepts releases from a specific CI workflow instead of a long-lived token. Consumers can pin exact versions through lockfiles and wait a few days before adopting brand-new releases. Renovate has a minimumReleaseAge setting for this. Hijacked releases tend to be spotted and pulled quickly, so a delay costs little.
Poisoned build pipelines: clean source, dirty artifact
The third route skips the package registry and goes after the machinery that turns source into artifacts.
In the SolarWinds compromise disclosed in December 2020, attackers placed malicious code into the build process for the Orion platform, so signed, legitimate-looking updates carried a backdoor. In a Form 8-K filed with the SEC on 14 December 2020, SolarWinds said it believed fewer than 18,000 customers may have installed the affected Orion products. The source repository looked fine. The output of the build did not match it.
The xz-utils backdoor, CVE-2024-3094, is a well-documented modern example. Over roughly two years a contributor using the name Jia Tan built trust in the project and became a co-maintainer. Versions 5.6.0 and 5.6.1 shipped release tarballs whose build scripts differed from the git repository. An extra macro unpacked an obfuscated payload hidden inside binary test files and linked it into liblzma. On distributions where sshd loads liblzma indirectly through systemd, the result was a backdoor in SSH authentication. Andres Freund, a PostgreSQL developer, noticed that SSH logins were slower than expected and traced it, then reported it on the oss-security list on 29 March 2024. NVD scores the CVE at CVSS 10.0. It was caught before most stable distributions shipped it, with very little margin.
CI is part of the pipeline too. On 14 and 15 March 2025 the popular GitHub Action tj-actions/changed-files was compromised. Its version tags were repointed to a malicious commit that printed CI runner secrets into workflow logs (CVE-2025-30066). Any workflow that referenced the action by tag and ran in that window ran the attacker's code.
The lessons are concrete. Reference CI actions by full commit SHA, not by tag. Compare release tarballs against the tagged source. Require signed provenance, so a consumer can check that an artifact came from the expected source and builder.
Dependency confusion: your internal name, published publicly
In February 2021 the researcher Alex Birsan published how he had executed code inside more than 35 organizations by uploading packages to public registries under the names of their internal, private packages. He found those names in places such as publicly exposed package.json files and public JavaScript bundles. When a build tool could see both a private feed and a public registry, it often resolved to whichever version number was higher, and he made sure the public one was.
The behavior comes from configuration that looks harmless. In Python, pip's extra index URL option treats every configured index as a candidate and picks the highest matching version across all of them. In npm, an unscoped package name resolves against the default registry unless you say otherwise.
The fixes are boring and they work:
# .npmrc: bind your internal scope to your private registry.
# Anything under @yourcompany can never resolve from the public registry.
@yourcompany:registry=https://npm.internal.example.com/
# pip.conf: one index that you control, which proxies the public one,
# instead of a private index plus an extra public index.
[global]
index-url = https://pypi.internal.example.com/simple
For .NET, NuGet's package source mapping declares which feed each package prefix may come from. Reserving internal names on public registries is a cheap extra guard.
The common thread
Typosquatting, hijacked maintainers, poisoned pipelines and dependency confusion look different. Underneath, each one exploits trust that was never verified: in a name, in a publisher, in a build, in a resolution order.
The interview names the questions most organizations still cannot answer quickly when an incident breaks. Which of our products contain this component? Is the vulnerable function reachable in our code? Who will ship the fix? The rest of this post is about getting those answers in minutes rather than days.
Visibility comes before everything else
Every incident response starts with an inventory question. If you cannot answer "where do we run this?" you spend the response searching rather than fixing. The interview points out that many companies still lack an accurate, current software bill of materials for what they ship.
A useful SBOM has a few properties that a checkbox SBOM often lacks:
- Generated per build, from the lockfile and the built artifact, not once a year for an audit.
- The full dependency graph, so a transitive dependency five levels down is distinguishable from a direct one. That decides who can fix it.
- Package URLs (purls) such as
pkg:npm/ua-parser-js@0.7.29, which match cleanly against advisories, plus hashes that tie each entry to the file that shipped. - Stored per release, so you can ask what shipped last quarter, not just what is in main today.
Both major formats, CycloneDX and SPDX, support all of this. Once SBOMs exist per release, the incident question becomes a query:
# Which release SBOMs contain an affected xz version?
for f in sboms/*.cdx.json; do
jq -r --arg f "$f" '.components[]
| select(.name == "xz" and (.version == "5.6.0" or .version == "5.6.1"))
| "\($f): \(.name)@\(.version)"' "$f"
done
Safeguard generates SBOMs in SPDX and CycloneDX for every connected project, keeps the full transitive inventory, and lets you look up a component across projects, so the answer to "where is this?" is a search, not a project.
Shrinking the backlog: reachability, KEV, EPSS and exposure
The interview makes a point that every AppSec team learns the hard way: severity scores alone are a poor guide. A critical CVE in a function your code never calls is less urgent than a medium one on an internet-facing path.
CVSS measures how bad a vulnerability could be in a generic setting. It knows nothing about your code, your network or what attackers are doing this week. Sort a backlog by CVSS and you get a long "critical" list that the team soon stops trusting.
Three questions do most of the work. Is it reachable? Is it being exploited? How exposed is the system?
Signal 1: reachability
Reachability analysis asks whether there is a path from your application's entry points to the vulnerable function in a dependency. Static reachability builds a call graph through your code and its libraries and checks whether the specific vulnerable symbol, not just the package, is on a path.
In practice the analysis produces three outcomes:
- Reachable. There is a static path from an entry point, such as an HTTP handler or a message consumer, to the vulnerable function.
- Not reachable. The package is present but no static path reaches the vulnerable code.
- Unknown. The analysis could not decide, often because of reflection, dynamic imports, plugin loading, dependency injection by string name, or a language feature the analyzer does not model.
Be honest about the limits. Static analysis can miss paths created at run time, and "not reachable" in one service says nothing about a different service that loads the same library. Treat "not reachable" as a strong ranking signal, not a permanent waiver, and record any decision not to fix in a VEX statement (more below) so it can be audited and revisited.
Signal 2: is anyone exploiting it?
CISA's Known Exploited Vulnerabilities catalog lists CVEs with reliable evidence of active exploitation and a clear remediation action. An entry means attackers are already using it.
KEV is evidence after the fact. For the forward-looking view there is EPSS, the Exploit Prediction Scoring System maintained by FIRST. EPSS gives each CVE a daily probability that exploitation activity will be observed in the next 30 days, along with a percentile. It is a statistical model built on observed attack data, so it is good at ranking large populations and weaker on any single brand-new CVE.
Use the two together. A KEV entry means act now. A high EPSS score means the vulnerability may well end up in KEV soon.
Signal 3: exposure
The same vulnerable library is a different risk in a public API than in a batch job on an isolated network. Exposure covers questions such as:
- Is the service reachable from the internet, or from inside a private network?
- Does the vulnerable path require authentication?
- What data does the service touch?
- Are there compensating controls, such as a WAF rule or a feature flag that disables the code path?
Much of this already lives in your asset inventory or service catalog. The work is joining it to the vulnerability data.
Putting the signals together
Here is an illustrative tiering scheme. The thresholds are examples to adapt, not a standard.
| Tier | Condition | Target |
|---|---|---|
| Fix now | Reachable, and either in KEV or high EPSS, on an exposed service | Owner and fix this week, ideally a ready pull request today |
| Fix soon | Reachable and exposed, no exploitation evidence yet | Current sprint |
| Scheduled | Reachable, internal service, low EPSS | Normal dependency maintenance |
| Watch | Not reachable, or unknown with low EPSS | Record a VEX decision, re-check when signals change |
The interview's claim is that when teams combine these signals, the urgent list usually shrinks to a small fraction of the original backlog. How small depends heavily on the codebase, the languages involved and how much of the code is dead weight, so measure it on your own repositories during an evaluation rather than trusting anyone's headline number, including ours.
The part people skip is what happens next. A short list helps when each item has an owner, a date and, where possible, a fix already written. That is where remediation comes in.
In Safeguard, every vulnerability is enriched with EPSS and KEV status, static reachability analysis ranks the code paths your application actually calls, and policies and gates can enforce rules like the one above in CI and at release.
An AI-written fix is a pull request from a new engineer
The bigger change AI brings is on the fixing side. A ticket that says "upgrade this library" leaves the hard part, working out whether the upgrade breaks anything and changing the code that calls it, to an engineer who has other priorities. A model can do that middle part: write the patch, let CI run the tests, and open a pull request with the reasoning attached.
The obvious objection is trust. The interview's answer is the right standard: "We treat an AI-written fix exactly like a fix from a new engineer on the team."
A new engineer's pull request has to build, pass the existing tests, pass the team's policies and explain itself, and someone with context reviews it before merge. None of that relaxes because the author is a model. If anything the bar should be higher, because a model can produce many pull requests quickly and reviewers get tired.
The pipeline in detail
- Select. Take items from the "fix now" tier. One pull request per vulnerable package per repository is easier to review than one giant change.
- Propose. Choose the lowest fixed version that avoids a major version jump where possible. If code must change, because an API was removed or a SAST issue sits in your own code, generate the smallest change that resolves it.
- Build. A fix that does not build never reaches a human.
- Test. The customer's own CI runs the existing test suite, so the fix inherits the team's definition of "working", not the model's.
- Policy. License rules, banned packages, provenance requirements and any other gate the organization has set.
- Explain. The description states the CVE, the affected path, why this version or change, notable changelog items, test results and how to roll back.
- Review and merge. A human approves. Auto-merge, if used at all, is a separate, deliberate setting for low-risk classes.
Where automated fixes go wrong
Naming the failure modes is how you make the process safe:
- Major version jumps. The fixed release may sit in a new major version with API changes. A good fix adapts the calling code or flags that a manual migration is needed.
- Transitive conflicts. Several parents may pin incompatible ranges of the vulnerable package. Overrides fix this, but they belong in the diff with an explanation.
- Thin tests. If no test exercises the changed path, a green build proves little, and the pull request should say so.
- Behavior changes. Adding input validation to fix an injection issue can reject inputs legitimate clients send. Reviewers need the before and after spelled out.
What already exists, and what changes
Dependency update bots such as Dependabot and Renovate made version-bump pull requests a normal part of engineering life, and that habit is the foundation here. What an AI-assisted approach adds is selection by reachability, exploitation and exposure, and the code change when a version bump is not enough.
How Safeguard does it
At Safeguard, Griffin, our own security model, does this work. Fixes arrive as policy-gated pull requests with an explanation attached, your CI runs your tests on them, and an engineer reviews and merges. Remediation can run on a single repository or in bulk across projects, and each remediation category is configured separately. Auto-merge is a separate switch that stays off by default.
For organizations that cannot send source code to an external model, the platform also runs in Zero AI mode, with deterministic analysis and no LLM in the loop, or with a model you bring yourself.
Trust you can verify: signing, provenance and VEX
The interview lists trust as the third big open-source challenge: you need to know who built a package, from which source, and whether anyone tampered with it on the way. Provenance and signing, it notes, are still the exception rather than the rule. Here are the building blocks.
Signing
A signature binds an artifact's digest to an identity. Change one byte and verification fails. Signing usually uses a published public key or keyless signing tied to a CI identity. Verification has to check two things: that the signature is valid, and that the signer is the one you expect. A valid signature from an unexpected identity is a red flag, not a pass.
Provenance and SLSA
Provenance is a signed statement describing how an artifact was built: the source repository and commit, the build platform, the build steps and the inputs. The SLSA framework defines levels for its Build track. At Level 1, provenance exists. At Level 2, it is generated and signed by a hosted build platform. At Level 3, the platform is hardened so builds cannot influence each other or reach the signing material, which makes forged provenance much harder.
In the xz-utils case, the release artifact did not match its source. Provenance does not stop a determined maintainer from committing malicious code, but it makes "what was built, from what" a checkable fact and narrows where such a gap can hide.
A consumer-side check: verify the attestation signature and signer; confirm the artifact digest in the attestation matches what you downloaded; confirm the source repository and builder are the expected ones; and confirm the SBOM refers to this exact artifact, not a cousin of it.
VEX: saying "not affected" in a form machines can read
VEX, the Vulnerability Exploitability eXchange, lets a supplier or a team state whether a product is affected by a given vulnerability, with a reason. Formats include OpenVEX, CSAF and CycloneDX. The statuses are not_affected, affected, fixed and under_investigation. A not_affected statement needs a justification, such as vulnerable_code_not_present or vulnerable_code_not_in_execute_path.
{
"@context": "https://openvex.dev/ns/v0.2.0",
"@id": "https://example.com/vex/2026-12-05-001",
"author": "Platform Security",
"timestamp": "2026-12-05T09:00:00Z",
"version": 1,
"statements": [
{
"vulnerability": { "name": "CVE-2024-3094" },
"products": [ { "@id": "pkg:oci/payments-api@sha256:3f1c" } ],
"status": "not_affected",
"justification": "vulnerable_code_not_present",
"impact_statement": "Image is built on xz 5.4.x; affected versions 5.6.0 and 5.6.1 are absent."
}
]
}
VEX turns reachability results into something your customers' scanners can consume, so they stop asking about vulnerabilities that do not affect what you ship.
Safeguard supports attestation and signing with SLSA and in-toto, and accepts CSAF and VEX uploads alongside the SBOMs it generates.
When upstream cannot or will not ship the fix
The interview's other open-source challenge is dependence on maintainers. Everyone waits for an upstream release, and for older major versions or unmaintained packages it may never come. Teams need to patch, rebuild and sign a component without forking their whole stack. Here is how Safeguard closes those gaps.
Fix it without waiting for upstream
Whatever the vulnerability, most of the risk sits in two gaps. The first is the time between a fix being published and that fix actually running in your production builds. The second, and worse, is the time before any fix exists at all, while a maintainer works out a patch and a release schedule. Waiting through both gaps is a habit, not a requirement. Safeguard gives teams three ways to close them.
1. Autonomous remediation: pull requests, not tickets
When a fixed version exists, Griffin, Safeguard's security model, opens a policy gated pull request that moves the affected dependency to the safe version, and your own CI runs your tests on it before anyone merges. You can run it on one repository or in bulk across every project that carries the vulnerable version. Remediation categories include dependencies, licenses, security posture and code-level vulnerabilities, and each one is set separately. Reachability analysis ranks the vulnerable code paths your application actually calls first, so the first pull requests you merge are the ones that matter most. Auto-merge is a separate switch and stays off by default, so your team decides what merges on its own and what still needs a human approval.
2. Gold Open Source: the safe version in seconds, free
gold.safeguard.sh is free and needs no login. Search any CVE or package to see affected and fixed versions, CVSS, EPSS, CISA KEV status and a recommended safe version, or use the "Am I affected?" checker. The same data is available through a free read API, README status badges and RSS threat feeds.
3. Gold Registry: start from components that are already fixed
Safeguard Gold rebuilds patched versions of open-source packages and images from source, signs each build, attaches an SBOM, SLSA provenance and VEX, and serves them from registry.safeguard.sh to your organization. Every Gold artifact is held continuously to zero exploitable critical or high CVEs and a completed license check, with signed build provenance (signed with Safeguard's key and verifiable with cosign, SLSA Build Level 3 as the design target) and a public evidence page you can hand to an auditor. An artifact loses its Gold badge if it regresses. Teams can point their own package directory at the registry so hardened equivalents resolve without changing how developers install anything.
When upstream has no fix yet, or will not ship one, Safeguard first works to get the fix accepted upstream. If the issue is severe or upstream will not move, Safeguard builds a fork, fixes the vulnerability there and publishes a hardened Gold build, so you are not stuck on a maintainer's release schedule. You can also request a hardened build of a specific package. Ask which packages it covers before you plan around it.
| Your situation | What to use |
|---|---|
| A fixed version exists | Autonomous remediation opens the upgrade pull request; Gold Open Source confirms the safe version |
| You need to know today whether you are affected | Gold Open Source lookup and "Am I affected?" checker, free and without login |
| You want vulnerable versions to stop shipping | Safeguard policies and gates in CI |
| Upstream has no fix yet, or will not ship one | A custom Gold request; fork and patch |
| You want to start clean on new projects | Pull hardened components and images from Gold Registry |
One honest limit: when the vulnerable code lives in a vendor appliance, a hosted service or an operating system runtime you do not build yourself, the fix still has to come from that vendor or distribution. The steps above apply to the open source dependencies and container images you build and ship, which is where much of a typical team's exposure sits, often untracked.
Agents are identities, not features of a laptop
On coding agents, the warning in the interview was blunt: "The biggest risk is that an agent quietly becomes the most privileged user in the company."
In a normal session a coding agent reads source code, including configuration that may hold credentials. It runs shell commands, installs packages, calls external tools through MCP servers and may push branches. Each of those is a privileged action, taken at machine speed.
The threat model: prompt injection meets the supply chain
Agents act on text, and text can carry instructions. Prompt injection, listed as LLM01 in the OWASP Top 10 for LLM Applications, is the attack where content the agent reads, rather than the user, steers what it does. For a coding agent, that content can sit in a README, an issue comment, a code comment in a dependency, a web page it fetches for documentation, or the description of a tool exposed by an MCP server.
A plausible chain: an agent fixing a failing build searches the error message and lands on a page telling it to install a package. The name is a typosquat. The postinstall script runs with the agent's credentials, and the tokens in the environment leave the machine. No human typed anything wrong. The interview warns that an agent will do this fast, and speed is the real difference from a human making the same mistake.
Controls that work
The interview's prescription is to treat agents as identities with their own permissions. In concrete terms:
1. Give each agent its own identity and the least access it needs. Separate credentials per agent and per purpose, short-lived tokens rather than personal access tokens copied from a developer, repository scopes limited to the repositories in the task, and no production secrets in the agent's environment. An agent that fixes dependencies does not need deploy rights.
2. Log what the agent actually did. Record tool calls, shell commands, packages installed, files changed, network destinations and the prompts that led to each action. Ship them to your security telemetry. As the interview notes, agent activity is a new log source that most security teams are not collecting yet.
3. Vet the tools and MCP servers an agent connects to before trusting them. An MCP server is a supply chain component like any package. Check who publishes it, which tools it exposes, what permissions those tools need and whether the tool descriptions contain instructions aimed at the model. Pin versions, review tool list changes, and route agent tool traffic through a proxy you can inspect. The Model Context Protocol documentation covers the authorization model servers should follow.
4. Put a firewall in front of package installs. Agents install packages, and they do not hesitate over names. An install-time proxy that checks each requested package and blocks typosquatted and dependency-confusion packages before they land closes a direct path from a poisoned instruction to code execution. It protects people and CI runners too.
5. Keep a human on the merge. Agents can propose changes. Merges into protected branches, releases and infrastructure changes should still need a human approval, with the agent's activity log attached to the pull request.
Pointing installs at a proxy is a small configuration change. With Safeguard's Package Firewall, the documented setup starts the proxy from the Safeguard CLI on a developer machine, CI runner or agent sandbox, then points npm and pip at its ecosystem paths. Start in audit mode to measure the impact before you enforce.
# Local or CI proxy for npm and pip (modes: audit, quarantine)
safeguard pkgfw start --mode quarantine --port 8899
# .npmrc
registry=http://127.0.0.1:8899/npm/
# pip.conf
[global]
index-url = http://127.0.0.1:8899/pypi/simple/
How Safeguard handles it
Safeguard treats agent access as something to inventory and govern. Agent identity tracks which agent holds what access, and at what level. MCP Guardrail generates proxy URLs for MCP servers, so agent tool traffic passes through a governed path. Package Firewall sits in front of npm and pip installs and blocks typosquatted and dependency-confusion packages before they install. Safeguard also scans AI assets, including models, skills and agent configurations, so agents sit in the same inventory as your code and containers.
The speed gap
Asked what organizations underestimate, the interview's answer was the speed gap. The time between a vulnerability becoming public and attackers using it keeps shrinking, sometimes to days or hours. The time most organizations take to patch is still measured in weeks or months. And AI makes the attacker side faster again.
The mechanics are simple. A published fix is a map: the diff between patched and unpatched versions shows where the flaw was, and AI tools now help turn that diff into a working exploit. Meanwhile the defender's process runs through a queue: triage, ticket, meeting, sprint, change window, deploy.
Your exposure window is the gap between those two clocks, and you control one of them. So the useful questions are about your own process:
- How long from a KEV listing to a merged fix, for a reachable vulnerability on an exposed service? Measure the median and the worst case, per tier.
- What share of "fix now" items arrive with a pull request already written? Every one that does skips the slowest step.
- What share of automated fix pull requests merge without rework? That measures whether reviewers trust the fixes.
- Do dependency fixes need a full change approval? A dependency bump that passes tests and policy is a good candidate for a standard change class.
None of these needs a new tool to start measuring. All of them get better when the fix exists before the meeting about it.
AI-written code is now part of the supply chain
The interview's second underestimated trend is how much code is now written and changed by AI agents. That code pulls in dependencies and ships like everything else, often with less review, because it arrives quickly and looks plausible.
Two practical consequences follow. Dependencies an agent adds deserve the same scrutiny as dependencies a person adds, which means lockfiles, install-time checks and a reviewer who reads the manifest diff. And code an agent writes should go through the same SAST, SCA and policy gates as human code, with no fast lane because a machine wrote it. Organizations that leave agents and their dependencies outside the security perimeter are building a blind spot into their delivery process.
What comes next
The interview's prediction is that the question will no longer be how many vulnerabilities a tool surfaced, but how many it closed and how fast. AI is what makes that possible at the scale of modern software, as long as it comes with the right controls: human approval, changes your CI has run its tests on, and a full audit trail.
For Safeguard, the focus is on going deeper into that loop:
- More of our own security models, alongside Zero AI mode and bring-your-own-model for teams that need them.
- Broader coverage across code, containers and AI agents, so one loop covers a library, a base image or an agent's tool configuration.
- A stronger Gold catalog of open-source packages and images rebuilt from source and signed.
- Partners around the world who deliver Safeguard to their own customers.
The goal behind all of it is simple to state and hard to do: when a vulnerability lands, the fix should already be waiting.
A practical checklist
Most of these need no new tools.
Inventory
- SBOM (CycloneDX or SPDX) for every build, with purls, hashes and the full dependency graph, stored per release and searchable.
- Internet-facing services recorded and joined to vulnerability data.
Install time
- Lockfiles committed; CI installs from them; lifecycle scripts off unless needed.
- Internal scopes bound to your private registry; one controlled index for Python.
- An install-time proxy in front of npm and pip for developers, CI and agents.
- A short wait before adopting brand-new releases.
Pipeline
- CI actions pinned by commit SHA.
- Signed provenance for your own releases, aiming at SLSA Build Level 3; signatures and signers verified on what you consume.
Prioritization and remediation
- Tiers by reachability, KEV, EPSS and exposure, not CVSS alone; every urgent item has an owner and a date.
- "Not affected" decisions recorded as VEX with justifications.
- Fixes delivered as pull requests, held to the new-engineer standard; auto-merge off or narrowly scoped.
- A path for components upstream will not fix: patch, rebuild, sign.
Agents
- One identity per agent, short-lived credentials, least privilege.
- Agent tool calls, commands, installs and network destinations logged to security telemetry.
- MCP servers vetted, pinned and proxied; human approval for merges and releases.
Measurement
- Median time from KEV listing to merged fix; share of urgent items with a fix pull request ready; merge rate of automated fixes.
Getting started with Safeguard
To try this on your own code, here is a sensible order.
- Look something up, free. Search a package or CVE on Gold Open Source to see affected and fixed versions, EPSS and KEV status. No login needed.
- Connect a repository. Sign up at safeguard.sh and connect a repository from GitHub, GitLab or Bitbucket. See safeguard.sh/pricing for current plans, including the free plan.
- Read the prioritized list. Review the SBOM, then the vulnerabilities with reachability, EPSS and KEV enrichment. Compare the urgent tier with your raw backlog; that is the number to measure for yourself.
- Set policies and gates. Encode your tiering rules so a release with an unresolved "fix now" item is held in CI.
- Turn on remediation per category. Start with dependencies on one repository. Read the pull requests Griffin opens, let your CI run, and merge the good ones. Leave auto-merge off until you trust the results.
- Protect installs. Put Package Firewall in front of npm and pip for developer machines, CI runners and agent sandboxes.
- Bring your assistant. Connect Claude, ChatGPT, Cursor or another MCP-capable assistant through the Safeguard MCP server; Safeguard is listed in the Claude connector directory.
- Choose your model and deployment. Run with Safeguard's models, in Zero AI mode or with your own model, and deploy as SaaS, in your own cloud or VPC, or on premises.
The Safeguard documentation covers each step in detail.
Closing thought
The Cybernews conversation kept returning to one idea: finding a vulnerability is the start of the work, not the result. Reachability and exploitation data tell you what matters, a well-reviewed pull request turns it into a change, and signed, rebuilt components remove the wait for upstream. Agents, the newest users of your supply chain, need the same identity, logging and install controls as everyone else.
You can read the full Cybernews interview with Hritik Kumar Sharma here.
Sources
- Cybernews, "Hritik Kumar Sharma, Safeguard: Security will move from detection to remediation as the default outcome", 4 December 2026: https://cybernews.com/security/hritik-kumar-sharma-safeguard-security-will-move-from-detection-to-remediation-as-the-default-outcome/
- npm blog, "crossenv malware on the npm registry", 2 August 2017: https://blog.npmjs.org/post/163723642530/crossenv-malware-on-the-npm-registry.html
- GitHub Advisory Database, GHSA-pjwm-rvh2-c87w (ua-parser-js): https://github.com/advisories/GHSA-pjwm-rvh2-c87w
- CISA, "Malware Discovered in Popular NPM Package, ua-parser-js", 22 October 2021: https://www.cisa.gov/news-events/alerts/2021/10/22/malware-discovered-popular-npm-package-ua-parser-js
- event-stream issue #116: https://github.com/dominictarr/event-stream/issues/116
- SolarWinds Corporation, Form 8-K, 14 December 2020: https://www.sec.gov/Archives/edgar/data/1739942/000162828020017451/swi-20201214.htm
- NVD, CVE-2024-3094 (xz-utils): https://nvd.nist.gov/vuln/detail/CVE-2024-3094
- Andres Freund, oss-security list, 29 March 2024: https://www.openwall.com/lists/oss-security/2024/03/29/4
- NVD, CVE-2025-30066 (tj-actions/changed-files): https://nvd.nist.gov/vuln/detail/CVE-2025-30066
- Alex Birsan, "Dependency Confusion", February 2021: https://medium.com/@alex.birsan/dependency-confusion-4a5d60fec610
- Microsoft, NuGet package source mapping: https://learn.microsoft.com/en-us/nuget/consume-packages/package-source-mapping
- CISA, Known Exploited Vulnerabilities catalog: https://www.cisa.gov/known-exploited-vulnerabilities-catalog
- FIRST, Exploit Prediction Scoring System: https://www.first.org/epss/
- SLSA specification v1.0, security levels: https://slsa.dev/spec/v1.0/levels
- OpenVEX specification: https://github.com/openvex/spec
- CycloneDX: https://cyclonedx.org/
- SPDX: https://spdx.dev/
- OWASP Top 10 for LLM Applications, LLM01 Prompt Injection: https://genai.owasp.org/llmrisk/llm01-prompt-injection/
- Model Context Protocol: https://modelcontextprotocol.io/
- GitHub Dependabot documentation: https://docs.github.com/en/code-security/dependabot
- Renovate documentation: https://docs.renovatebot.com/
- Safeguard documentation, Package Firewall: https://docs.safeguard.sh/docs/package-firewall