@theonly1me/vigilante 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 +9 -9
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<div align="center">
|
|
2
|
-
<img src="https://raw.githubusercontent.com/theonly1me/vigilante/v0.1.
|
|
2
|
+
<img src="https://raw.githubusercontent.com/theonly1me/vigilante/v0.1.1/assets/vigilante-wordmark-white-bg.webp" alt="Vigilante" width="360">
|
|
3
3
|
<p><b>See what a pull request lets your code, your CI, and your AI agents do, before you merge it.</b></p>
|
|
4
4
|
<p>
|
|
5
5
|
<a href="https://github.com/theonly1me/vigilante/actions/workflows/ci.yml"><img src="https://img.shields.io/github/actions/workflow/status/theonly1me/vigilante/ci.yml?branch=main&label=CI&logo=github" alt="CI"></a>
|
|
@@ -16,7 +16,7 @@ Vigilante reads a pull request and lists the new powers that the pull request ad
|
|
|
16
16
|
|
|
17
17
|
Your security team approves powers in a `vigilante.lock` file. If a pull request adds a power that is not in the lock, the check fails.
|
|
18
18
|
|
|
19
|
-
By default, Vigilante does not run code from the repository that it checks. It reads the files and resolves calls by type. It uses [Capslock](https://github.com/google/capslock) for Go, the TypeScript type checker for JavaScript and TypeScript, and Pyright for Python. These tools read code, and they do not run it. Vigilante also downloads the locked packages from their public registries and reads them. If you set `[engines] rust = "typed"`, Vigilante builds the Rust code in a Docker container that has no network access ([docs/dependencies.md](https://github.com/theonly1me/vigilante/blob/v0.1.
|
|
19
|
+
By default, Vigilante does not run code from the repository that it checks. It reads the files and resolves calls by type. It uses [Capslock](https://github.com/google/capslock) for Go, the TypeScript type checker for JavaScript and TypeScript, and Pyright for Python. These tools read code, and they do not run it. Vigilante also downloads the locked packages from their public registries and reads them. If you set `[engines] rust = "typed"`, Vigilante builds the Rust code in a Docker container that has no network access ([docs/dependencies.md](https://github.com/theonly1me/vigilante/blob/v0.1.1/docs/dependencies.md#calls-resolved-by-type)).
|
|
20
20
|
|
|
21
21
|
## Why
|
|
22
22
|
|
|
@@ -56,7 +56,7 @@ The same pull request also added a second network call to `services/billing`, th
|
|
|
56
56
|
| AI agents | `.claude/settings.json`, `.mcp.json`, `.cursor/mcp.json`, `.vscode/mcp.json`, `.codex/config.toml`, `.gemini/settings.json` | `tool_allow`, `hook`, `mcp_server`, `skip_permissions` |
|
|
57
57
|
| Build | `package.json` install scripts, `build.rs`, `setup.py`, `.husky/`, `.pre-commit-config.yaml` | `install_hook`, `git_hook` |
|
|
58
58
|
|
|
59
|
-
Vigilante reports a power only the first time that it appears in a scope. For code, a scope is the nearest package root. For Go, a scope is the Go package. Vigilante skips tests, fixtures, and vendored code. [docs/powers.md](https://github.com/theonly1me/vigilante/blob/v0.1.
|
|
59
|
+
Vigilante reports a power only the first time that it appears in a scope. For code, a scope is the nearest package root. For Go, a scope is the Go package. Vigilante skips tests, fixtures, and vendored code. [docs/powers.md](https://github.com/theonly1me/vigilante/blob/v0.1.1/docs/powers.md) tells you about each power and the rules that keep the report short.
|
|
60
60
|
|
|
61
61
|
A finding is `exec`, `network`, or `native` that your package reaches through its own code. This rule is the same in each language. All other results are notes:
|
|
62
62
|
|
|
@@ -64,7 +64,7 @@ A finding is `exec`, `network`, or `native` that your package reaches through it
|
|
|
64
64
|
- a power that your package reaches only through a dependency, or through another package of the same repository;
|
|
65
65
|
- a new package on a call path to a power.
|
|
66
66
|
|
|
67
|
-
Notes do not make the check fail. For example, a new dependency that reaches the network is a note. [docs/dependencies.md](https://github.com/theonly1me/vigilante/blob/v0.1.
|
|
67
|
+
Notes do not make the check fail. For example, a new dependency that reaches the network is a note. [docs/dependencies.md](https://github.com/theonly1me/vigilante/blob/v0.1.1/docs/dependencies.md) tells you how Vigilante reads packages.
|
|
68
68
|
|
|
69
69
|
## Install
|
|
70
70
|
|
|
@@ -126,7 +126,7 @@ jobs:
|
|
|
126
126
|
with:
|
|
127
127
|
fetch-depth: 0
|
|
128
128
|
persist-credentials: false
|
|
129
|
-
- uses: theonly1me/vigilante@v0.1.
|
|
129
|
+
- uses: theonly1me/vigilante@v0.1.1
|
|
130
130
|
```
|
|
131
131
|
<!-- x-release-please-end -->
|
|
132
132
|
|
|
@@ -140,7 +140,7 @@ vigilante.toml @your-org/security
|
|
|
140
140
|
.github/ @your-org/security
|
|
141
141
|
```
|
|
142
142
|
|
|
143
|
-
After this change, each pull request that adds a power must change `vigilante.lock`. The security team must approve that change. [docs/github-action.md](https://github.com/theonly1me/vigilante/blob/v0.1.
|
|
143
|
+
After this change, each pull request that adds a power must change `vigilante.lock`. The security team must approve that change. [docs/github-action.md](https://github.com/theonly1me/vigilante/blob/v0.1.1/docs/github-action.md) gives the full setup. It also tells you how to protect the check and how to use Vigilante in other CI systems.
|
|
144
144
|
|
|
145
145
|
## Use it with AI agents
|
|
146
146
|
|
|
@@ -161,7 +161,7 @@ deny = [{ scope = "services/**", capability = "exec" }]
|
|
|
161
161
|
trusted_owners = ["your-org"]
|
|
162
162
|
```
|
|
163
163
|
|
|
164
|
-
In a pull request, Vigilante reads `vigilante.toml` from the merge base. So a pull request cannot change the rules that check it. [docs/configuration.md](https://github.com/theonly1me/vigilante/blob/v0.1.
|
|
164
|
+
In a pull request, Vigilante reads `vigilante.toml` from the merge base. So a pull request cannot change the rules that check it. [docs/configuration.md](https://github.com/theonly1me/vigilante/blob/v0.1.1/docs/configuration.md) lists each key and the lock format. It also tells you how to add rules for your own wrappers.
|
|
165
165
|
|
|
166
166
|
## What Vigilante is not
|
|
167
167
|
|
|
@@ -172,8 +172,8 @@ In a pull request, Vigilante reads `vigilante.toml` from the merge base. So a pu
|
|
|
172
172
|
|
|
173
173
|
## Contribute
|
|
174
174
|
|
|
175
|
-
Read [CONTRIBUTING.md](https://github.com/theonly1me/vigilante/blob/v0.1.
|
|
175
|
+
Read [CONTRIBUTING.md](https://github.com/theonly1me/vigilante/blob/v0.1.1/CONTRIBUTING.md). To report a security problem, read [SECURITY.md](https://github.com/theonly1me/vigilante/blob/v0.1.1/SECURITY.md). [docs/README.md](https://github.com/theonly1me/vigilante/blob/v0.1.1/docs/README.md) lists all the documentation.
|
|
176
176
|
|
|
177
177
|
## License
|
|
178
178
|
|
|
179
|
-
You can use Vigilante under the [Apache License 2.0](https://github.com/theonly1me/vigilante/blob/v0.1.
|
|
179
|
+
You can use Vigilante under the [Apache License 2.0](https://github.com/theonly1me/vigilante/blob/v0.1.1/LICENSE-APACHE) or the [MIT license](https://github.com/theonly1me/vigilante/blob/v0.1.1/LICENSE-MIT).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theonly1me/vigilante",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Shows the new powers that a pull request gives to code, CI, build, and AI agents",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"security",
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
"node": ">=18"
|
|
28
28
|
},
|
|
29
29
|
"optionalDependencies": {
|
|
30
|
-
"@theonly1me/vigilante-darwin-arm64": "0.1.
|
|
31
|
-
"@theonly1me/vigilante-darwin-x64": "0.1.
|
|
32
|
-
"@theonly1me/vigilante-linux-arm64": "0.1.
|
|
33
|
-
"@theonly1me/vigilante-linux-x64": "0.1.
|
|
30
|
+
"@theonly1me/vigilante-darwin-arm64": "0.1.1",
|
|
31
|
+
"@theonly1me/vigilante-darwin-x64": "0.1.1",
|
|
32
|
+
"@theonly1me/vigilante-linux-arm64": "0.1.1",
|
|
33
|
+
"@theonly1me/vigilante-linux-x64": "0.1.1"
|
|
34
34
|
}
|
|
35
35
|
}
|