npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@blekline/nhim-audit

v0.2.2

Published

Static Kubernetes audit for agent candidate workloads that may bypass MCP/runtime enforcement hops

Readme

@blekline/nhim-audit

Kubernetes agent execution path audit — does this cluster enforce a mandatory hop for agent candidate workloads?

Agents moved from IDE plugins to cluster workloads. NetworkPolicy and CASB do not answer: can this pod reach tools or LLMs without an enforcement sidecar or mesh hop?

Default profile is vendor-neutral (--profile generic). Blekline is a reference implementation (--profile blekline).

# Namespaced RBAC first (recommended for F500 eval namespaces)
kubectl apply -f deploy/rbac/nhim-audit-reader-namespaced.yaml -n nhim-eval
kubectl apply -f deploy/rbac/nhim-audit-reader-cluster.yaml

npx @blekline/nhim-audit audit --profile generic

Quick start

npx @blekline/nhim-audit demo broken          # terminal demo
npx @blekline/nhim-audit audit --fixture broken --json
npx @blekline/nhim-audit audit --profile blekline --fixture fixed-blekline --brand

Profiles

| Profile | Use | |---------|-----| | generic (default) | Vendor-neutral NHIM-001..019 — Istio/Linkerd/generic sidecar patterns | | blekline | Adds BLEK-001..005 (Helm, Blekline webhook, Auto-Route, image pin) |

Org overrides: --config nhim-audit.example.json (sidecar names, NP patterns, allowlists).

Rule catalog (generic)

| ID | Severity | Check | |----|----------|-------| | NHIM-001 | CRITICAL | No enforcement sidecar or inject annotation | | NHIM-002 | CRITICAL | No mandatory-hop egress NetworkPolicy | | NHIM-003 | HIGH | Mutating admission for injection not detected | | NHIM-004 | HIGH | Enforcement webhook fail-open (failurePolicy: Ignore) | | NHIM-005 | HIGH | Enforcement plane externally exposed | | NHIM-006 | MEDIUM | LLM credentials without enforcement hop path | | NHIM-007 | MEDIUM | Enforcement auth secret missing | | NHIM-008 | MEDIUM | Policy engine not detected (Gatekeeper/Kyverno/VAP) | | NHIM-011 | MEDIUM | Default-allow egress across agent namespaces | | NHIM-013 | MEDIUM | No agent candidates discovered | | NHIM-014 | CRITICAL | Wide HTTPS egress (0.0.0.0/0:443 bypass) | | NHIM-015 | MEDIUM | Inject enabled but auto-route disabled | | NHIM-016 | MEDIUM | LLM config via envFrom only | | NHIM-017 | MEDIUM | Sidecar present but LLM upstream path env missing | | NHIM-018 | HIGH | iptables auto-route without injected sidecar | | NHIM-019 | CRITICAL | Agent candidate uses hostNetwork (NP bypass) | | NHIM-023 | INFO | Istio/mesh detected — K8s NP hop not verified |

Blekline-only: BLEK-001..005 under --profile blekline.

Full reference: app.blekline.com/docs/tools/nhim-audit

JSON schema 2.0

{
  "schemaVersion": "2.0",
  "profile": "generic",
  "assurance": {
    "notCertification": true,
    "staticOnly": true,
    "probeExecuted": false,
    "limitations": ["..."]
  },
  "score": {
    "value": 82,
    "band": "PARTIAL",
    "staticGateStatus": "unknown"
  }
}

Evidence enablement only — not OWASP, AIUC-1, EU AI Act, or pentest certification.

Generic profile never emits staticGateStatus: "pass" without --probe.

RBAC

| Manifest | Scope | |----------|-------| | deploy/rbac/nhim-audit-reader-namespaced.yaml | Role in eval namespace(s) | | deploy/rbac/nhim-audit-reader-cluster.yaml | ClusterRole: namespaces + webhooks only | | deploy/rbac/nhim-audit-probe-namespaced.yaml | Role: pods/exec in eval namespace |

See docs/RBAC.md.

Probe mode

Issue token in Deployment hub after uploading nhim-audit JSON (self-serve eval), or use a welcome-pack token for paid sandbox partners.

BLEKLINE_EVAL_ONLINE=1 \
NHIM_PROBE_TOKEN=blw_eval_… nhim-audit audit \
  --probe \
  --probe-allow-namespaces nhim-eval \
  --profile generic

When online validation succeeds, reports include assurance.probeTokenValidatedOnline: true.

BLEKLINE_EVAL_TOKEN accepted for compatibility. --probe-allow-namespaces is required with --probe.

CI

- uses: Blekline/blekline-oss/ci/github-actions/nhim-audit@main
  with:
    kubeconfig: ${{ secrets.KUBECONFIG }}
    profile: generic
    fail-on: high
    min-score: "75"

Docs

License

AGPL-3.0-or-later