Back to skill

Security audit

免费抖音作品分析

Security checks for vulnerabilities and agentic risk

Overview

ClawScan marks this skill suspicious because a confirmed issue says it can delete existing reports before a replacement succeeds, while inspection of its main script was incomplete.

Consider the suspicious verdict and incomplete script inspection before installing. In particular, weigh the possibility of losing existing reports on a failed run, and seek a complete review of the script and clarification of its tool scope.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
Findings (11)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

The supplied code contains only npm test, with no demonstrated Douyin page access, metadata extraction, content analysis, or report generation. Running tests could support a larger implementation, but no such implementation or connection is present here. The assessment is limited to the supplied chunk; the test script's underlying behavior is unknown.

Content

No source excerpt is available for this finding.

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 54)May include surrounding context.

md
node scripts/douyin-work-analyzer.mjs analyze \

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 63)May include surrounding context.

md
node scripts/douyin-work-analyzer.mjs analyze \

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 71)May include surrounding context.

md
node scripts/douyin-work-analyzer.mjs analyze --mock ./fixtures/failure-login-gate.json --output /tmp/douyin-login-failure

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 72)May include surrounding context.

md
node scripts/douyin-work-analyzer.mjs analyze --mock ./fixtures/failure-empty-snapshot.json --output /tmp/douyin-empty-failure

Credential Access

High
Category
Privilege Escalation
Confidence
60% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · scripts/douyin-work-analyzer.mjs (reported line 676)May include surrounding context.

js
const outputDir = await mkdtemp(join(tmpdir(), "douyin-work-analyzer-"));
  const successDir = join(outputDir, "success");
  const scriptPath = join(projectRoot, "scripts", "douyin-work-analyzer.mjs");
  const runCli = (args, env = {}) => spawnSync(process.execPath, [scriptPath, ...args], { cwd: projectRoot, encoding: "utf8", env: { ...process.env, EASY_WEBBRIDGE_TOKEN: "", ...env } });
  const reportFiles = REPORT_FILES;
  const assertNoSensitiveData = (value, label) => {
    if (/(token|cookie|browserId|fake-secret-value|fixture-session-9988)/i.test(String(value))) throw new Error(`${label} 包含敏感字段或测试值`);

The Markdown report is required to be in Chinese without offering the user a language choice.

Medium
Category
Output Handling
Confidence
96% confidence
Finding

The output specification explicitly defines the generated Markdown as a Chinese report. It provides neither user opt-in nor a documented justification for requiring that language regardless of the user's preference.

Content

No source excerpt is available for this finding.

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: env, network.

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding

Without declared permissions the skill's intent is opaque and cannot be validated.

Content

No source excerpt is available for this finding.

Existing reports are silently deleted before analysis, even when the new run fails.

Medium
Category
Output Handling
Confidence
99% confidence
Finding

runAnalyze unconditionally deletes both existing report files in the selected output directory before validating inputs or completing analysis, and deletes them again on failure. Although intended to prevent stale success reports, a failed or invalid rerun can destroy a previously valid report without confirmation or recovery; the deletion is limited to the two fixed report filenames.

Content

No source excerpt is available for this finding.

Scope Creep

Low
Category
Excessive Agency
Confidence
70% confidence
Finding

Skill's behavior or capabilities extend beyond its stated purpose. Scope creep allows an agent to perform actions unrelated to its documented functionality, increasing the attack surface.

Content

Scanner excerpt · LICENSE (reported line 7)May include surrounding context.

text
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

The Markdown report is fixed to Chinese without an explicit user language choice.

Low
Category
Output Handling
Confidence
94% confidence
Finding

The output specification explicitly describes the generated Markdown report as Chinese-language, without offering an output-language choice or justifying a mandatory locale. The link to English documentation does not establish that users can select the report language.

Content

No source excerpt is available for this finding.