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
累计下载
3,776
星标
1
全站排名
#2,808
全站前 56% · 「运维安全」前 66%
平台累计安装累计下载星标评论
ClawHub ↗1203,6111-
SkillHub ↗1503,7761—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

主文声称 Janee 会加密保存密钥、在请求时注入凭据,并支持按路径配置策略、记录审计轨迹和撤销访问;还描述了 OpenClaw 插件集成。上述安全能力是源文中的产品主张,当前素材未独立验证。部署前应审查实现、密钥存储和访问策略,采用最小权限,并避免把敏感值放入聊天或日志;通过代理发起的请求仍可能产生外部副作用。 需 Node/npm 与兼容 MCP/插件。已报告 URL 处理缺陷可能泄漏存储凭据:拒绝绝对及协议相对路径,注入凭据前验证最终 origin,获批本地开发外强制 HTTPS。确认这些修复后才能使用生产或高权限密钥。

资料发布于 2026-10-27

可以用来做什么

  • 管理服务凭据并减少直接暴露密钥的场景
  • 为 API 配置只读或按路径限制的调用权限
  • 检查请求审计记录并在需要时撤销能力

什么时候用

  • 需要为 agent 管理外部 API 凭据时
  • 经安全审查并确认服务、端点、允许路径和权限范围后

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

根据这份材料设计 API 凭据与路径权限的只读审查清单;不要安装插件、添加密钥或发起任何 API 请求。

月度数据趋势

累计下载3,776
2,4703,1723,8732026-03 · 累计下载 2,5672026-05 · 累计下载 3,0782026-06 · 累计下载 3,2012026-07 · 累计下载 3,4452026-08 · 累计下载 3,5202026-09 · 累计下载 3,77626-0326-09
星标1
0122026-03 · 星标 12026-05 · 星标 12026-06 · 星标 12026-07 · 星标 12026-08 · 星标 12026-09 · 星标 126-0326-09

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-093,776—1
2026-083,520+2.2%1
2026-073,445+7.6%1
2026-063,201+4.0%1
2026-053,078—1
2026-032,567—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),按月更新。口径说明见数据方法。