@lifetimescriptkiddie/agentctl-kit
v0.1.0
Published
Security and state helpers shared by agentctl and shared_ptr: secret redaction, untrusted-text quoting, destructive-intent detection, private files, app home.
Readme
@lifetimescriptkiddie/agentctl-kit
Small security and state helpers shared by agentctl and shared_ptr. There is only one copy of this code, so security fixes land in both at once.
| Import | What |
|---|---|
| …/redact | strip credential-shaped strings before anything is logged or written |
| …/untrusted | quote untrusted text (memory, model output) so a model treats it as data |
| …/destructive | detect destructive or outward-facing intent (rm -rf, git push, …) |
| …/privateFs | 0700 directories and atomic 0600 files |
| …/appHome | an app's state directory (~/.<name>, overridable by an env var) |
Node.js 20+, ESM only.
