@akasecurity/ai-tc-claude-code 0.9.11 → 0.9.13
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/.claude-plugin/plugin.json +1 -1
- package/commands/scan.md +1 -1
- package/commands/setup.md +31 -3
- package/package.json +2 -2
- package/scripts/apply-suppressions.js +1722 -791
- package/scripts/backfill.js +4428 -3403
- package/scripts/content-retention.js +34307 -0
- package/scripts/filescan.js +4615 -3458
- package/scripts/firstrun.js +4389 -3379
- package/scripts/history-sync.js +1916 -866
- package/scripts/intro.js +520 -68
- package/scripts/message-display.js +1704 -773
- package/scripts/onboard.js +1711 -772
- package/scripts/post-model-switch.js +546 -83
- package/scripts/post-tool-use.js +4433 -3408
- package/scripts/pre-model-switch.js +4412 -3380
- package/scripts/pre-tool-use.js +4464 -3412
- package/scripts/query.js +4497 -3375
- package/scripts/reconcile.js +4404 -3393
- package/scripts/remediate.js +4428 -3403
- package/scripts/scan-worker.js +441 -30
- package/scripts/session-start.js +4482 -3450
- package/scripts/start-light.js +518 -66
- package/scripts/statusline.js +4388 -3377
- package/scripts/stop.js +555 -92
- package/scripts/sync.js +4621 -3464
- package/scripts/user-prompt-submit.js +4452 -3406
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aka",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.13",
|
|
4
4
|
"description": "AI Traffic Control — inspect and govern AI prompts in Claude Code. Detection runs locally; events are recorded to a local SQLite store on your machine.",
|
|
5
5
|
"homepage": "https://github.com/akasecurity/ai-tc",
|
|
6
6
|
"author": { "name": "AKA Security" }
|
package/commands/scan.md
CHANGED
|
@@ -23,7 +23,7 @@ cryptography, hardcoded credentials, dev-mode configuration leaks, and other
|
|
|
23
23
|
OWASP Top 10 issues.
|
|
24
24
|
|
|
25
25
|
Results are recorded to the local store (`~/.aka/data/aka.db`) and are visible
|
|
26
|
-
via `/findings`. Re-running `/aka:scan` is safe — files whose content has already
|
|
26
|
+
via `/aka:findings`. Re-running `/aka:scan` is safe — files whose content has already
|
|
27
27
|
been recorded are skipped.
|
|
28
28
|
|
|
29
29
|
Files excluded by the repo's `.gitignore` are **still scanned** — local scratch
|
package/commands/setup.md
CHANGED
|
@@ -885,10 +885,38 @@ what happened, show the one-liner so they can retry later, and continue the
|
|
|
885
885
|
wizard normally. The plugin is already fully set up and works on its own; a
|
|
886
886
|
failed CLI install changes nothing about that.
|
|
887
887
|
|
|
888
|
-
**Close the wizard.** The first-run summary already confirmed the saved posture
|
|
889
|
-
|
|
890
|
-
|
|
888
|
+
**Close the wizard.** The first-run summary already confirmed the saved posture,
|
|
889
|
+
reported the health score, and pointed at `/aka:dashboard` · `/aka:scan`.
|
|
890
|
+
Whichever way the CLI offer went — installed, declined, or a failed install you
|
|
891
|
+
already reported — end with one warm close:
|
|
891
892
|
"That's it — I'm watching out for Claude going forward."
|
|
892
893
|
|
|
893
894
|
Before you finish, confirm every AKA_SHOW region on the path you took was
|
|
894
895
|
relayed to the user. If you summarized one instead of pasting it, paste it now.
|
|
896
|
+
|
|
897
|
+
## Known limitations
|
|
898
|
+
|
|
899
|
+
Reference, not a step. Be honest about these if the user asks why something was
|
|
900
|
+
not caught; never imply coverage this plugin does not have.
|
|
901
|
+
|
|
902
|
+
**A redact policy cannot mask text that EXECUTES, and what happens instead is a
|
|
903
|
+
setting.** Rewriting a shell command would silently change what runs, and a
|
|
904
|
+
masked URL requests a different resource — so on `Bash` and on `WebFetch`'s
|
|
905
|
+
`url` there is no safe way to carry out a redact. **An MCP payload leaf is in
|
|
906
|
+
the same class, for a different reason:** the schema belongs to the server, so a
|
|
907
|
+
string there could be a body, a query or a command and this plugin cannot tell
|
|
908
|
+
which — it is treated as executable rather than guessed at. What applies in
|
|
909
|
+
place of the redact is the workspace's **redact fallback** (`redactFallback` in
|
|
910
|
+
`~/.aka/settings/settings.json`, or pinned for a machine by an administrator).
|
|
911
|
+
|
|
912
|
+
It ships as **warn**: the command runs, or the request goes out, with the value
|
|
913
|
+
unmasked, and AKA says so in the session. Set it to **block** for the stricter
|
|
914
|
+
behaviour, where the call is denied and the message explains what to remove.
|
|
915
|
+
This matters most on `WebFetch`, because a request that has left cannot be
|
|
916
|
+
recalled and no later hook can help.
|
|
917
|
+
|
|
918
|
+
Data fields are unaffected either way — `Write`, `Edit`, `WebFetch`'s analysis
|
|
919
|
+
prompt — and keep true redaction, including the reversible vault rewrite where
|
|
920
|
+
vault consent is on file. Whichever path applies, the
|
|
921
|
+
recorded finding carries the action that actually happened, never a "redact"
|
|
922
|
+
that did not.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@akasecurity/ai-tc-claude-code",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.13",
|
|
4
4
|
"description": "AI Traffic Control — inspect and govern AI prompts in Claude Code",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"typescript": "^5.8.0",
|
|
29
29
|
"vitest": "^4.1.11",
|
|
30
30
|
"zod": "^4.5.4",
|
|
31
|
-
"@akasecurity/persistence": "0.8.0",
|
|
32
31
|
"@akasecurity/plugin-runtime": "0.8.0",
|
|
32
|
+
"@akasecurity/persistence": "0.8.0",
|
|
33
33
|
"@akasecurity/eslint-config": "0.8.0",
|
|
34
34
|
"@akasecurity/plugin-sdk": "0.8.0",
|
|
35
35
|
"@akasecurity/scanner": "0.8.0",
|