Back to skill

Security audit

Quark Subtitle Rescue

Security checks for vulnerabilities and agentic risk

Overview

This skill is a coherent Quark subtitle batch workflow, but users should treat the Quark cookie and cloud-drive changes carefully.

Before installing, confirm you trust the existing quark_subtitle_tool because this skill tells the agent to run its scripts against your Quark account. Store the Quark cookie securely, do not paste or print it, and review batch results before accepting uploads or rollback deletes.

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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (4)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
84% confidence
Finding

The skill instructs filesystem-dependent operations and references specific local paths and report files, but it does not declare an explicit tool scope such as allowed file-read permissions. In an agent setting, missing scope declarations can cause overbroad file access or make reviewers unable to verify the minimum necessary privileges, increasing the chance of unintended data exposure.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill requires a valid Quark cookie in a user config file but provides no handling guidance for this sensitive credential. Without warnings or safeguards, users or agents may expose the cookie in logs, prompts, shell history, screenshots, or reports, enabling account takeover or unauthorized cloud storage access.

Content

No source excerpt is available for this finding.

Dynamic import via __import__()

Medium
Category
Dangerous Code Execution
Confidence
75% confidence
Finding

Dynamic import() can load arbitrary modules at runtime, bypassing static analysis and potentially importing malicious code.

Content

Scanner excerpt · scripts/report_progress.py (reported line 6)May include surrounding context.

python
from pathlib import Path

# Optional env override: QUARK_WORK_DIR=/path/to/quark_subtitle_tool/quark_work
ROOT = Path(__import__('os').environ.get('QUARK_WORK_DIR', 'quark_subtitle_tool/quark_work')).expanduser().resolve()


def load(p):

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
72% confidence
Finding

L40-L41 define subtitle preferences with a default of bilingual zh+en and discuss Chinese-only fallback, which imposes a locale/language preference in the skill description. Because the document does not clearly state that users may choose other language preferences, this may violate the language-choice policy.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.