@vincemakes/kiso-secrets 0.57.0 → 0.58.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.
@@ -34,10 +34,10 @@
34
34
  * OUT, deliberately, so the omissions are decisions and not oversights:
35
35
  * `*.key` too many non-secret uses to be a credential by name
36
36
  *
37
- * An explicit `read_file` of ANY of these is unchanged. Reading on
38
- * purpose is the user's model doing what it was told; an incidental hit
39
- * from a search for "KEY" is exposure without intent, and only the
40
- * second is what this prevents. */
37
+ * The corpus skips them, so an incidental hit from a search for "KEY"
38
+ * is not exposed. Since #31 (ADR-0058 Amendment 21) kiso's file tools
39
+ * also refuse an explicit read of one (`isSecretLocation`), inside the
40
+ * workspace or out: a secret never reaches the provider by itself. */
41
41
  const ENV_TEMPLATES = new Set([".env.example", ".env.sample", ".env.template"]);
42
42
  const CREDENTIAL_NAMES = new Set([".envrc", ".netrc", "id_rsa", "id_dsa", "id_ecdsa", "id_ed25519", ".npmrc", ".pypirc", ".git-credentials", ".htpasswd"]);
43
43
  const CREDENTIAL_PATHS = ["/.aws/credentials", "/.config/gh/hosts.yml", "/.docker/config.json", "/.kube/config"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vincemakes/kiso-secrets",
3
- "version": "0.57.0",
3
+ "version": "0.58.0",
4
4
  "description": "kiso secrets — one secret detector for kiso: the credential-file set, the child-environment strip, the secret-location deny list and shape-only content patterns. Zero dependencies and zero imports, so it bundles anywhere.",
5
5
  "type": "module",
6
6
  "license": "MIT",