Scan your whole stack
From OX Research Newsroom
Are you using funsecret?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v2.1.1
funsecret was last scanned on 28 Nov 2026 at version 2.1.1. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 2.1.1 LATEST | 28 Nov 2026 | No rules fired |
| 2.1.0 | 28 Nov 2026 | No rules fired |
| 2.0.2 | 28 Nov 2026 | No rules fired |
| 2.0.1 | 27 Nov 2026 | Not shown |
| 2.0.0 | 27 Nov 2026 | Not shown |
Findings for v2.1.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 2.1.1; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
funsecret 是一个本地优先的加密密钥管理工具。核心引擎采用 Rust 实现(funsecret-core),同时提供:
funsecret):零 Python 依赖、毫秒级冷启动,内置 SQLite3 / MySQL(含 MariaDB)/ PostgreSQL 支持(兼容 SQLAlchemy 方言 URL 前缀,便于跨库迁移),通过 cargo install / apt / brew / GitHub Release 分发;funsecret):基于 PyO3 + maturin 包装,零运行时依赖,兼容历史 Python API 与 ~/.secret/.funsecret.db 数据库格式;funsecret-core):供 Rust 服务与工具直接调用。适合存这些内容:
默认把数据保存在本机 ~/.secret/.funsecret.db(权限 0600),按 2–5 级分类路径读取,例如 app prod mysql password。
# APT(添加 farfarfun 源后,见 https://farfarfun.github.io/packages/funsecret/)
sudo apt install funsecret
# Homebrew
brew install farfarfun/packages/funsecret
# Cargo
cargo install funsecret
# 或直接从 GitHub Releases 下载对应平台的静态二进制 / .deb
pip install funsecret
本地源码开发:
cargo build --release --package funsecret
maturin develop --release
写入一个 secret:
funsecret write my-password app prod mysql password
通过 stdin 安全写入(适合含 - 开头或多行内容,不暴露在进程参数中):
printf '%s' 'sk-xxxxx' | funsecret write --stdin openai prod api_key
可选指定过期时间(小于 1000000000 按相对秒数,否则按 Unix 时间戳):
funsecret write --expire 3600 temp-token app dev token
读取一个 secret(支持 --json 无损输出):
funsecret read app prod mysql password
funsecret read --json app prod mysql password
删除单条 secret:
funsecret delete app prod mysql password
查看有哪些 key(只显示路径,不显示值;支持 --json 返回时间戳元数据):
funsecret list
funsecret list --json
查看当前存储信息(支持 --json):
funsecret info
funsecret info --json
清空当前本地 secret:
funsecret clear
funsecret clear --yes
同步到/自外部数据库(支持 SQLite3 / MySQL / MariaDB / PostgreSQL,自动兼容 SQLAlchemy 方言 URL 前缀如 sqlite+pysqlite:///、mysql+pymysql://、postgresql+psycopg2://、postgres://):
# MySQL / MariaDB
funsecret save mysql+pymysql://username:password@127.0.0.1:3306/funsecret --cipher-key my-secret-key
funsecret load mysql+pymysql://username:password@127.0.0.1:3306/funsecret --cipher-key my-secret-key
# PostgreSQL
funsecret save postgresql+psycopg2://username:password@127.0.0.1:5432/funsecret --cipher-key my-secret-key
funsecret load postgresql://username:password@127.0.0.1:5432/funsecret --cipher-key my-secret-key
# SQLite3
funsecret save sqlite:///backup.db --cipher-key my-secret-key
不传
--cipher-key时目标库以明文写入/按明文读取;省略 URL 时自动使用funsecret db url路径中保存的默认地址。
from funsecret import delete_secret, list_secret, read_secret, write_secret
write_secret("my-password", "app", "prod", "mysql", "password")
password = read_secret("app", "prod", "mysql", "password")
tree = list_secret()
delete_secret("app", "prod", "mysql", "password")
FUN_SECRET_PATH:覆盖默认主目录(密钥目录为 <FUN_SECRET_PATH>/.secret)FUN_SECRET_URL:直接指定数据库 URL(sqlite:///... 或 mysql://...)FUN_CACHE_SECRET_PATH / FUN_CACHE_SECRET_HOME:短期缓存目录配置云盘快照功能由工作区子包 extbuild/funsecret-snapshot 单独提供。
farfarfun 是一个专注于实用工具库的开源组织,涵盖云存储、数据处理、AI、多媒体与开发工具链等方向。
本项目基于 MIT 协议开源。
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.