@mark1russell7/conventions 0.43.0 → 0.44.0
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
|
@@ -77,7 +77,7 @@ The rules come from the invariants audit of 2026-10-26 (strategy item s38). The
|
|
|
77
77
|
| `license-file` | Each public package has a license field, and a license file with the same license in its own folder. A public repository, or a repository with a public package, has a license file at its root. In a GitHub Actions run, the event file tells if the repository is public, and the option `license` (MIT by default) is the license of a root with no public package. npm packs only the license file of the folder of the package, and GitHub reads only the one of the root: on 2026-11-02 five public repositories showed no license on GitHub while npm said MIT. `conventions fix` writes the missing files. | private strategy (2026-11-02). |
|
|
78
78
|
| `coverage-provider` | When a workflow calls the shared CI and the CI starts the action `coverage`, each package whose test script starts Vitest has `@vitest/coverage-v8`. The provider has the range of `vitest`. The package or the root can hold both. On `main` of a public repository, the action skips a package with no provider, so the artifact `coverage` has no report of it. On 2026-11-09, 15 of 43 public repositories had no provider. `conventions fix` adds it at the range of `vitest`. A caller with `coverage-on-main: false` does not break. The rule fails from 2026-11-25. | template `packages/cli` (`package add`), ireko `packages/ireko/package.json`, codeatlas `packages/*/package.json`. |
|
|
79
79
|
| `pack-no-buildinfo` | npm does not pack the build info file of tsc. The rule finds the file of each tsconfig of a public package after its `extends` chain. When `incremental` and `composite` are off, tsc writes no file. When an entry of `files` takes the file and no `!<path>` removes it, the rule breaks. A package with no field `files` packs each file, so it breaks too. The file changes on each build, and the release stops when the files of an unchanged version differ from npm. On 2026-11-09 this made the main of splay-react red. `conventions fix` adds the negation after its entry. A changed list of packed files needs a PATCH version. The rule fails from 2026-11-25. | splay-react `package.json` (1.0.2), splay `package.json`, cue `npm/package/ts.cue` (2.1.3). |
|
|
80
|
-
| `publish-text-safe` | The text that npm puts in the publish document of a public package has no line in the shape of an attack. This text is each README file of the package folder,
|
|
80
|
+
| `publish-text-safe` | The text that npm puts in the publish document of a public package has no line in the shape of an attack. This text is each README file of the package folder, and each key and each string of `package.json`: npm puts the whole manifest in the document, with `publishConfig`. A break in the manifest names the path of the string, for example `scripts.build` or `repository.url`. The shapes are in the list `ATTACK_SHAPES` of `src/rules/publish-text-safe.ts`, and the field `seen` of each shape gives the evidence of a refusal. On 2026-11-15 the registry refused each publish of `@mark1russell7/text` 0.0.7 for the shape `sql-boolean` (E403), and the error did not name the cause. The other three shapes follow the SQL rules of the OWASP Core Rule Set, and no refusal of them is on record. They are breaks too: a false break costs one reword, and a miss costs an E403 with no cause. A script tag is not a shape of the rule: the README of `@mark1russell7/site-pages` 0.5.4 has one, and its publish passed. The text also has no token of a known service. The shapes of the tokens are `SECRET_SHAPES` of `@mark1russell7/text/redact`, and a break names the line and the shape, not the token. The registry shows the text to each reader, and its mirrors keep each version. The walk of the manifest is `findSecretShapesInValue` of the same module. The rule fails from its release day. | text `packages/text/README.md` (0.0.7, pull request 32), text `packages/text/src/redact.ts` (`SECRET_SHAPES`, `findSecretShapesInValue`, 0.0.8), private strategy (2026-11-16). |
|
|
81
81
|
| `exports-require` | Each entry of the published `exports` of a public package (`publishConfig.exports`, else `exports`) that resolves for `import` also resolves for `require`. The rule resolves each entry as Node does, with the conditions `import`, `node`, `default` and then `require`, `node`, `default`. An entry with only `types` and `import` stops `require()` with ERR_PACKAGE_PATH_NOT_EXPORTED, also on Node 22 and 24. `conventions fix` adds `"default"` with the target of `"import"` as the last member of the object. A target null for `require` is accepted. The rule warns until 2026-11-27. | rigor `package.json` (publishConfig.exports, rigor#196). packing, highways, layout-contract and vex give a `default` target in each published entry. |
|
|
82
82
|
| `home-module` | A change does not add a value import of a module that only a home of the map imports, for example `node:sqlite` out of `@mark1russell7/sqlite`. The field `modules` of a home gives these modules. The rule finds `import` and `export` with `from`, a bare `import`, `import()`, `require()` and `getBuiltinModule()`. An `import type`, an `export type`, `typeof import()` and `import().Name` do not break. A copy of the code of a home drifts from the home: on 2026-11-15 codeatlas and client opened `node:sqlite` with their own pragmas and transactions. The rule examines only the lines that the change adds. A real exception goes in `ignore` with a reason. The rule fails from 2026-11-30. | private strategy (2026-11-15). |
|
|
83
83
|
| `home-package` | A change does not add a function with a signature name of another home of the map (for example `median`, `mulberry32` or `writeFileAtomic`). A local copy drifts from the home and splits the fixes. On 2026-11-02 the repositories had 68 local statistics functions in 14 repositories. The rule examines only the lines that the change adds, so the copies that exist do not break. | private direction 18 (STRATEGY.md, 2026-11-02). |
|
package/build/cli.js
CHANGED
package/build/index.d.ts
CHANGED
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* ```
|
|
14
14
|
*/
|
|
15
15
|
import { a as workspaceGlobs, n as globToRegExp, r as packageFolders, t as globFolders } from "./workspace-BMtl0EQf.js";
|
|
16
|
+
import "@mark1russell7/text/redact";
|
|
16
17
|
/** A row of the invariants audit that a rule comes from: the repository, the id of the rule in that audit, and the document line. */
|
|
17
18
|
interface AuditSource {
|
|
18
19
|
readonly repo: string;
|
package/build/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/rule.ts","../src/config.ts","../src/rules/cue-preset.ts","../src/rules/gate-after-cancel.ts","../src/rules/gate-trigger.ts","../src/rules/security-one-job.ts","../src/rules/setup-cue.ts","../src/rules/shared-ci.ts","../src/rules/service-run-main.ts","../src/map.ts","../src/rules/home-module.ts","../src/rules/home-package.ts","../src/rules/license-file.ts","../src/rules/coverage-provider.ts","../src/rules/main-check.ts","../src/rules/no-build-output.ts","../src/private-names.ts","../src/rules/no-local-paths.ts","../src/rules/pack-no-buildinfo.ts","../src/rules/publish-text-safe.ts","../src/rules/exports-require.ts","../src/rules/api-report-script.ts","../src/rules/pages-after-release.ts","../src/rules/pages-site.ts","../src/rules/site-check-in-ci.ts","../src/rules/pinned-git-deps.ts","../src/rules/pipe-fails.ts","../src/rules/push-main-only.ts","../src/rules/unreleased-change.ts","../src/rules/published-minor.ts","../src/rules/release-files.ts","../src/rules/required-scripts.ts","../src/rules/roadmap-parses.ts","../src/rules/runner-budget.ts","../src/rules/shared-docs.ts","../src/rules/source-main.ts","../src/rules/tests-required.ts","../src/rules/tsconfig-test.ts","../src/rules/typed-files.ts","../src/rules/typed-scripts.ts","../src/rules/trust-policy.ts","../src/rules/version-title.ts","../src/rules/workflow-parses.ts","../src/rules/workspace-protocol.ts","../src/rules/index.ts","../src/run.ts","../src/pre-push.ts","../src/home-exports.ts","../src/workflow.ts","../src/release-text.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/rule.ts","../src/config.ts","../src/rules/cue-preset.ts","../src/rules/gate-after-cancel.ts","../src/rules/gate-trigger.ts","../src/rules/security-one-job.ts","../src/rules/setup-cue.ts","../src/rules/shared-ci.ts","../src/rules/service-run-main.ts","../src/map.ts","../src/rules/home-module.ts","../src/rules/home-package.ts","../src/rules/license-file.ts","../src/rules/coverage-provider.ts","../src/rules/main-check.ts","../src/rules/no-build-output.ts","../src/private-names.ts","../src/rules/no-local-paths.ts","../src/rules/pack-no-buildinfo.ts","../src/rules/publish-text-safe.ts","../src/rules/exports-require.ts","../src/rules/api-report-script.ts","../src/rules/pages-after-release.ts","../src/rules/pages-site.ts","../src/rules/site-check-in-ci.ts","../src/rules/pinned-git-deps.ts","../src/rules/pipe-fails.ts","../src/rules/push-main-only.ts","../src/rules/unreleased-change.ts","../src/rules/published-minor.ts","../src/rules/release-files.ts","../src/rules/required-scripts.ts","../src/rules/roadmap-parses.ts","../src/rules/runner-budget.ts","../src/rules/shared-docs.ts","../src/rules/source-main.ts","../src/rules/tests-required.ts","../src/rules/tsconfig-test.ts","../src/rules/typed-files.ts","../src/rules/typed-scripts.ts","../src/rules/trust-policy.ts","../src/rules/version-title.ts","../src/rules/workflow-parses.ts","../src/rules/workspace-protocol.ts","../src/rules/index.ts","../src/run.ts","../src/pre-push.ts","../src/home-exports.ts","../src/workflow.ts","../src/release-text.ts"],"mappings":";;;;;;;;;;;;;;;;;UASiB;WACN;WACA;WACA;;;UAIM;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;UA4DjC;;WAEN;;WAEA;;WAEA,QAAQ;;;;;;;wBAWH,OAAO,SAAS,eAAe;;wBAyC/B,aAAa,QAAQ;;wBA0BrB,gBAAgB,QAAQ;;;;;wBAyBxB,YAAY,QAAQ;;wBAYpB,UAAU,QAAQ,+BAA+B,iBAAgB;;UAkBhE;WACN;WACA,KAAK,SAAS;WACd,SAAS;WACT,SAAS;;WAET;;;qBAIE;;wBAoEG,OAAO,yBAAyB,IAAI;;qBC5VvC;;UAGI;;WAEN;;;;;WAKA;;WAEA;WACA,KAAK,SAAS;;WAEd;;WAEA,MAAM;;WAEN,YAAY;;;;;;;wBAqMP,QAAQ,SAAS,gBAAgB,IAAI,KAAK;;qBA2E7C;;;;;;;;qBAgCA;;UAgBI;;WAEN;WACA,KAAK,SAAS;;WAEd,MAAM;;;;;;;wBAWD,YAAY,SAAS,aAAa,IAAI,KAAK;;qBCzX9C,cAAc,SAAS;WAA0B;WAA0B;;UC6EvE;WACN;WACA;WACA;;WAEA;WACA;;;UAIM;;WAEN;;WAEA;;WAEA;;;UAIM;WACN;WACA;WACA;WACA,gBAAgB;;;UAIV;;WAEN;;WAEA;;WAEA;;WAEA;WACA,iBAAiB;WACjB,eAAe;;;wBAgGV,aAAa,cAAc,eAAe;;;;;;;wBAmD1C,WAAW,cAAc,eAAe;;;;;;;;qBChQ3C;;wBAGG,QAAQ,cAAc,iBAAiB;;;;;;;;wBAavC,iBAAiB,kBAAkB,iBAAiB;;wBA+BpD,OAAO,cAAc;;;;;wBAQrB,aAAa,cAAc,iBAAiB"}
|
package/build/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as unreleasedChangeRule, $n as runGit, $t as homePackage, A as typedFiles, An as withOneJob, At as isCommonUse, B as roadmapParses, Bn as cuePreset, Bt as coverageProvider, C as versionTitle, Cn as sharedCi, Ct as privateNamesFile, D as typedScripts, Dn as SECURITY_TIMEOUT_MINUTES, Dt as PrivateNameListError, E as trustPolicy, En as SECURITY_SCAN_INPUTS, Et as PRIVATE_NAME_LIST, F as HOME_TIMEOUT_MS, Fn as summaryName, Ft as pathNameHit, G as publishedMinor, Gn as hasFile, Gt as licenseFileOf, H as releaseFiles, Hn as RULE_WARN_DAYS, Ht as LICENSE_TEXTS, I as blockHash, In as gateAfterCancel, It as noBuildOutput, J as NPM_REGISTRY, Jn as lineOf, Jt as homeModule, K as publishedMinorRule, Kn as inFolder, Kt as mitText, L as githubFetch, Ln as readAction, Lt as REAL_COMPARE, M as isSourcePath, Mn as convertGate, Mt as lineNameHits, N as pathsOf, Nn as gateTrigger, Nt as nameMatches, O as configsOfScript, On as securityCallers, Ot as firstNameMatch, P as sourceMain, Pn as prPathFilters, Pt as parsePrivateNames, Q as unreleasedChange, Qn as replaceLine, Qt as declaredName, R as sharedDocsRule, Rn as readWorkflow, Rt as hasImportMetaMain, S as setVersions, Sn as callsSharedCi, St as noLocalPaths, T as TRAIN_SCOPES, Tn as SECURITY_SCAN_COMMIT, Tt as privateTextBreaks, U as lockedVersions, Un as cleanPath, Ut as authorOf, V as requiredScripts, Vn as DEPENDENCY_FIELDS, Vt as apiReportScript, W as minorOf, Wn as codePackages, Wt as licenseFile, X as UNSHIPPED_FILES, Xn as parseJsonc, Xt as moduleUses, Y as SHIPPED_FIELDS, Yn as matchesAny, Yt as moduleMessage, Z as npmLookup, Zn as readJsonc, Zt as modulesOf, _ as workspaceProtocol, _n as hasTests, _t as HOME_PATTERNS, a as listRules, an as HOMES, at as pagesAfterRelease, b as yamlFaults, bn as SHARED_CI, bt as PRIVATE_PATTERNS_VARIABLE, c as runCli, cn as mapMarkdown, ct as scheduleMinute, d as HOOK_MARKER, dn as npmDrift, dt as pagesCalls, en as messageOf, er as specifiersOf, et as pipeFails, f as NO_READ_LINE, fn as npmNames, ft as pagesSite, g as RULES, gn as serviceRunMain, gt as DEFAULT_ALLOWED, h as prePush, hn as runCalls, ht as packNoBuildinfo, i as formatResult, in as HOME_EXPORTS, it as siteCheckInCi, j as testsRequired, jn as ACTIONS_COMMIT, jt as lineNameHit, k as scriptsOf, kn as securityOneJob, kt as isAllowedHit, l as runFix, ln as mapText, lt as pushMainOnly, m as installHook, mn as SERVICE_PACKAGE, mt as publishTextSafe, n as annotations, nn as reposOf, nr as parseConfig, nt as isPinned, o as readConfig, on as MAP_RULE, ot as repositoryOfRemote, p as PRE_PUSH_HOOK, pn as readOverlay, pt as exportsRequire, q as reachOf, qn as keyLine, qt as repositoryIsPublic, r as createContext, rn as signaturesOf, rt as pinnedGitDeps, s as runChecks, sn as findHomes, st as runnerBudget, t as USAGE, tn as repoOf, tr as defaultOptions, tt as isGitSpecifier, u as summaryMarkdown, un as mergeHomes, ut as PAGES_WORKFLOWS, v as GITHUB_YAML, vn as tsconfigTest, vt as PRIVATE_NAMES_FILE_CONFIG, w as IGNORE_AFTER, wn as setupCue, wt as privatePatterns, x as namedVersions, xn as SHARED_WORKFLOWS, xt as invalidPatternBreaks, y as workflowParses, yn as SHARED_ACTIONS, yt as PRIVATE_NAMES_FILE_VARIABLE, z as roadmapOfLine, zn as STRICT_OPTIONS, zt as mainCheck } from "./run-
|
|
1
|
+
import { $ as unreleasedChangeRule, $n as runGit, $t as homePackage, A as typedFiles, An as withOneJob, At as isCommonUse, B as roadmapParses, Bn as cuePreset, Bt as coverageProvider, C as versionTitle, Cn as sharedCi, Ct as privateNamesFile, D as typedScripts, Dn as SECURITY_TIMEOUT_MINUTES, Dt as PrivateNameListError, E as trustPolicy, En as SECURITY_SCAN_INPUTS, Et as PRIVATE_NAME_LIST, F as HOME_TIMEOUT_MS, Fn as summaryName, Ft as pathNameHit, G as publishedMinor, Gn as hasFile, Gt as licenseFileOf, H as releaseFiles, Hn as RULE_WARN_DAYS, Ht as LICENSE_TEXTS, I as blockHash, In as gateAfterCancel, It as noBuildOutput, J as NPM_REGISTRY, Jn as lineOf, Jt as homeModule, K as publishedMinorRule, Kn as inFolder, Kt as mitText, L as githubFetch, Ln as readAction, Lt as REAL_COMPARE, M as isSourcePath, Mn as convertGate, Mt as lineNameHits, N as pathsOf, Nn as gateTrigger, Nt as nameMatches, O as configsOfScript, On as securityCallers, Ot as firstNameMatch, P as sourceMain, Pn as prPathFilters, Pt as parsePrivateNames, Q as unreleasedChange, Qn as replaceLine, Qt as declaredName, R as sharedDocsRule, Rn as readWorkflow, Rt as hasImportMetaMain, S as setVersions, Sn as callsSharedCi, St as noLocalPaths, T as TRAIN_SCOPES, Tn as SECURITY_SCAN_COMMIT, Tt as privateTextBreaks, U as lockedVersions, Un as cleanPath, Ut as authorOf, V as requiredScripts, Vn as DEPENDENCY_FIELDS, Vt as apiReportScript, W as minorOf, Wn as codePackages, Wt as licenseFile, X as UNSHIPPED_FILES, Xn as parseJsonc, Xt as moduleUses, Y as SHIPPED_FIELDS, Yn as matchesAny, Yt as moduleMessage, Z as npmLookup, Zn as readJsonc, Zt as modulesOf, _ as workspaceProtocol, _n as hasTests, _t as HOME_PATTERNS, a as listRules, an as HOMES, at as pagesAfterRelease, b as yamlFaults, bn as SHARED_CI, bt as PRIVATE_PATTERNS_VARIABLE, c as runCli, cn as mapMarkdown, ct as scheduleMinute, d as HOOK_MARKER, dn as npmDrift, dt as pagesCalls, en as messageOf, er as specifiersOf, et as pipeFails, f as NO_READ_LINE, fn as npmNames, ft as pagesSite, g as RULES, gn as serviceRunMain, gt as DEFAULT_ALLOWED, h as prePush, hn as runCalls, ht as packNoBuildinfo, i as formatResult, in as HOME_EXPORTS, it as siteCheckInCi, j as testsRequired, jn as ACTIONS_COMMIT, jt as lineNameHit, k as scriptsOf, kn as securityOneJob, kt as isAllowedHit, l as runFix, ln as mapText, lt as pushMainOnly, m as installHook, mn as SERVICE_PACKAGE, mt as publishTextSafe, n as annotations, nn as reposOf, nr as parseConfig, nt as isPinned, o as readConfig, on as MAP_RULE, ot as repositoryOfRemote, p as PRE_PUSH_HOOK, pn as readOverlay, pt as exportsRequire, q as reachOf, qn as keyLine, qt as repositoryIsPublic, r as createContext, rn as signaturesOf, rt as pinnedGitDeps, s as runChecks, sn as findHomes, st as runnerBudget, t as USAGE, tn as repoOf, tr as defaultOptions, tt as isGitSpecifier, u as summaryMarkdown, un as mergeHomes, ut as PAGES_WORKFLOWS, v as GITHUB_YAML, vn as tsconfigTest, vt as PRIVATE_NAMES_FILE_CONFIG, w as IGNORE_AFTER, wn as setupCue, wt as privatePatterns, x as namedVersions, xn as SHARED_WORKFLOWS, xt as invalidPatternBreaks, y as workflowParses, yn as SHARED_ACTIONS, yt as PRIVATE_NAMES_FILE_VARIABLE, z as roadmapOfLine, zn as STRICT_OPTIONS, zt as mainCheck } from "./run-DII4tn_0.js";
|
|
2
2
|
import { i as packageFolders, n as globFolders, r as globToRegExp, s as workspaceGlobs } from "./workspace-Cx7p7bWn.js";
|
|
3
3
|
// src/release-text.ts
|
|
4
4
|
/**
|
|
@@ -3,6 +3,7 @@ import { createRequire } from "node:module";
|
|
|
3
3
|
import { spawnSync } from "node:child_process";
|
|
4
4
|
import { appendFileSync, chmodSync, existsSync, mkdirSync, readFileSync, readdirSync, statSync, writeFileSync } from "node:fs";
|
|
5
5
|
import { basename, dirname, extname, isAbsolute, join, posix, relative, resolve } from "node:path";
|
|
6
|
+
import { SECRET_SHAPES, findSecretShapes, findSecretShapesInValue, redactSecretShapes } from "@mark1russell7/text/redact";
|
|
6
7
|
import { createHash } from "node:crypto";
|
|
7
8
|
import { parseAllDocuments } from "yaml";
|
|
8
9
|
// src/config.ts
|
|
@@ -13666,17 +13667,25 @@ const packNoBuildinfo = {
|
|
|
13666
13667
|
// src/rules/publish-text-safe.ts
|
|
13667
13668
|
/**
|
|
13668
13669
|
* The rule `publish-text-safe`: the text that npm puts in the publish document of a public package has no line in the
|
|
13669
|
-
* shape of an attack. This text is each README file of the package folder,
|
|
13670
|
-
*
|
|
13671
|
-
*
|
|
13670
|
+
* shape of an attack. It also has no token of a known service. This text is each README file of the package folder,
|
|
13671
|
+
* and each key and each string of `package.json`. The document holds the whole manifest with `publishConfig`, so
|
|
13672
|
+
* `scripts`, `repository`, `bugs`, `config` and `bin` go to the registry with `description` and `keywords`.
|
|
13673
|
+
*
|
|
13674
|
+
* The registry screens the document. On 2026-11-15 it refused a document with the shape of a SQL probe (E403), and the
|
|
13675
|
+
* error did not name the cause. The registry also shows the text to each reader, and its mirrors keep each version.
|
|
13676
|
+
*
|
|
13677
|
+
* The walk of the manifest is `findSecretShapesInValue` of `@mark1russell7/text/redact`. The shapes of the tokens are
|
|
13678
|
+
* `SECRET_SHAPES` of the same module, the home of the redaction of secrets. This file has no copy of these patterns. A
|
|
13679
|
+
* break gives the line and the name of the shape, not the token.
|
|
13672
13680
|
*
|
|
13673
13681
|
* This rule does not wait `RULE_WARN_DAYS`: it fails from its release day. The wait gives the owners time to fix the
|
|
13674
|
-
* breaks of a new rule. On 2026-11-16 a first read of the local clones used the shapes of this file. It found
|
|
13675
|
-
* example, the README of text 0.0.7 (in 2 old clones), and 0 false hits. Thus the wait protects no repository.
|
|
13676
|
-
* of 14 days lets a repeat of the text case pass with only a warning.
|
|
13682
|
+
* breaks of a new rule. On 2026-11-16 a first read of the local clones used the attack shapes of this file. It found
|
|
13683
|
+
* 1 true example, the README of text 0.0.7 (in 2 old clones), and 0 false hits. Thus the wait protects no repository.
|
|
13684
|
+
* A wait of 14 days lets a repeat of the text case pass with only a warning.
|
|
13677
13685
|
*
|
|
13678
|
-
* At 11:32 UTC of the same day, one read of 446 README files and 664 manifests
|
|
13679
|
-
*
|
|
13686
|
+
* At 11:32 UTC of the same day, one read of both scopes took 446 README files and 664 manifests (56,049 keys and
|
|
13687
|
+
* strings) of the local clones. It found 0 attack shapes and 0 tokens. The sessions add, pull and remove clones during
|
|
13688
|
+
* a day, so each count is the count of one read.
|
|
13680
13689
|
*/
|
|
13681
13690
|
/**
|
|
13682
13691
|
* The shapes of the attacks. Only the shape `sql-boolean` has a refusal on record: it stopped each publish of
|
|
@@ -13727,30 +13736,136 @@ function attackLines(text, shapes = ATTACK_SHAPES) {
|
|
|
13727
13736
|
});
|
|
13728
13737
|
return found;
|
|
13729
13738
|
}
|
|
13739
|
+
/** The attack shapes in the form of the shapes of text, for the walk of a value. The label is the field `what`. */
|
|
13740
|
+
const ATTACKS_AS_SECRET_SHAPES = Object.freeze(ATTACK_SHAPES.map((shape) => Object.freeze({
|
|
13741
|
+
id: shape.id,
|
|
13742
|
+
label: shape.what,
|
|
13743
|
+
pattern: shape.pattern
|
|
13744
|
+
})));
|
|
13745
|
+
/**
|
|
13746
|
+
* This function gives each match of an attack shape in each key and each string of `value`, with the path to the
|
|
13747
|
+
* string. It is `findSecretShapesInValue` of text with the attack shapes. The order is the order of the document.
|
|
13748
|
+
*/
|
|
13749
|
+
function attacksInValue(value, shapes = ATTACK_SHAPES) {
|
|
13750
|
+
const asSecretShapes = shapes === ATTACK_SHAPES ? ATTACKS_AS_SECRET_SHAPES : shapes.map((shape) => ({
|
|
13751
|
+
id: shape.id,
|
|
13752
|
+
label: shape.what,
|
|
13753
|
+
pattern: shape.pattern
|
|
13754
|
+
}));
|
|
13755
|
+
return findSecretShapesInValue(value, asSecretShapes);
|
|
13756
|
+
}
|
|
13757
|
+
/**
|
|
13758
|
+
* This function gives the line and the shape of each token in `text`, in the order of the text. A private key block
|
|
13759
|
+
* can go across lines: its line is the line of its start. The result has no text of the token.
|
|
13760
|
+
*/
|
|
13761
|
+
function secretLines(text, shapes = SECRET_SHAPES) {
|
|
13762
|
+
const byId = new Map(shapes.map((shape) => [shape.id, shape]));
|
|
13763
|
+
const found = [];
|
|
13764
|
+
let line = 1;
|
|
13765
|
+
let at = 0;
|
|
13766
|
+
for (const match of findSecretShapes(text, shapes)) {
|
|
13767
|
+
for (; at < match.start; at++) if (text.charCodeAt(at) === 10) line++;
|
|
13768
|
+
const shape = byId.get(match.shape);
|
|
13769
|
+
if (shape !== void 0) found.push({
|
|
13770
|
+
line,
|
|
13771
|
+
shape
|
|
13772
|
+
});
|
|
13773
|
+
}
|
|
13774
|
+
return found;
|
|
13775
|
+
}
|
|
13730
13776
|
/** The names of the README files that npm packs from the folder of a package, with each case and extension. */
|
|
13731
13777
|
const README = /^readme(?:\.[\w-]+)?$/i;
|
|
13732
|
-
/**
|
|
13733
|
-
|
|
13778
|
+
/**
|
|
13779
|
+
* This function gives a text with each token of a known service as `[secret]`. A break message holds a matched text
|
|
13780
|
+
* and the keys of a path. A token can be in each of them: in the span of `sql-tautology`, in a key, or in the key of
|
|
13781
|
+
* a parent. Each part goes through this function before its cut to 60 characters. A token that the cut divides has
|
|
13782
|
+
* no shape for a later pass. Each finished message goes through it again.
|
|
13783
|
+
*/
|
|
13784
|
+
const secretFree = (text) => redactSecretShapes(text);
|
|
13785
|
+
/** This function gives a matched text for a message, with no token, no line end and at most 60 characters. */
|
|
13786
|
+
const shown = (text) => {
|
|
13787
|
+
const free = secretFree(text);
|
|
13788
|
+
return JSON.stringify(free.length > 60 ? `${free.slice(0, 57)}...` : free);
|
|
13789
|
+
};
|
|
13790
|
+
/** This function gives the path of a match in words for a message, with each token in a key as `[secret]`. */
|
|
13791
|
+
const shownPath = (path) => fieldOf(path.map((part) => typeof part === "string" ? secretFree(part) : part));
|
|
13734
13792
|
/** This function gives the end of the message of an attack shape: the refusal on record, or the source of the shape. */
|
|
13735
13793
|
const refusalOf = (shape) => shape.seen === null ? "The shape follows a SQL rule of the OWASP Core Rule Set, so the npm registry can refuse the publish (E403). No refusal of it is on record." : `The npm registry refused a publish with this shape (${shape.seen}).`;
|
|
13794
|
+
/** This function gives the end of the message of a token. It names the shape, and it does not show the token. */
|
|
13795
|
+
const tokenOf = (shape) => `${shape.label} (${shape.id}). npm shows this text to each reader of the package. Revoke the secret at its service, and then remove it.`;
|
|
13796
|
+
/** A name of a key that a path shows after a dot. Each other key goes in brackets as JSON, for example `exports["./a"]`. */
|
|
13797
|
+
const PLAIN_KEY = /^[A-Za-z_$][\w$-]*$/;
|
|
13798
|
+
/** This function gives the path to a string of a manifest in words, for example `scripts.build` or `keywords[1]`. */
|
|
13799
|
+
function fieldOf(path) {
|
|
13800
|
+
return path.map((part, index) => typeof part === "number" ? `[${part}]` : PLAIN_KEY.test(part) ? `${index === 0 ? "" : "."}${part}` : `[${JSON.stringify(part)}]`).join("");
|
|
13801
|
+
}
|
|
13802
|
+
/** This function gives the key or the string at the end of a path in a value, or `undefined` if no string is there. */
|
|
13803
|
+
function stringAt(value, path, inKey) {
|
|
13804
|
+
if (inKey) {
|
|
13805
|
+
const key = path[path.length - 1];
|
|
13806
|
+
return typeof key === "string" ? key : void 0;
|
|
13807
|
+
}
|
|
13808
|
+
let at = value;
|
|
13809
|
+
for (const part of path) {
|
|
13810
|
+
if (at === null || typeof at !== "object") return void 0;
|
|
13811
|
+
at = at[part];
|
|
13812
|
+
}
|
|
13813
|
+
return typeof at === "string" ? at : void 0;
|
|
13814
|
+
}
|
|
13815
|
+
/**
|
|
13816
|
+
* This function gives the line of the string at the end of a path in the text of a manifest. It finds each key of the
|
|
13817
|
+
* path after the line of the key before it, as `"key":` and then as `"key"`. An index of an array keeps the line of
|
|
13818
|
+
* its key. For a string that is not a key, it then finds the string as JSON after that line. When a part is not in the
|
|
13819
|
+
* text, the line of the part before stays. An example is a key that the file writes with an escape.
|
|
13820
|
+
*
|
|
13821
|
+
* A key with the same name in an earlier object under the same parent gives an earlier line. An example is the path
|
|
13822
|
+
* `a.x` in `{"a": {"z": {"x": 1}, "x": "bad"}}`. The search of the string corrects this for a value with a distinct
|
|
13823
|
+
* text, but not for a match in a key. Only the line is wrong: the path and the shape of the break stay correct.
|
|
13824
|
+
*/
|
|
13825
|
+
function pathLine(text, path, leaf) {
|
|
13826
|
+
let line;
|
|
13827
|
+
for (const part of path) {
|
|
13828
|
+
if (typeof part === "number") continue;
|
|
13829
|
+
const name = JSON.stringify(part);
|
|
13830
|
+
line = lineOf(text, `${name}:`, line ?? 1) ?? lineOf(text, name, line ?? 1) ?? line;
|
|
13831
|
+
}
|
|
13832
|
+
if (leaf !== void 0) line = lineOf(text, JSON.stringify(leaf), line ?? 1) ?? line;
|
|
13833
|
+
return line;
|
|
13834
|
+
}
|
|
13736
13835
|
const publishTextSafe = {
|
|
13737
13836
|
id: "publish-text-safe",
|
|
13738
|
-
title: "The text that npm puts in the publish document of a public package (each README,
|
|
13739
|
-
reason: "The npm registry screens the publish document, and it refused a document with the shape of a SQL probe. On 2026-11-15 and 2026-11-16, each publish of @mark1russell7/text 0.0.7 failed with E403. An example in its README had AND, a number, an equal sign and a number. The error does not name the cause, so the release looked like a fault of the trust of the package. A new README example went out, and the same trust published 0.0.7.",
|
|
13740
|
-
fix: "Write the example with other words
|
|
13741
|
-
sources: [
|
|
13742
|
-
|
|
13743
|
-
|
|
13744
|
-
|
|
13745
|
-
|
|
13746
|
-
|
|
13747
|
-
|
|
13748
|
-
|
|
13749
|
-
|
|
13837
|
+
title: "The text that npm puts in the publish document of a public package (each README, and each key and string of `package.json`) has no line in the shape of an attack, and no token of a known service.",
|
|
13838
|
+
reason: "The npm registry screens the publish document, and it refused a document with the shape of a SQL probe. On 2026-11-15 and 2026-11-16, each publish of @mark1russell7/text 0.0.7 failed with E403. An example in its README had AND, a number, an equal sign and a number. The error does not name the cause, so the release looked like a fault of the trust of the package. A new README example went out, and the same trust published 0.0.7. The document holds the whole manifest, so a shape in `scripts` or a token in `repository.url` goes to the same screen. A token in this text goes to each reader of the package, and the mirrors of the registry keep each version, so a later fix does not remove the token.",
|
|
13839
|
+
fix: "Write the example or the value with other words, for example `partsAt(\"A wide river\", [[2, 6]])`. For a token, revoke it at its service first, and then write a fake value, for example `TOKEN-EXAMPLE`. A changed README or manifest of a released package needs a PATCH version.",
|
|
13840
|
+
sources: [
|
|
13841
|
+
{
|
|
13842
|
+
repo: "text",
|
|
13843
|
+
rule: "publish-text-safe",
|
|
13844
|
+
doc: "packages/text/README.md (0.0.7, pull request 32)"
|
|
13845
|
+
},
|
|
13846
|
+
{
|
|
13847
|
+
repo: "text",
|
|
13848
|
+
rule: "secret-shapes",
|
|
13849
|
+
doc: "packages/text/src/redact.ts (SECRET_SHAPES, findSecretShapesInValue, 0.0.8)"
|
|
13850
|
+
},
|
|
13851
|
+
{
|
|
13852
|
+
repo: "private",
|
|
13853
|
+
rule: "publish-text-safe",
|
|
13854
|
+
doc: "docs/STRATEGY.md (2026-11-16, the publish document has no attack shape and no token)"
|
|
13855
|
+
}
|
|
13856
|
+
],
|
|
13750
13857
|
options: {},
|
|
13751
13858
|
failsFrom: "2026-11-16",
|
|
13752
13859
|
check(context) {
|
|
13753
13860
|
const breaks = [];
|
|
13861
|
+
const push = (found) => {
|
|
13862
|
+
breaks.push({
|
|
13863
|
+
...found,
|
|
13864
|
+
message: secretFree(found.message)
|
|
13865
|
+
});
|
|
13866
|
+
};
|
|
13867
|
+
const byId = new Map(ATTACK_SHAPES.map((shape) => [shape.id, shape]));
|
|
13868
|
+
const secretById = new Map(SECRET_SHAPES.map((shape) => [shape.id, shape]));
|
|
13754
13869
|
for (const pkg of versionedPackages(context)) {
|
|
13755
13870
|
const name = String(pkg.manifest["name"]);
|
|
13756
13871
|
let names;
|
|
@@ -13766,20 +13881,46 @@ const publishTextSafe = {
|
|
|
13766
13881
|
} catch {
|
|
13767
13882
|
continue;
|
|
13768
13883
|
}
|
|
13769
|
-
for (const hit of attackLines(text))
|
|
13884
|
+
for (const hit of attackLines(text)) push({
|
|
13770
13885
|
file: inFolder(pkg.folder, file),
|
|
13771
13886
|
line: hit.line,
|
|
13772
13887
|
message: `The README of ${name} has ${shown(hit.text)}, ${hit.shape.what} (${hit.shape.id}). ${refusalOf(hit.shape)}`
|
|
13773
13888
|
});
|
|
13889
|
+
for (const hit of secretLines(text)) push({
|
|
13890
|
+
file: inFolder(pkg.folder, file),
|
|
13891
|
+
line: hit.line,
|
|
13892
|
+
message: `The README of ${name} has ${tokenOf(hit.shape)}`
|
|
13893
|
+
});
|
|
13774
13894
|
}
|
|
13775
|
-
const
|
|
13776
|
-
const
|
|
13777
|
-
|
|
13778
|
-
|
|
13779
|
-
|
|
13895
|
+
const done = /* @__PURE__ */ new Set();
|
|
13896
|
+
for (const match of attacksInValue(pkg.manifest)) {
|
|
13897
|
+
const once = `${match.inKey}:${JSON.stringify(match.path)}:${match.shape}`;
|
|
13898
|
+
if (done.has(once)) continue;
|
|
13899
|
+
done.add(once);
|
|
13900
|
+
const shape = byId.get(match.shape);
|
|
13901
|
+
const value = stringAt(pkg.manifest, match.path, match.inKey);
|
|
13902
|
+
const line = pathLine(pkg.text, match.path, match.inKey ? void 0 : value);
|
|
13903
|
+
const what = shape === void 0 ? `the shape ${match.shape}` : `${shape.what} (${shape.id})`;
|
|
13904
|
+
const has = value === void 0 ? `${what}, in a text that the rule cannot read` : `${shown(value.slice(match.start, match.end))}, ${what}`;
|
|
13905
|
+
push({
|
|
13906
|
+
file: pkg.file,
|
|
13907
|
+
...line === void 0 ? {} : { line },
|
|
13908
|
+
message: `The ${match.inKey ? "key" : "field"} "${shownPath(match.path)}" of ${name} has ${has}.${shape === void 0 ? "" : ` ${refusalOf(shape)}`}`
|
|
13909
|
+
});
|
|
13910
|
+
}
|
|
13911
|
+
for (const match of findSecretShapesInValue(pkg.manifest)) {
|
|
13912
|
+
const once = `secret:${match.inKey}:${JSON.stringify(match.path)}:${match.shape}`;
|
|
13913
|
+
if (done.has(once)) continue;
|
|
13914
|
+
done.add(once);
|
|
13915
|
+
const shape = secretById.get(match.shape) ?? {
|
|
13916
|
+
id: match.shape,
|
|
13917
|
+
label: "a token of a known service"
|
|
13918
|
+
};
|
|
13919
|
+
const line = pathLine(pkg.text, match.path, match.inKey ? void 0 : stringAt(pkg.manifest, match.path, false));
|
|
13920
|
+
push({
|
|
13780
13921
|
file: pkg.file,
|
|
13781
13922
|
...line === void 0 ? {} : { line },
|
|
13782
|
-
message: `The
|
|
13923
|
+
message: `The ${match.inKey ? "key" : "field"} "${shownPath(match.path)}" of ${name} has ${tokenOf(shape)}`
|
|
13783
13924
|
});
|
|
13784
13925
|
}
|
|
13785
13926
|
}
|
|
@@ -18896,4 +19037,4 @@ function runHook(args, io) {
|
|
|
18896
19037
|
}
|
|
18897
19038
|
export { unreleasedChangeRule as $, runGit as $n, homePackage as $t, typedFiles as A, withOneJob as An, isCommonUse as At, roadmapParses as B, cuePreset as Bn, coverageProvider as Bt, versionTitle as C, sharedCi as Cn, privateNamesFile as Ct, typedScripts as D, SECURITY_TIMEOUT_MINUTES as Dn, PrivateNameListError as Dt, trustPolicy as E, SECURITY_SCAN_INPUTS as En, PRIVATE_NAME_LIST as Et, HOME_TIMEOUT_MS as F, summaryName as Fn, pathNameHit as Ft, publishedMinor as G, hasFile as Gn, licenseFileOf as Gt, releaseFiles as H, RULE_WARN_DAYS as Hn, LICENSE_TEXTS as Ht, blockHash as I, gateAfterCancel as In, noBuildOutput as It, NPM_REGISTRY as J, lineOf as Jn, homeModule as Jt, publishedMinorRule as K, inFolder as Kn, mitText as Kt, githubFetch as L, readAction as Ln, REAL_COMPARE as Lt, isSourcePath as M, convertGate as Mn, lineNameHits as Mt, pathsOf as N, gateTrigger as Nn, nameMatches as Nt, configsOfScript as O, securityCallers as On, firstNameMatch as Ot, sourceMain as P, prPathFilters as Pn, parsePrivateNames as Pt, unreleasedChange as Q, replaceLine as Qn, declaredName as Qt, sharedDocsRule as R, readWorkflow as Rn, hasImportMetaMain as Rt, setVersions as S, callsSharedCi as Sn, noLocalPaths as St, TRAIN_SCOPES as T, SECURITY_SCAN_COMMIT as Tn, privateTextBreaks as Tt, lockedVersions as U, cleanPath as Un, authorOf as Ut, requiredScripts as V, DEPENDENCY_FIELDS as Vn, apiReportScript as Vt, minorOf as W, codePackages as Wn, licenseFile as Wt, UNSHIPPED_FILES as X, parseJsonc as Xn, moduleUses as Xt, SHIPPED_FIELDS as Y, matchesAny as Yn, moduleMessage as Yt, npmLookup as Z, readJsonc as Zn, modulesOf as Zt, workspaceProtocol as _, hasTests as _n, HOME_PATTERNS as _t, listRules as a, HOMES as an, pagesAfterRelease as at, yamlFaults as b, SHARED_CI as bn, PRIVATE_PATTERNS_VARIABLE as bt, runCli as c, mapMarkdown as cn, scheduleMinute as ct, HOOK_MARKER as d, npmDrift as dn, pagesCalls as dt, messageOf as en, specifiersOf as er, pipeFails as et, NO_READ_LINE as f, npmNames as fn, pagesSite as ft, RULES as g, serviceRunMain as gn, DEFAULT_ALLOWED as gt, prePush as h, runCalls as hn, packNoBuildinfo as ht, formatResult as i, HOME_EXPORTS as in, siteCheckInCi as it, testsRequired as j, ACTIONS_COMMIT as jn, lineNameHit as jt, scriptsOf as k, securityOneJob as kn, isAllowedHit as kt, runFix as l, mapText as ln, pushMainOnly as lt, installHook as m, SERVICE_PACKAGE as mn, publishTextSafe as mt, annotations as n, reposOf as nn, parseConfig as nr, isPinned as nt, readConfig as o, MAP_RULE as on, repositoryOfRemote as ot, PRE_PUSH_HOOK as p, readOverlay as pn, exportsRequire as pt, reachOf as q, keyLine as qn, repositoryIsPublic as qt, createContext as r, signaturesOf as rn, pinnedGitDeps as rt, runChecks as s, findHomes as sn, runnerBudget as st, USAGE as t, repoOf as tn, defaultOptions as tr, isGitSpecifier as tt, summaryMarkdown as u, mergeHomes as un, PAGES_WORKFLOWS as ut, GITHUB_YAML as v, tsconfigTest as vn, PRIVATE_NAMES_FILE_CONFIG as vt, IGNORE_AFTER as w, setupCue as wn, privatePatterns as wt, namedVersions as x, SHARED_WORKFLOWS as xn, invalidPatternBreaks as xt, workflowParses as y, SHARED_ACTIONS as yn, PRIVATE_NAMES_FILE_VARIABLE as yt, roadmapOfLine as z, STRICT_OPTIONS as zn, mainCheck as zt };
|
|
18898
19039
|
|
|
18899
|
-
//# sourceMappingURL=run-
|
|
19040
|
+
//# sourceMappingURL=run-DII4tn_0.js.map
|