Bk Security RedlinesSAFE
蓝鲸智云容器管理平台(BlueKing Container Service)
Overview
蓝鲸智云容器管理平台(BlueKing Container Service)
87a6fdb6f4b4OBSERVED · 2026-10-12What it tells the agent
The instruction file, verbatim from the audited commit — this is the text the model reads, and the surface the audit's instruction layer examines. Quoted here so you can judge it without cloning anything.
--- id: security/bk-security-redlines name: 蓝鲸代码安全三大红线 category: security description: 基于 IEG 安全规范,覆盖输入校验、鉴权、数据加密三大高危领域 tags: [security, input-validation, auth, encryption, redlines] updated_at: 2026-01-23 --- # 蓝鲸代码安全三大红线 ## ⚠️ 核心规则 ### 红线 1:外部输入未校验 外部输入进入**高危操作**前,必须完成**服务端强约束校验**(类型/长度/格式/白名单),不可绕过。 **高危操作**:命令执行、模板解释/eval、文件路径、请求目标、SQL/NoSQL 构造、渲染解析、协议输出 ### 红线 2:敏感接口未鉴权 高危能力或敏感资源接口必须同时实施**身份认证 + 权限校验**,缺一即违规。 **禁止**:接口无认证、仅登录不校验权限、依赖前端字段/URL/IP 判权、服务间调用无鉴权 ### 红线 3:敏感数据未加密 敏感数据(密码/Token/AKSK/私钥/PII)在存储、传输、日志、导出任一环节保护不当即违规。 **禁止**:硬编码凭证、明文存储、异常回显细节、日志记录敏感字段、URL 携带 token ## 常见错误 | 错误做法 | 正确做法 | |---------|---------| | ❌ 仅前端/网关校验 | ✅ 服务端强约束校验 | | ❌ 仅判空/黑名单 | ✅ 白名单 + 类型/长度/格式 | | ❌ 内网可达即放通 | ✅ 服务间调用也需鉴权 | | ❌ 日志记录完整请求 | ✅ 脱敏后记录 | ## 📦 按需加载资源 | 资源 | URI | 说明 | |-----|-----|------| | 输入校验详解 | `skill://bk-security-redlines/references/input-validation.md` | 7 类高危操作场景 | | 鉴权检查详解 | `skill://bk-security-redlines/references/auth-check.md` | 8 类鉴权缺失场景 | | 数据加密详解 | `skill://bk-security-redlines/references/data-encryption.md` | 8 类加密缺失场景 | --- ## 📦 可用资源 - `skill://bk-security-redlines/references/auth-check.md` - `skill://bk-security-redlines/references/data-encryption.md` - `skill://bk-security-redlines/references/input-validation.md` > 根据 SKILL.md 中的 IF-THEN 规则判断是否需要加载
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | WARN |
| L1 | Static analysis of the code | NA |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- none-observed
- Shell
- none-observed
- Dependencies
- pinned
- Secrets in source
- none-found
Findings (1)
.codebuddy
Gates applied: no_behavioural_pass.
87a6fdb6f4b4full audit observations/trust-audit/skill/tencentblueking__bk-security-redlines.json · Report an issue / request a re-scanAudit history
Every audit this skill has had.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-12 | 87a6fdb6f4b4 | SAFE | B | 89 | first audit |
Questions
What does the Bk Security Redlines skill do?
蓝鲸智云容器管理平台(BlueKing Container Service)
Is Bk Security Redlines safe to install?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean skill reads B.
What can Bk Security Redlines access on my machine?
The audit observed no filesystem, network or shell use at all in its source.
How current is this page?
The grade is for one exact copy of the source (87a6fdb6f4b4), read on 2026-10-12. The repository is watched, and a new audit runs when it changes — this is the first audit.