Agent skill · Audited from source
njucli
skill · MarcWebber/njucliNOASSERTION licenceAudited 11 Oct 2026 · source e48161967243
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: 登录南京大学统一身份认证、保存本地凭据、查询与维护会话状态、协助处理登录滑块验证。在涉及校园登录或会话失效时使用。
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
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
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | WARN | 17 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 3 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (20)
MEDIUMNetwork egressnet.raw_ip · src/auth/daemon.ts:174
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
const uploadLink = await client.uploadLink("…", "…", { password: "…" });- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.generic · tests/integration.test.mjs:864
const credentials = { username: "…", password: "…" };- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.generic · tests/integration.test.mjs:1101
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
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
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
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
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
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
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
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
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
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
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
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
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
@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
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
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
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
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
| Agent | Status | More |
|---|---|---|
| Codex | Mentioned in its text, not tested | Skills for Codex · About Codex |
| Cursor | Mentioned in its text, not tested | Skills for Cursor · About Cursor |
Audit history
Every audit, every source change
- !CAUTION C 72 / 100
first audit · source
e48161967243
README badge
For maintainers · shows the latest audit
[](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.
Similar skills
All coding & review skills →knowsuchagency/mcp2cli
Turn any MCP server, OpenAPI spec, or GraphQL endpoint into a CLI. Use this skill when the user wants to interact with an MCP server, OpenAPI/REST API, or GraphQL API via command line, discover available…
stripe/ai
Guide for upgrading Stripe API versions, webhook endpoints, server-side SDKs, Stripe.js, and mobile SDKs
stripe/ai
Use when the user or agent needs to read, search, or look up Stripe documentation or API reference. Prefer this over curl or WebFetch for any docs.stripe.com content. Use to fetch gated documentation.
stripe/ai
Guides Stripe integration decisions across development and test environment planning (separate sandboxes vs the shared test mode sandbox), API selection (Checkout Sessions vs PaymentIntents), Connect platform setup…
stripe/ai
Use when the user wants to provision infrastructure or third-party services using Stripe Projects. Triggers: "I need a database", "set up auth", "add caching", "give me a Postgres", "provision Redis", "I need hosting",…
stripe/ai
Use this skill when the user asks about Stripe Connect configuration, charge patterns, Dashboard access, or how to get started with Connect, is building a marketplace, platform, multi-vendor store, gig platform, or…
Add this badge to your README
[](https://modelsatlas.com/skills/marcwebber/njucli/)
<a href="https://modelsatlas.com/skills/marcwebber/njucli/"><img src="https://modelsatlas.com/skills/marcwebber/njucli/badge.svg" alt="ModelsAtlas: CAUTION C"></a>
Questions about njucli
What does the njucli skill do?
Is njucli safe to install?
What can njucli access on my machine?
Which assistants does njucli work with?
How current is this page?
Sources
- github.com/MarcWebber/njucli — the audited source at commit e48161967243 and every finding aboveObserved · 11 Oct 2026
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.
- What does the njucli skill do?
- Is njucli safe to install?
- What can njucli access on my machine?