Skip to content

v0.7.0

Choose a tag to compare

@sunilmehta-si sunilmehta-si released this 28 Oct 18:12
· 85 commits to main since this release

v0.7.0

Lock files are now reviewed, and so are HTTP calls with no timeout, the checkout token shipped in a workflow
artifact, and RBAC escalation paths short of *; 118 rules in all. The lock-file and Go key rules come from real
failures this month: a CA bundle that kept trusting a compromised root, and a timing side channel in a Go key check
that a maintainer caught in review. The timeout rules came out of reading LLM-serving clients' HTTP code, the artifact
rule out of Unit 42's token-leak research, and the RBAC rule out of the Kubernetes RBAC good-practices page. Each new
rule was run over real repositories before it shipped, and the counts are below.

Added

  • A lockfile file kind: uv.lock, poetry.lock, Pipfile.lock, pdm.lock, package-lock.json,
    npm-shrinkwrap.json, and pip requirements*.txt and constraints*.txt.
  • ACR-DEP-001 (high): certifi pinned before 2026.10.18, which still trusts emSign ECC Root CA - G3, whose
    intermediates' keys were compromised (GHSA-6q48-6c7w-9gw2), in any of those formats. On KServe it found two test-resource locks a manual sweep had missed.
  • ACR-DEP-002 (high): packages fetched over plain HTTP, or --trusted-host, in a lock or pip file.
  • ACR-DEP-003: --extra-index-url in a pip file, which lets a public package that takes an internal name win.
  • ACR-DEP-004 (low): an npm lock entry installed from git or a GitHub tarball, which has no integrity hash.
  • ACR-APP-019: Go code that compares, measures or sets an ECDSA private key's D with big.Int, with
    PrivateKey.Bytes and ParseRawPrivateKey as the fix.
  • ACR-APP-020 (low): Go HTTP requests with no timeout: http.Get and friends, and the default or a bare client in
    files that never give a request a context or deadline. On llm-d's simulator it found a dataset download with none.
  • ACR-APP-021 (low): Python requests and urlopen calls without timeout=, skipping docstring examples, other
    objects' urlopen methods and tests. Ten hits across MLflow and KServe, all real calls.
  • ACR-GHA-017 (high): a checkout that keeps its credentials followed by an artifact of the workspace with hidden
    files, which carries the job's token in .git/config (Unit 42's ArtiPACKED). No false positives in 249 workflows
    from Argo CD, MLflow, KServe, Kubeflow and others.
  • ACR-K8S-020: RBAC escalation paths short of *, from the Kubernetes good-practices page. escalate, bind,
    impersonate, nodes/proxy, minting service-account tokens and approving CSRs are high; cluster-wide Secret reads
    and admission-webhook writes, which operators such as KServe, Argo CD and Istio hold routinely, are medium. Over
    the RBAC in KServe, Argo CD, KAI, Kubeflow Pipelines and llm-d it found 77 grants, 73 of them those two kinds.

Changed

  • The README's rule table names the dependency area, and its rule count is tested against the registry.