vibeqm-check 0.4.9 → 0.4.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -145,7 +145,7 @@ that caused it. The report appears on the run's summary page.
145
145
  ```yaml
146
146
  - uses: actions/checkout@v4
147
147
  with: { fetch-depth: 0 } # the checks sample history
148
- - uses: vibeqm/vibeqm-check@v0.4.9
148
+ - uses: vibeqm/vibeqm-check@v0.4.10
149
149
  with: { min-level: 2 } # optional: fail the run below this level
150
150
  ```
151
151
 
@@ -444,7 +444,9 @@ export function devApartFromProd(root) {
444
444
  return r(2, gate, shownEnvs.length && confirm.length ? "met" : "not-met", ev);
445
445
  }
446
446
  // The dashes are counted ({5}) so this file does not hold a key header and flag itself.
447
- const SECRET = /-{5}BEGIN (RSA |EC |OPENSSH |)PRIVATE KEY-{5}|AKIA[0-9A-Z]{16}|ghp_[A-Za-z0-9]{36}|sk-[A-Za-z0-9_-]{32,}|xox[baprs]-[A-Za-z0-9-]{10,}/;
447
+ // A key prefix must start a token: "risk-what-government-contractors-need-to-know" in a URL
448
+ // is not an sk- key. The key shapes themselves stay as broad as before.
449
+ const SECRET = /-{5}BEGIN (RSA |EC |OPENSSH |)PRIVATE KEY-{5}|(?<![A-Za-z0-9_-])(?:AKIA[0-9A-Z]{16}|ghp_[A-Za-z0-9]{36}|sk-[A-Za-z0-9_-]{32,}|xox[baprs]-[A-Za-z0-9-]{10,})/;
448
450
  const LOCKS = {
449
451
  "package.json": ["package-lock.json", "yarn.lock", "pnpm-lock.yaml", "bun.lockb", "bun.lock"],
450
452
  "pyproject.toml": ["poetry.lock", "uv.lock", "pdm.lock", "requirements.txt"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vibeqm-check",
3
- "version": "0.4.9",
3
+ "version": "0.4.10",
4
4
  "description": "Self-assessment for the Vibe Quality Model (VibeQM): fact checks on a repository, with evidence for every gate",
5
5
  "keywords": [
6
6
  "vibe-quality-model",