@entet/ai-agent-guard 0.1.0 → 0.1.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 +6 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@ Scan a local project for security risks **before** you point an AI coding agent
|
|
|
5
5
|
AI coding agents (Claude Code, Cursor, Codex, Windsurf, …) read your whole repo and can execute commands, follow instruction files, and call MCP servers. A leaked key, an over-permissioned MCP config, or a hostile `CLAUDE.md` becomes the agent's problem the moment it starts. `ai-agent-guard` does a fast local pass and tells you what to look at first.
|
|
6
6
|
|
|
7
7
|
```
|
|
8
|
-
npx ai-agent-guard
|
|
8
|
+
npx @entet/ai-agent-guard
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
No install, no config, no account.
|
|
@@ -25,22 +25,22 @@ No install, no config, no account.
|
|
|
25
25
|
|
|
26
26
|
```bash
|
|
27
27
|
# scan the current directory
|
|
28
|
-
npx ai-agent-guard
|
|
28
|
+
npx @entet/ai-agent-guard
|
|
29
29
|
|
|
30
30
|
# scan a specific path
|
|
31
|
-
npx ai-agent-guard --path ./my-repo
|
|
31
|
+
npx @entet/ai-agent-guard --path ./my-repo
|
|
32
32
|
|
|
33
33
|
# machine-readable output (for CI)
|
|
34
|
-
npx ai-agent-guard --json
|
|
34
|
+
npx @entet/ai-agent-guard --json
|
|
35
35
|
|
|
36
36
|
# disable colors
|
|
37
|
-
npx ai-agent-guard --no-color
|
|
37
|
+
npx @entet/ai-agent-guard --no-color
|
|
38
38
|
```
|
|
39
39
|
|
|
40
40
|
Exit code is `0` when clean and `1` when there are findings, so it drops straight into CI:
|
|
41
41
|
|
|
42
42
|
```yaml
|
|
43
|
-
- run: npx ai-agent-guard
|
|
43
|
+
- run: npx @entet/ai-agent-guard
|
|
44
44
|
```
|
|
45
45
|
|
|
46
46
|
Example output:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entet/ai-agent-guard",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Scan a project for leaked secrets, risky MCP configs, and unsafe automation before handing it to an AI coding agent (Claude Code, Cursor, Codex). Zero dependencies, runs locally.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"ai-agent-guard": "bin/ai-agent-guard.js"
|