pentect 0.0.26 → 0.0.28

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.
Files changed (2) hide show
  1. package/README.md +27 -164
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,173 +1,36 @@
1
- # Pentect
1
+ <p align="center">
2
+ <a href="https://pentect.dev/">
3
+ <img src="website/public/pentect-logo-transparent.png" width="96" alt="Pentect">
4
+ </a>
5
+ </p>
2
6
 
3
- Pentect is a local security boundary for AI coding tools. It replaces secrets
4
- and sensitive data with opaque handles before requests reach a model provider,
5
- then resolves those handles only at trusted client tool boundaries.
7
+ <h1 align="center">Pentect</h1>
6
8
 
7
- Pentect currently supports Codex CLI, Claude Code, OpenCode, Pi, Codex App, and
8
- Claude Desktop. It also provides standalone masking commands and sandboxed
9
- WebAssembly plugins.
9
+ <p align="center">AI can use your secrets without ever seeing them.</p>
10
10
 
11
- > Pentect is pre-1.0 security software. Unknown provider formats are blocked by
12
- > default, but no filter can promise perfect detection. Keep provider and tool
13
- > permissions narrow and review the documented limitations before production
14
- > use.
11
+ <p align="center">
12
+ <a href="https://pentect.dev/">Documentation</a> ·
13
+ <a href="https://pentect.dev/start/install/">Install</a> ·
14
+ <a href="https://pentect.dev/start/quick-start/">Quick start</a>
15
+ </p>
15
16
 
16
- ## Install
17
+ <p align="center">
18
+ <a href="https://github.com/EdamAme-x/pentect/actions/workflows/ci.yml"><img src="https://img.shields.io/github/actions/workflow/status/EdamAme-x/pentect/ci.yml?branch=main&label=CI" alt="CI"></a>
19
+ <a href="https://github.com/EdamAme-x/pentect/releases/latest"><img src="https://img.shields.io/github/v/release/EdamAme-x/pentect" alt="Latest release"></a>
20
+ <a href="LICENSE"><img src="https://img.shields.io/github/license/EdamAme-x/pentect" alt="MIT License"></a>
21
+ </p>
17
22
 
18
- Windows PowerShell:
23
+ Pentect is a local security boundary between supported AI clients and their
24
+ providers. Start with the [documentation](https://pentect.dev/).
19
25
 
20
- ```powershell
21
- irm https://pentect.dev/install | iex
22
- ```
26
+ ## Repository guides
23
27
 
24
- Linux and macOS:
28
+ - [Compatibility](COMPATIBILITY.md)
29
+ - [Plugins](PLUGINS.md)
30
+ - [Security](SECURITY.md)
31
+ - [Contributing](CONTRIBUTING.md)
32
+ - [Third-party notices](THIRD_PARTY_LICENSES.txt)
25
33
 
26
- ```sh
27
- curl -fsSL https://pentect.dev/install.sh | sh
28
- ```
34
+ ## License
29
35
 
30
- The installers detect the platform, download a GitHub Release asset, and verify
31
- its SHA-256 checksum. Run `pentect doctor` after installation. Version-specific
32
- installation is supported with `-Version X.Y.Z` in PowerShell or
33
- `--version X.Y.Z` for `install.sh`.
34
-
35
- Package managers are also supported:
36
-
37
- ```sh
38
- # Homebrew (macOS or Linux)
39
- brew install EdamAme-x/pentect/pentect
40
-
41
- # Nix
42
- nix profile install github:EdamAme-x/pentect
43
-
44
- # Nix, temporary shell
45
- nix shell github:EdamAme-x/pentect
46
-
47
- # Nix, pinned to a Pentect release
48
- nix profile install github:EdamAme-x/pentect/nix-vX.Y.Z
49
-
50
- # npm (downloads a checksummed release binary)
51
- npm install --global pentect
52
-
53
- # Cargo (builds from source)
54
- cargo install --git https://github.com/EdamAme-x/pentect --locked pentect-cli
55
- ```
56
-
57
- Debian and Ubuntu users can configure the signed Pentect repository and install
58
- the package with one command:
59
-
60
- ```sh
61
- curl -fsSL https://pentect.dev/install-apt.sh | sudo sh
62
- ```
63
-
64
- When installed by Homebrew, Nix, or apt, use that package manager to update or
65
- remove Pentect. The CLI detects managed installations and will not overwrite
66
- package-owned files.
67
-
68
- ## Use
69
-
70
- Launch a supported CLI through Pentect:
71
-
72
- ```text
73
- pentect codex
74
- pentect claude
75
- pentect opencode --model openai/gpt-5
76
- pentect pi --model openai/gpt-5
77
- ```
78
-
79
- Use a Responses- or Messages-compatible gateway without changing permanent
80
- client configuration:
81
-
82
- ```text
83
- pentect codex --upstream http://127.0.0.1:8080/openai/v1
84
- pentect claude --upstream http://127.0.0.1:8080/anthropic
85
- pentect opencode --model anthropic/claude-sonnet --upstream http://127.0.0.1:8080/openai/v1
86
- pentect pi --model anthropic/claude-sonnet --upstream http://127.0.0.1:8080/openai/v1
87
- ```
88
-
89
- Launch a desktop app only when explicitly requested:
90
-
91
- ```text
92
- pentect codex app
93
- pentect claude app
94
- ```
95
-
96
- These commands protect Codex mode and supported Claude Desktop Chat, Code, and
97
- attachment traffic; they do not claim coverage for every Chat, Work, Cowork,
98
- Voice, or future opaque route.
99
-
100
- Mask text from stdin while preserving opaque handles:
101
-
102
- ```sh
103
- cat .env | pentect mask
104
- cat terraform.tfvars | pentect mask
105
- ```
106
-
107
- PowerShell:
108
-
109
- ```powershell
110
- Get-Content .env -Raw | pentect mask
111
- ```
112
-
113
- Common maintenance commands:
114
-
115
- ```text
116
- pentect doctor [--json | --fix [--yes]]
117
- pentect update [VERSION] [--check | --force]
118
- pentect uninstall
119
- pentect log [--json]
120
- ```
121
-
122
- ## What is protected
123
-
124
- - Prompts and local tool results sent through supported model gateways
125
- - Completed model tool-call arguments, resolved only for the local client tool
126
- - dotenv, Terraform, Kubernetes, kubeconfig, AWS, npm, PyPI, JSON, and other
127
- recognized structured configuration
128
- - Inline images and documents that Pentect can inspect safely
129
- - Supported UTF-8 Files API uploads
130
-
131
- Binary uploads that Pentect cannot inspect or safely rewrite are blocked. File
132
- IDs and remote URLs are accepted only when Pentect can establish safe coverage;
133
- otherwise the configured unscanned-content policy applies.
134
-
135
- Unknown provider endpoints, content blocks, and malformed provider JSON are
136
- blocked by default. A user may explicitly select compatibility mode in the
137
- global configuration, but project configuration cannot weaken this policy.
138
-
139
- See [compatibility](COMPATIBILITY.md) for the release-tested client matrix.
140
-
141
- ## Plugins
142
-
143
- Plugins are either declarative regex rules or portable WebAssembly middleware.
144
- Wasm plugins run without WASI, filesystem, environment, process, or raw socket
145
- access. Network destinations and payload-changing permissions require explicit
146
- approval.
147
-
148
- ```text
149
- pentect plugins new NAME
150
- pentect plugins dev PATH
151
- pentect plugins publish PATH
152
- pentect plugins add github:@owner/repository/path
153
- pentect plugins list
154
- pentect plugins inspect NAME
155
- pentect plugins test NAME
156
- pentect plugins update NAME
157
- ```
158
-
159
- See [PLUGINS.md](PLUGINS.md) for plugin authoring and security details.
160
- The Rust SDK is published as
161
- [`pentect-plugin`](https://crates.io/crates/pentect-plugin).
162
- The first-party catalog includes a one-file regex example and an optional
163
- [OpenAI Privacy Filter adapter](https://pentect.dev/plugins/official/).
164
-
165
- ## Security and development
166
-
167
- Report vulnerabilities privately as described in [SECURITY.md](SECURITY.md).
168
- Contributions are welcome; see [CONTRIBUTING.md](CONTRIBUTING.md).
169
-
170
- Pentect is licensed under the [MIT License](LICENSE).
171
- Third-party notices, including the bundled OCR model attribution, are available
172
- in [`THIRD_PARTY_LICENSES.txt`](THIRD_PARTY_LICENSES.txt) and are attached to
173
- each GitHub Release.
36
+ [MIT](LICENSE)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pentect",
3
- "version": "0.0.26",
3
+ "version": "0.0.28",
4
4
  "type": "module",
5
5
  "description": "Local secret masking boundary for AI agents",
6
6
  "license": "MIT",