@fidacy/openclaw-plugin 0.2.0 → 0.2.2
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/CHANGELOG.md +12 -0
- package/README.md +24 -0
- package/dist/index.js +2 -2
- package/openclaw.plugin.json +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.2
|
|
4
|
+
|
|
5
|
+
README: a Security and privacy section answering the ClawHub audit point by
|
|
6
|
+
point (telemetry and provisioning opt-outs, local state paths, what
|
|
7
|
+
FIDACY_SIGNING_KEY_B64 is, no hardcoded secrets in the bundle). No code change.
|
|
8
|
+
|
|
9
|
+
## 0.2.1
|
|
10
|
+
|
|
11
|
+
Manifest catch-up: openclaw.plugin.json version was stale (0.1.18) in the 0.2.0
|
|
12
|
+
artifact, and the engineApiKey help now points to the free key and explains it
|
|
13
|
+
keeps the firewall active past the 20-decision anonymous trial. No code change.
|
|
14
|
+
|
|
3
15
|
## 0.2.0
|
|
4
16
|
|
|
5
17
|
Activation gate (same engine as @fidacy/mcp 0.2.0): anonymous installs get 20
|
package/README.md
CHANGED
|
@@ -70,6 +70,30 @@ the free key is set. Claim an anonymous install's history:
|
|
|
70
70
|
|
|
71
71
|
Verify any verdict yourself: https://api.fidacy.com/.well-known/jwks.json
|
|
72
72
|
|
|
73
|
+
## Security and privacy, point by point
|
|
74
|
+
|
|
75
|
+
This is a payment-control plugin, so audit it like one. What it actually does:
|
|
76
|
+
|
|
77
|
+
- **Network calls it makes:** anonymous usage telemetry to `api.fidacy.com/v1/telemetry`
|
|
78
|
+
(an install UUID plus event enums; never payee, amount, currency, or content) and a
|
|
79
|
+
background free-key provision to `/v1/provision`. Both are opt-out:
|
|
80
|
+
`FIDACY_DISABLE_TELEMETRY=1` and `FIDACY_DISABLE_PROVISION=1`. Neither is ever on
|
|
81
|
+
the decision path; payment gating works fully offline.
|
|
82
|
+
- **Local state:** `~/.fidacy/config.json` (0600; anon id, tier, your mandate rules)
|
|
83
|
+
and `~/.fidacy/audit/audit.log` (the hash-chained decision log). Nothing else.
|
|
84
|
+
- **`FIDACY_SIGNING_KEY_B64`:** an OPTIONAL env var the operator sets to pin a
|
|
85
|
+
stable local Ed25519 signing key for grants. If unset, a per-session key is
|
|
86
|
+
generated. The plugin reads it; it never writes or transmits it.
|
|
87
|
+
- **API keys:** read from your plugin config (`engineApiKey`) or the
|
|
88
|
+
`FIDACY_ENGINE_API_KEY` env var, sent only to your configured engine URL
|
|
89
|
+
(default `api.fidacy.com`) as a bearer token. There are no hardcoded keys or
|
|
90
|
+
secrets in the published bundle; scanner hits on those lines are pattern matches
|
|
91
|
+
on the env/config reads above, and you can verify yourself: the bundle is
|
|
92
|
+
unminified on npm and mirrored at github.com/lucaslubi/fidacy-mcp (plugin-native/).
|
|
93
|
+
- **Verify our signatures, not our word:** every verdict checks against the public
|
|
94
|
+
JWKS at `api.fidacy.com/.well-known/jwks.json` with the open-source
|
|
95
|
+
[`@fidacy/verify`](https://www.npmjs.com/package/@fidacy/verify).
|
|
96
|
+
|
|
73
97
|
## Prefer MCP instead?
|
|
74
98
|
|
|
75
99
|
If you'd rather run Fidacy as an MCP server (out-of-process), use
|
package/dist/index.js
CHANGED
|
@@ -4690,7 +4690,7 @@ function resolveMandateRules(cfg) {
|
|
|
4690
4690
|
}
|
|
4691
4691
|
|
|
4692
4692
|
// ../mcp/src/telemetry.ts
|
|
4693
|
-
var CLIENT_VERSION = true ? "0.2.
|
|
4693
|
+
var CLIENT_VERSION = true ? "0.2.2" : "dev";
|
|
4694
4694
|
function bandOf(amount) {
|
|
4695
4695
|
if (typeof amount !== "number" || !Number.isFinite(amount) || amount <= 0) return void 0;
|
|
4696
4696
|
if (amount < 10) return "lt10";
|
|
@@ -4867,7 +4867,7 @@ function requestUpgrade() {
|
|
|
4867
4867
|
}
|
|
4868
4868
|
|
|
4869
4869
|
// ../mcp/src/provision.ts
|
|
4870
|
-
var CLIENT_VERSION2 = true ? "0.2.
|
|
4870
|
+
var CLIENT_VERSION2 = true ? "0.2.2" : "dev";
|
|
4871
4871
|
function provisionEnabled() {
|
|
4872
4872
|
const v = (process.env.FIDACY_DISABLE_PROVISION ?? "").trim().toLowerCase();
|
|
4873
4873
|
return !(v === "1" || v === "true" || v === "yes");
|
package/openclaw.plugin.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"name": "Fidacy — Payment Firewall",
|
|
4
4
|
"description": "A signed, independently-verifiable verdict on every money-moving agent action. Blocks wrong/lookalike payee, over-cap, and duplicate-invoice fraud before money moves. Non-custodial, local-first, deny-by-default.",
|
|
5
5
|
"icon": "https://fidacy.com/logo.png",
|
|
6
|
-
"version": "0.
|
|
6
|
+
"version": "0.2.2",
|
|
7
7
|
"contracts": {
|
|
8
8
|
"tools": [
|
|
9
9
|
"request_payment",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"label": "Engine API key",
|
|
39
39
|
"placeholder": "fky_live_...",
|
|
40
40
|
"sensitive": true,
|
|
41
|
-
"help": "
|
|
41
|
+
"help": "Free key at app.fidacy.com/signup. Enables signed trust verdicts (assess_action) and keeps the firewall active past the 20-decision anonymous trial."
|
|
42
42
|
},
|
|
43
43
|
"engineUrl": {
|
|
44
44
|
"label": "Engine URL",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fidacy/openclaw-plugin",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Fidacy payment firewall as a native OpenClaw plugin: signed, verifiable verdicts on every money-moving agent action, in-process (no MCP subprocess).",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://fidacy.com",
|