rsdouglas

Janee

運維安全v0.1.2
作者:rsdouglas更新於 2026-05-18共 2 個版本 · 最新版本釋出於 2026-02-03janee@clawhub_rsdouglas/janee
安全掃描許可權檢查配置生成

據 AlphaMoat 統計,截至 2026-09,Janee 累計下載 3,776 次、獲 1 個星標,在全部 5,078 個 AI 技能中排名第 2,808 位,在「運維安全」分類(264 個)中排名第 173 位。

累計安裝
150
累計下載
3776
星標
1
全站排名
#2,808
全站前 56% · 「運維安全」前 66%
平台累計安裝累計下載星標評論
ClawHub ↗12036111-
SkillHub ↗15037761—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

主文聲稱 Janee 會加密儲存金鑰、在請求時注入憑據,並支援按路徑設定策略、記錄審計軌跡和撤銷存取;還描述了 OpenClaw 外掛整合。上述安全能力是源文中的產品主張,當前素材未獨立驗證。部署前應審查實現、金鑰儲存和存取策略,採用最小權限,並避免把敏感值放入聊天或記錄檔;透過代理發起的請求仍可能產生外部副作用。 需 Node/npm 與相容 MCP/外掛。已報告 URL 處理缺陷可能洩漏儲存憑證:拒絕絕對及通訊協定相對路徑,注入憑證前驗證最終 origin,獲批本機開發外強制 HTTPS。確認這些修復後才能使用正式環境或高權限金鑰。

資料釋出於 2026-10-27

可以用來做什麼

  • 管理服務憑據並減少直接暴露金鑰的場景
  • 為 API 設定唯讀或按路徑限制的呼叫權限
  • 檢查請求審計記錄並在需要時撤銷能力

什麼時候用

  • 需要為 agent 管理外部 API 憑據時
  • 經安全審查並確認服務、端點、允許路徑和權限範圍後

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

根據這份材料設計 API 憑據與路徑權限的唯讀審查清單;不要安裝外掛、新增金鑰或發起任何 API 請求。

月度資料趨勢

累計下載3776
2470317238732026-03 · 累計下載 25672026-05 · 累計下載 30782026-06 · 累計下載 32012026-07 · 累計下載 34452026-08 · 累計下載 35202026-09 · 累計下載 377626-0326-09
星標1
0122026-03 · 星標 12026-05 · 星標 12026-06 · 星標 12026-07 · 星標 12026-08 · 星標 12026-09 · 星標 126-0326-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-093776—1
2026-083520+2.2%1
2026-073445+7.6%1
2026-063201+4.0%1
2026-053078—1
2026-032567—1

SKILL.md 原文

以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。

3.2 KB · ClawHub v0.1.2
---
name: janee
version: 0.1.0
description: Secrets management for AI agents. Never expose your API keys again.
homepage: https://github.com/rsdouglas/janee
metadata: {"category": "security", "emoji": "🔐"}
---

# Janee
展開全部(共 128 行)
Secrets management for AI agents. Store API keys encrypted, make requests through Janee, never touch the real key.

## Why Use Janee?

Most skills tell you to store API keys in plaintext config files. One prompt injection, one leaked log, one compromised session — and your keys are exposed.

Janee fixes this:
- **Keys encrypted at rest** — not plaintext JSON
- **Agent never sees the real key** — requests go through Janee
- **Path-based policies** — restrict what endpoints can be called
- **Full audit trail** — every request logged
- **Kill switch** — revoke access without rotating keys

## Install

```bash
npm install -g @true-and-useful/janee
janee init
```

## Add a Service

```bash
janee add
```

Follow the prompts to add your API credentials. Keys are encrypted automatically.

## Use in Your Agent

Instead of calling APIs directly with your key, call them through Janee:

```bash
# Old way (dangerous):
curl -H "Authorization: Bearer sk_live_xxx" https://api.stripe.com/v1/balance

# Janee way (safe):
# Agent calls execute(capability, method, path) via MCP
# Janee injects the key, agent never sees it
```

## OpenClaw Integration

Install the OpenClaw plugin for native tool support:

```bash
openclaw plugins install @true-and-useful/janee-openclaw
```

Your agent now has:
- `janee_list_services` — see available APIs
- `janee_execute` — make requests through Janee
- `janee_reload_config` — hot-reload after config changes

## Example: Secure Moltbook Access

Instead of storing your Moltbook key in `~/.config/moltbook/credentials.json`:

```bash
janee add moltbook -u https://www.moltbook.com/api/v1 -k YOUR_KEY
```

Then use Janee to post:

```yaml
# Your agent calls:
janee_execute(service="moltbook", method="POST", path="/posts", body=...)
```

Your Moltbook key stays encrypted. Even if your agent is compromised, the key can't be exfiltrated.

## Config Example

```yaml
services:
  stripe:
    baseUrl: https://api.stripe.com
    auth:
      type: bearer
      key: sk_live_xxx  # encrypted

  moltbook:
    baseUrl: https://www.moltbook.com/api/v1
    auth:
      type: bearer
      key: moltbook_sk_xxx  # encrypted

capabilities:
  stripe_readonly:
    service: stripe
    rules:
      allow: [GET *]
      deny: [POST *, DELETE *]

  moltbook:
    service: moltbook
    ttl: 1h
    autoApprove: true
```

## Architecture

```
┌─────────────┐      ┌──────────┐      ┌─────────┐
│  AI Agent   │─────▶│  Janee   │─────▶│   API   │
│             │ MCP  │          │ HTTP │         │
└─────────────┘      └──────────┘      └─────────┘
      │                   │
   No key           Injects key
                    + logs request
```

## Links

- GitHub: https://github.com/rsdouglas/janee
- npm: https://www.npmjs.com/package/@true-and-useful/janee
- OpenClaw Plugin: https://www.npmjs.com/package/@true-and-useful/janee-openclaw

「運維安全」分類下的熱門技能

資料月份:2026-09 · 下載/星標/安裝數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。