Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

Agent skill · Audited from source

njucli

skill · MarcWebber/njucliNOASSERTION licenceAudited 11 Oct 2026 · source e48161967243

★ 2pushed today
!CAUTIONGrade C · 72/100 · 20 findings · e481619
2repo stars · whole MarcWebber/njucli

Is it safe? With care — CAUTION, grade C (72/100). We read this skill's source at commit e48161967243 and observed filesystem and network access and a hard-coded secret (see the findings). The audit raised 20 findings, 0 critical or high. What it does: 登录南京大学统一身份认证、保存本地凭据、查询与维护会话状态、协助处理登录滑块验证。在涉及校园登录或会话失效时使用。

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “njucli (MarcWebber/njucli)”. Retrieved 11 Oct 2026. https://modelsatlas.com/skills/marcwebber/njucli

Trust audit

Audit 0.4.1 · source read 11 Oct 2026

Trust score72/100!CAUTION C
0 critical0 high6 medium11 low3 info

CAUTION means the audit found things worth knowing before you trust this skill. Grade C is shared by 105 of 18,389 audited skills.

What the source does

  • FilesystemDeclared5 observations
  • NetworkDeclared6 observations
  • ShellNone observedNo commands run in the source
  • DependenciesNot pinnedSome versions float
  • SecretsFoundSee the findings; values are never shown

Five audit layers

LayerWhat we checkResultFindings
L0 ProvenanceRepo owner, licence, archive status, activityPASS0
L1 Static sourceSecrets, path traversal, supply chain, hidden codeWARN17
L2 InstructionsPrompt injection, authority framing, hidden directivesPASS3
L3 InventoryThe files and declarations match the sourcePASS0
L4 SandboxRun in isolation and watch behaviourSKIPPED why0

Gates applied: no behavioural pass.

Findings (20)

MEDIUMNetwork egressnet.raw_ip · src/auth/daemon.ts:174
F-04 Network egressCWE-200 · CWE-319Layer L1
const response = await fetch(`http://127.0.0.1:${worker.port}/${action}`, {
Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.generic · tests/integration.test.mjs:493
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1
const uploadLink = await client.uploadLink("…", "…", { password: "…" });
Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.generic · tests/integration.test.mjs:864
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1
const credentials = { username: "…", password: "…" };
Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.generic · tests/integration.test.mjs:1101
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1
await writeJsonFile(started.processPath, { ...worker, pid: process.pid, token: "…" });
Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.generic · tests/integration.test.mjs:1732
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1
return generationError ? { errcode: 1 } : { errcode: "0"…"synt…" } };
Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.generic · tests/integration.test.mjs:1748
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1
await writeJsonFile(input, { address: "…", password: "…" });
Why
No further detail recorded for this rule.
Fix
—
LOWInsecure cryptocrypto.weak_hash · skills/njucli-sports/scripts/signing.ts:43
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
return createHash("md5").update(payload, "utf8").digest("hex");
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · skills/njucli-auth/scripts/run.ts:1
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { createRuntime } from '../../../src/app/runtime.js';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · skills/njucli-auth/scripts/run.ts:2
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { runSkill } from '../../../src/app/skill.js';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · skills/njucli-auth/scripts/runtime.ts:1
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
export { withBrowserSession } from '../../../src/auth/browser-session.js';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · skills/njucli-auth/scripts/runtime.ts:2
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
export { createAuthServices } from '../../../src/auth/service.js';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · skills/njucli-auth/scripts/runtime.ts:3
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
export { createRuntime } from '../../../src/app/runtime.js';
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · tests/integration.test.mjs:75
F-04 Network egressCWE-200 · CWE-319Layer L1
const origin = `http://127.0.0.1:${server.address().port}`;
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · tests/integration.test.mjs:933
F-04 Network egressCWE-200 · CWE-319Layer L1
const origin = `http://127.0.0.1:${server.address().port}`;
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · tests/integration.test.mjs:997
F-04 Network egressCWE-200 · CWE-319Layer L1
const origin = `http://127.0.0.1:${server.address().port}`;
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · tests/integration.test.mjs:1080
F-04 Network egressCWE-200 · CWE-319Layer L1
const rejected = await fetch(`http://127.0.0.1:${worker.port}/stop`, { method: "POST" });
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@modelcontextprotocol/sdk, cheerio, commander, imapflow, mailparser, playwright-core, zod, @types/mailparser
Why
11 dependency range(s) float
Fix
pin exact versions or ship a lockfile
INFOSupply chainprompt.pipe_to_shell · README.md:16
F-08 Supply chainCWE-829 · CWE-1357Layer L2
curl -fsSL https://raw.githubusercontent.com/MarcWebber/njucli/main/scripts/install.sh | bash
Why
No further detail recorded for this rule.
Fix
—
INFOSupply chainprompt.pipe_to_shell · README.md:32
F-08 Supply chainCWE-829 · CWE-1357Layer L2
curl -fsSL https://raw.githubusercontent.com/MarcWebber/njucli/main/scripts/install.sh | bash -s -- --skill ehall
Why
No further detail recorded for this rule.
Fix
—
INFOSupply chainprompt.pipe_to_shell · docs/ai-plugin.md:39
F-08 Supply chainCWE-829 · CWE-1357Layer L2
curl -fsSL https://raw.githubusercontent.com/MarcWebber/njucli/main/scripts/install.sh | bash -s -- --skill se
Why
No further detail recorded for this rule.
Fix
—

Audit 0.4.1 · source sha e48161967243 · 11 Oct 2026Report an issue or request a re-scan

Provenance

Who published it, and what the verdict is pinned to

  • PublisherMarcWebber GitHub userOwner of the repository this skill is read from
  • Source folderMarcWebber/njucliThe exact folder we audited
  • LicenceNOASSERTIONAs the repository states it
  • Commit pinned for this verdicte48161967243A new audit runs when the source changes
  • Repository statusNot archivedPushed today
  • Sandboxed runNot runSkills are read, not executed; layer L4 is skipped

What it tells the agent

Full source on GitHub ↗

Its description: 登录南京大学统一身份认证、保存本地凭据、查询与维护会话状态、协助处理登录滑块验证。在涉及校园登录或会话失效时使用。

---
name: njucli-auth
description: 登录南京大学统一身份认证、保存本地凭据、查询与维护会话状态、协助处理登录滑块验证。在涉及校园登录或会话失效时使用。
---

# 统一身份认证

以下命令在本 Skill 目录运行;扫码由本人完成。

## 运行前提

已保存会话的查询通过 HTTP 执行,网页登录及页面操作按需启动本机浏览器。当前浏览器入口使用 Playwright 的 `chrome` 通道。后台保活由 Node.js 启动独立 CLI 进程,在 Unix 系统上使用相同的命令和 XDG 目录规则。Windows 的后台进程行为待验证。

## 登录与状态

通过 JSON 文件导入统一认证账号与密码(内容包含 `username` 和 `password`):

```bash
node scripts/run.mjs auth login --credentials /path/to/auth.json
node scripts/run.mjs auth status sso --format json
node scripts/run.mjs auth login box
node scripts/run.mjs account use ACCOUNT
```

省略登录目标时默认使用 `sso`。也支持单独登录 `box`、`selection`、`ehall`、`timetable`、`se`、`tex`、`sports`、`youth`、`table`、`vpn`、`opac` 等站点。

`account use` 或环境变量 `NJUCLI_ACCOUNT` 用于选择本地账号。业务命令会按需恢复登录,`auth status` 返回 `valid` 表示会话可用。CLI 使用专用浏览器与账号目录,普通浏览器中的登录由该浏览器独立保存。

凭据和 Cookie 保存在 `~/.config/njucli/accounts/<账号>/`,可通过 `XDG_CONFIG_HOME` 设置配置根目录,文件权限为 0600。浏览器资料目录由 `XDG_DATA_HOME` 设置数据根目录。同一账号的调用通过进程锁串行读写 Cookie。

## 会话维护

```bash
node scripts/run.mjs auth maintain --format json
```

该命令检查统一认证与 EHall 会话,并保存更新的 Cookie。会话有效时返回 `kept-alive`,用已存凭据恢复成功后返回 `restored`。

学校决定会话的闲置期限和最长有效期;到期后使用已存凭据重新登录。用户要求持续维护时,启动下方后台进程,并按实际闲置期限设置间隔。

## 后台保活

先保存统一认证凭据,再启动常驻 CLI 进程,持续维护当前账号:

```bash
node scripts/run.mjs auth daemon start
node scripts/run.mjs auth daemon status --format json
node scripts/run.mjs auth daemon stop
```

启动后立即维护一次,之后每轮结束后等待 600 秒。使用 `start --interval 300` 可设为五分钟;间隔支持 1–2147483 秒的整数。调整间隔时先 `stop` 再 `start`。通过构建后的 CLI 或本 Skill 的 `scripts/run.mjs` 启动。

进程固定启动时的账号与配置目录,每轮复用账号 Cookie 和进程锁,退出终端后继续运行。系统重启或进程退出后通过 `start` 恢复。普通网络失败后在下个周期再维护;学校拒绝凭据、凭据缺失或要求本人操作时结束进程,处理原因后重新启动。后台保活停止时,业务命令仍会按需检查和恢复会话。

`status` 返回 `running/pid`(进程状态)、`intervalSeconds`(维护间隔)、`lastSuccess`(最近成功维护)和 `lastResult`(最近输出)。账号目录下的 `auth-daemon/process.json` 与 `auth-daemon/output.log` 保存进程记录和脱敏日志,权限为 0600。默认路径为 `~/.config/njucli/accounts/<账号>/auth-daemon/`;设置 `XDG_CONFIG_HOME` 后位于该根目录的 `njucli/accounts/<账号>/auth-daemon/`。

`stop` 等待当前维护结束后清理进程记录。退出账号、删除账号或升级 CLI 前先停止后台进程;升级后重新启动,使用新的 CLI 入口。

遇到登录错误时:

- `AUTH_REJECTED`:按学校返回的原因检查账号状态和凭据。
- `AUTH_CHALLENGE_FAILED`:滑块验证尝试超限,请重新运行或使用下方滑块脚本。
- `USER_ACTION_REQUIRED`:需要手机扫码或其他人工操作,请在官方页面完成。
- `AUTH_RESTORE_FAILED`:自动恢复会话失败,请检查网络或重新登录。

## 滑块验证辅助

统一认证已内置滑块识别。若多次验证失败,可在交互式终端运行辅助脚本:

```bash
node scripts/login.mjs
```

输入 `shot` 获取截图,再输入 `drag x y dx` 拖动滑块。`x/y` 是滑块按钮中心,`dx` 是向右移动的距离,均按当前截图的 CSS 像素计算。验证成功后保存会话;完成后删除临时截图 `njucli-slider.png`。

Excerpt, first 2,427 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.

Install

Pinned to the audited commit e481619

Download folder ↗
git clone https://github.com/MarcWebber/njucli
git -C njucli checkout e48161967243

The author documents no install command, so this uses the repository directly. Our verdict covers commit e48161967243 only.

Works in which agents?

What its own text says, not a test

AgentStatusMore
CodexMentioned in its text, not testedSkills for Codex · About Codex
CursorMentioned in its text, not testedSkills for Cursor · About Cursor
“Mentioned” means the skill’s text names the agent. We have not run it there.

Audit history

Every audit, every source change

  1. !CAUTION C 72 / 100

    first audit · source e48161967243

README badge

For maintainers · shows the latest audit

ModelsAtlas: CAUTION CMODELSATLASCAUTION · C
[![ModelsAtlas: CAUTION C](https://modelsatlas.com/skills/marcwebber/njucli/badge.svg)](https://modelsatlas.com/skills/marcwebber/njucli/)

The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.

Add this badge to your README

[![ModelsAtlas: CAUTION C](https://modelsatlas.com/skills/marcwebber/njucli/badge.svg)](https://modelsatlas.com/skills/marcwebber/njucli/)

Questions about njucli

What does the njucli skill do?
南京大学校园服务 CLI 与 AI Skills
Is njucli safe to install?
With care. The audit graded it C (72/100) and found 20 things worth knowing before you trust this skill, listed below with the exact line each was found on.
What can njucli access on my machine?
The audit observed that it reaches the network and reads or writes files. Each of those is consistent with what it says it does. Secrets in the source: found — see the findings.
Which assistants does njucli work with?
Its documentation mentions codex and cursor. That is what the text claims, not a compatibility test we ran.
How current is this page?
The grade is for one exact copy of the source (e48161967243), read on 2026-10-11. The repository is watched, and a new audit runs when it changes — this is the first audit.

Sources

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.