security-harness-kit 0.3.19 → 0.4.1
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 +7 -5
- package/npm-shrinkwrap.json +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -28,11 +28,11 @@ With `shk`, you can:
|
|
|
28
28
|
- Mask sensitive content from stdin, text files, and Office documents (`.docx`, `.xlsx`, `.pptx`).
|
|
29
29
|
- Encrypt `.env` files, store private keys in the OS credential store, and run commands with decrypted values injected only at runtime.
|
|
30
30
|
- Install Git pre-commit hooks.
|
|
31
|
-
- Install managed hooks for Claude Code, Cursor, and
|
|
31
|
+
- Install managed hooks for Claude Code, Cursor, Codex, GitHub Copilot, and Google Antigravity.
|
|
32
32
|
- Preview metadata-only audit logs to understand blocked hook activity without storing detected values.
|
|
33
33
|
- Generate a GitHub Actions workflow that runs `shk scan` on every pull request.
|
|
34
34
|
- Diagnose ignore file and `.env` safety coverage.
|
|
35
|
-
- Deploy AI agent skills to Claude Code, Codex, and
|
|
35
|
+
- Deploy AI agent skills to Claude Code, Codex, Cursor, GitHub Copilot, and Antigravity project directories.
|
|
36
36
|
|
|
37
37
|
## Installation
|
|
38
38
|
|
|
@@ -125,7 +125,7 @@ Generate a GitHub Actions workflow that scans every pull request:
|
|
|
125
125
|
shk ci init github
|
|
126
126
|
```
|
|
127
127
|
|
|
128
|
-
Install the shk agent skill for Claude Code
|
|
128
|
+
Install the shk agent skill for Claude Code, Codex/Cursor, and Antigravity:
|
|
129
129
|
|
|
130
130
|
```bash
|
|
131
131
|
shk skills install
|
|
@@ -190,11 +190,13 @@ shk hooks install
|
|
|
190
190
|
shk hooks install-ai --dry-run
|
|
191
191
|
shk hooks install-ai --audit
|
|
192
192
|
shk hooks install-ai --log-blocked
|
|
193
|
+
shk hooks install-ai --tool copilot
|
|
194
|
+
shk hooks install-ai --tool antigravity
|
|
193
195
|
|
|
194
196
|
shk ci init github
|
|
195
197
|
shk ci init github --dry-run
|
|
196
198
|
shk ci init github --mode audit
|
|
197
|
-
shk ci init github --shk-version v0.
|
|
199
|
+
shk ci init github --shk-version v0.4.1
|
|
198
200
|
|
|
199
201
|
shk skills install
|
|
200
202
|
shk skills install --tool claude-code --global
|
|
@@ -203,7 +205,7 @@ shk skills status
|
|
|
203
205
|
|
|
204
206
|
## Configuration
|
|
205
207
|
|
|
206
|
-
`shk` reads policy from `shk.toml` in the current working directory. Read-only commands can use built-in defaults. Commands that write files or tool configuration require a project policy file.
|
|
208
|
+
`shk` reads policy from `shk.toml` in the current working directory. Read-only commands can use built-in defaults. Commands that write files or tool configuration require a project policy file. When running from outside the project, pass the global `--project-root <DIR>` flag to resolve the policy and project-relative paths from that directory.
|
|
207
209
|
|
|
208
210
|
Create the default policy:
|
|
209
211
|
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"hasInstallScript": true,
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"name": "security-harness-kit",
|
|
26
|
-
"version": "0.
|
|
26
|
+
"version": "0.4.1"
|
|
27
27
|
},
|
|
28
28
|
"node_modules/@isaacs/cliui": {
|
|
29
29
|
"engines": {
|
|
@@ -542,5 +542,5 @@
|
|
|
542
542
|
}
|
|
543
543
|
},
|
|
544
544
|
"requires": true,
|
|
545
|
-
"version": "0.
|
|
545
|
+
"version": "0.4.1"
|
|
546
546
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"artifactDownloadUrls": [
|
|
3
|
-
"https://github.com/Kazuki-tam/security-harness-kit/releases/download/v0.
|
|
3
|
+
"https://github.com/Kazuki-tam/security-harness-kit/releases/download/v0.4.1"
|
|
4
4
|
],
|
|
5
5
|
"bin": {
|
|
6
6
|
"shk": "run-shk.js"
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"zipExt": ".tar.xz"
|
|
86
86
|
}
|
|
87
87
|
},
|
|
88
|
-
"version": "0.
|
|
88
|
+
"version": "0.4.1",
|
|
89
89
|
"volta": {
|
|
90
90
|
"node": "18.14.1",
|
|
91
91
|
"npm": "9.5.0"
|