Ae1
- Category
- analysis-evasion
- Confidence
- 100% confidence
- Finding
Referenced artifact was not completely inspected
- Content
md python3 scripts/analyze_dupes.py --folder '<folderID>' --policy newest --json ./pikpak-dup-report.json
Security audit
Security checks for vulnerabilities and agentic risk
The skill is a disclosed PikPak duplicate-analysis helper that reads file metadata, writes a report, and only prints deletion commands after manual approval.
Install only if you are comfortable letting the skill read metadata from the specific PikPak folder you name and write a local report. Review reports manually before approving any ID, do not run printed rm commands unless you understand PikPak recovery behavior, and ignore the referral code unless you intentionally want to use it.
Referenced artifact was not completely inspected
python3 scripts/analyze_dupes.py --folder '<folderID>' --policy newest --json ./pikpak-dup-report.json
Referenced artifact was not completely inspected
python3 scripts/analyze_dupes.py --folder '<folderID>' --policy newest --json ./pikpak-dup-report.json
The skill invokes shell commands, writes reports to disk, and relies on environment/configuration, but it does not declare any explicit tool scope or permission boundary. That increases the chance an agent or runner grants broader-than-necessary capabilities, undermining the skill's stated read-only and approval-gated safety model.
The skill is presented as a read-only duplicate-analysis workflow, but it also includes affiliate/referral-driven registration instructions unrelated to that purpose. This creates a social-engineering and scope-creep risk: an agent could steer users into account actions or propagate a referral code under the guise of maintenance or onboarding, despite the skill not needing registration to perform local duplicate analysis.
subprocess module calls execute external commands. Without careful input validation, this enables command injection.
cmd += ["-t", page_token]
timeout = timeout_seconds()
try:
proc = subprocess.run(cmd, capture_output=True, text=True, timeout=timeout)
except FileNotFoundError:
raise ScanError("找不到只读 CLI;请独立检查安装。", code="CLI_UNAVAILABLE") from None
except subprocess.TimeoutExpired:
The executable path comes from the PIKPAK_BIN environment variable and is passed directly to subprocess.run, so a caller who can influence the environment can cause the script to execute an arbitrary binary instead of the expected pikpak CLI. This is not shell injection, but it is still an execution-control issue that can lead to arbitrary code execution in the script’s security context.
cmd += ["-t", page_token]
timeout = timeout_seconds()
try:
proc = subprocess.run(cmd, capture_output=True, text=True, timeout=timeout)
except FileNotFoundError:
raise ScanError("找不到只读 CLI;请独立检查安装。", code="CLI_UNAVAILABLE") from None
except subprocess.TimeoutExpired:
No suspicious patterns detected.