Atlas / Skills / tencentblueking / Nodejs Security Check

Nodejs Security CheckSAFE

skills/tencentblueking/nodejs-security-check

蓝鲸智云容器管理平台(BlueKing Container Service)

Verdict
SAFE
Grade
B
Trust score
89 /100
Version
—
Hosts
—
License
NOASSERTION
Stars
840
01

Overview

蓝鲸智云容器管理平台(BlueKing Container Service)

Read from source at commit 87a6fdb6f4b4OBSERVED · 2026-10-12
Advertisement
02

What 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: sec-nodejs-check
name: Node.js 安全审查
category: security
description: 检查 RCE、SSRF、SQL 注入、路径穿越等安全问题,支持 Express/Koa/NestJS
tags: [security, nodejs, backend, ssrf, sql-injection]
updated_at: 2026-01-20
allowed-tools: [Read, Grep, Glob, Shell]
---

# Node.js 安全审查

## ⚠️ 核心规则

1. **永不信任用户输入** - 所有请求数据须 Schema 验证
2. **安全默认** - 使用安全 API(execFile 而非 exec)
3. **纵深防御** - 输入验证 + 参数化查询 + 输出编码

## 快速开始

```bash
/nodejs-security-check                    # 智能扫描 src 目录
/nodejs-security-check file src/xxx.js    # 扫描指定文件
/nodejs-security-check report             # 生成详细报告
```

## 问题分级

| 前缀 | 含义 | 处理方式 |
|------|------|----------|
| `🔴 严重` | 可被直接利用 | 阻止发布 |
| `🟡 中等` | 需特定条件 | 尽快修复 |
| `⚪ 建议` | 最佳实践 | 可选优化 |

## 检查维度

| 维度 | 检查项 |
|------|--------|
| 输入验证 | Schema 验证、HPP 防护、请求体限制 |
| 命令执行 | exec/spawn 注入、shell: true |
| 文件操作 | 路径穿越、上传安全、ZipSlip |
| 网络请求 | SSRF、私网阻断、DNS 重绑定 |
| 数据库 | SQL 注入、NoSQL 注入、Mass Assignment |
| 认证授权 | JWT 算法、会话安全、权限校验 |

## 📦 按需加载资源

| 资源 | URI |
|-----|-----|
| 完整检查清单 | `skill://nodejs-security-check/references/checklist.md` |
| 修复示例 | `skill://nodejs-security-check/references/fix-examples.md` |
| 评分标准 | `skill://nodejs-security-check/references/scoring-standard.md` |


---
## 📦 可用资源

- `skill://nodejs-security-check/references/checklist.md`
- `skill://nodejs-security-check/references/fix-examples.md`
- `skill://nodejs-security-check/references/report-format.md`
- `skill://nodejs-security-check/references/scoring-standard.md`
- `skill://nodejs-security-check/references/security-toolkit.md`

> 根据 SKILL.md 中的 IF-THEN 规则判断是否需要加载
03

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.

LayerWhat it checksResult
L0Provenance & inventoryWARN
L1Static analysis of the codeNA
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
none-observed
Shell
none-observed
Dependencies
pinned
Secrets in source
none-found

Findings (1)

MEDIUMInventory / provenance · inv.symlink · CWE-1104
.codebuddy
.codebuddy
Why it matters. link not followed

Gates applied: no_behavioural_pass.

Audited 2026-10-12 · audit v0.4.1 · source sha 87a6fdb6f4b4full audit observations/trust-audit/skill/tencentblueking__nodejs-security-check.json · Report an issue / request a re-scan
04

Audit history

Every audit this skill has had.

DateSourceVerdictGradeScoreChange
2026-10-1287a6fdb6f4b4SAFEB89first audit
05

Questions

What does the Nodejs Security Check skill do?

蓝鲸智云容器管理平台(BlueKing Container Service)

Is Nodejs Security Check 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 Nodejs Security Check 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.

Advertisement