Incomplete referenced artifact analysis
- Category
- analysis-evasion
- Confidence
- 100% confidence
- Finding
Referenced artifact was not completely inspected
- Content
md | `scripts/publish_note.js` | 填标题/正文/话题/传图,**默认不点发布**(`--publish` 才点) |
Security audit
Security checks for vulnerabilities and agentic risk
ClawScan marks this skill suspicious because scanners report actions that may disrupt unrelated browser sessions and do not reliably confirm a post is publicly visible; two scripts were only partly inspected.
The verdict is suspicious, so review the concerns before installing. In particular, consider whether you are comfortable with a setup step that may close unrelated browser sessions, verification that may not confirm the actual post, and the global CLI installation instruction. The scan was partial, so it does not establish that the scripts are safe.
Referenced artifact was not completely inspected
| `scripts/publish_note.js` | 填标题/正文/话题/传图,**默认不点发布**(`--publish` 才点) |
Referenced artifact was not completely inspected
| `scripts/verify_note.js` | 取 id/token/短链 + 无痕上下文验证公开可见 |
Without declared permissions the skill's intent is opaque and cannot be validated.
The bootstrap executes playwright-cli kill-all rather than limiting cleanup to the skill's own session. This can terminate unrelated automation sessions and interrupt work or lose unsaved browser state, exceeding what is necessary to attach the publishing session.
The script silently terminates existing playwright-cli sessions while presenting itself as browser bootstrap and attachment. This is the same underlying issue as the unscoped kill-all finding: unrelated user activity can be disrupted without an opportunity to approve or preserve it.
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
// 2) 短链(需 www 域有登录态;note_id 必须用 API 给的 id,不能从当前 URL 猜)
try {
const key = await page.evaluate(async (nid) => {
const r = await fetch("https://edith.xiaohongshu.com/api/sns/web/share/code", {
method: "POST", credentials: "include",
headers: { "content-type": "application/json" },
body: JSON.stringify({ note_id: nid })
Without --expect, any final URL lacking /404 is accepted as publicly visible, including login, challenge, generic error, or unrendered pages. Even with --expect, the required title check is absent, allowing the agent to report successful public publication without verifying the intended content.
The remedy explicitly instructs running npm install -g @playwright/cli@latest, rather than merely listing an available tool. It does not disclose that this installs third-party software globally and may change the CLI version used by other projects.
When local Playwright imports fail, the script executes npm root -g through a shell. Neither the usage docstring nor a comment or user-facing message explains this subprocess operation.