スキル videocut
📦

videocut

コンテンツリビジョン r3 重大 ⚙️ 外部コマンド📁 ファイルシステムへのアクセス⚡ スクリプトを含む🌐 ネットワークアクセス🔑 環境変数

تنظيف مقاطع الفيديو المنطوقة باستخدام قصّات الطوابع الزمنية

غالبا ما تحتوي مقاطع الفيديو المنطوقة على أخطاء وكلمات حشو وفترات صمت طويلة. تطبق هذه المهارة تعديلات الطوابع الزمنية المؤكدة باستخدام FFmpeg وتتحقق من النتيجة عبر التفريغ النصي.

対応: Claude Codex Code(CC)
Maintain this Skill? Claim it ⚠️ 38 不十分

自分のエージェントでインストール

このリクエストをエージェントにコピーしてください。正規の Skill ページとマニフェストが含まれています。

エージェントリクエスト
Review the Skillstore skill "videocut" from https://skillstore.io/skills/ceeon-videocut.md and its manifest at https://skillstore.io/api/skills/ceeon-videocut/manifest. Verify the artifact. Do not auto-install. Inspect the skill and report your findings, then wait for an operator or manual installation decision.

エージェントは引き続き計画を提示し、セキュリティポリシーで必要な確認を求める必要があります。

エージェントが読めるリソース

AI エージェント、クローラー、スクリプトがページ全体ではなく整理されたコンテキストを必要とする場合は、これらのリンクを使ってください。

テストする

「videocut」を使用しています。 تحدد قائمة مهام مؤكدة ثلاثة أخطاء منطوقة وفترتي صمت طويلتين للحذف.

期待される結果:

تنتج المهارة نسخة فيديو معدلة جديدة، وتفريغا نصيا للتحقق، وملف ترجمة SRT.

「videocut」を使用しています。 يطلب المستخدم الاحتفاظ بعنصري صمت مع حذف جميع النطاقات المحددة الأخرى.

期待される結果:

يحافظ القص النهائي على التوقفات المطلوبة ويزيل فقط نطاقات الطوابع الزمنية المعتمدة.

「videocut」を使用しています。 تجد جولة مراجعة كلمة حشو واحدة متبقية بعد القص الأول.

期待される結果:

ينشئ سير العمل مهمة حذف جديدة ويكرر التحرير بعد تأكيد المستخدم.

セキュリティ監査

重大

Most alerts are false positives from Markdown examples, JavaScript template literals, expected media I/O, fixed relative paths, and Chinese text entropy. Confirmed risks include shell injection, an unauthenticated traversal-prone review server, generated-page script injection, arbitrary URL fetching, and external audio and credential handling. Publication should wait until the high-risk execution and server issues are fixed.

19
スキャンされたファイル
3,676
解析済み行数
41
レビュー項目
0
誤検知を無視

確認済みのセキュリティ上の懸念 (4)

重大
Unauthenticated Review Server Exposes Files and Cut Operations
The server allows any origin, maps request URLs directly to filesystem paths, and exposes unauthenticated write and cut endpoints. Its unspecified listen host can expose traversal-based file reads and expensive edits to network peers.
The code has permissive CORS, no authentication, no path canonicalization, and no loopback host restriction. The exposed handlers perform file writes and invoke media processing.
高
Environment file access
ENV_FILE="$(dirname "$(dirname "$SCRIPT_DIR")")/.env"
The script resolves and uses a shared .env file outside its own directory. It later reads VOLCENGINE_API_KEY from that credential file.
高
Generated Review Page Allows Script Injection
The generator inserts the video filename and serialized transcript data directly into HTML and an inline script without HTML-safe escaping. Crafted input can close the script or markup context and execute JavaScript.
The direct template interpolation is visible and JSON.stringify does not escape the HTML script-closing sequence. Both filename and transcript files are caller-controlled inputs.
高
Arbitrary Audio URL Fetch Enables SSRF and Reupload
The transcription script accepts any HTTP or HTTPS URL, follows redirects, and applies no destination restrictions. It then sends the downloaded content to Volcengine, enabling access to internal URLs and external disclosure.
The URL is accepted from the first argument and passed to curl with redirect following. The resulting file is base64-encoded and submitted to a third-party endpoint.
機能レビュー項目 (41)

これらは、このスキルに期待される可能性のある実際のローカル機能であるため、レビューが必要ですが、確認済みの悪意ある動作としてはカウントされません。

高
Shell command substitution
TOTAL_SEGS=$(node -e "
The command substitution builds Node source containing the caller-controlled deletion-list path and ffprobe output. A path containing quotes can escape the JavaScript string and execute code.
高
Unix shell invocation
const script = '#!/bin/bash\nffmpeg -y -v error' +
This generated shell script embeds the input video path without shell escaping and is later executed with bash. A crafted filename can break the quoted argument and inject commands.
高
Node.js fs operations
const deleteSegs = JSON.parse(fs.readFileSync('$DELETE_JSON', 'utf8'));
The deletion-list path is interpolated directly into Node source rather than passed as an argument. Quote characters in the path create a code-injection path.
高
Node.js fs operations
fs.writeFileSync('$TMP_DIR/cmd_' + padded + '.sh', script);
The file operation writes executable shell scripts whose command text contains an unescaped input video path. Those files are executed later, making crafted filenames dangerous.
高
Synchronous file operations
const deleteSegs = JSON.parse(fs.readFileSync('$DELETE_JSON', 'utf8'));
The synchronous read is expressed inside dynamically constructed Node source with an unescaped caller-controlled path. This can become JavaScript code execution.
高
Synchronous file operations
fs.writeFileSync('$TMP_DIR/cmd_' + padded + '.sh', script);
This write persists generated shell commands containing an unescaped video path. The later bash execution turns malformed filenames into a command-injection risk.
高
Node.js child_process module
const { execSync } = require('child_process');
The server imports child_process and later builds shell command strings from the video path. Because the path can be caller-controlled, the module enables command injection in request-triggered work.
高
Synchronous process execution
execSync(`bash "${scriptPath}" "${VIDEO_FILE}" delete_segments.json "${outputFile}"`, {
execSync runs a shell command string containing the caller-provided video path or an output path derived from it. Quoting alone does not prevent injection through embedded quotes or command substitutions.
高
Synchronous process execution
const originalDuration = parseFloat(execSync(`ffprobe -v error -show_entries format=duration -of csv
execSync runs a shell command string containing the caller-provided video path or an output path derived from it. Quoting alone does not prevent injection through embedded quotes or command substitutions.
高
Synchronous process execution
const newDuration = parseFloat(execSync(`ffprobe -v error -show_entries format=duration -of csv=p=0
execSync runs a shell command string containing the caller-provided video path or an output path derived from it. Quoting alone does not prevent injection through embedded quotes or command substitutions.
高
Synchronous process execution
audioOffset = parseFloat(execSync(`ffprobe -v error -show_entries format=start_time -of csv=p=0 "${a
execSync receives a command string containing a workspace-derived path. A quote or shell metacharacter in that path can alter the command.
高
Synchronous process execution
const duration = parseFloat(execSync(probeCmd).toString().trim());
execSync runs a shell command string containing the caller-provided video path or an output path derived from it. Quoting alone does not prevent injection through embedded quotes or command substitutions.
高
Synchronous process execution
execSync(cmd, { stdio: 'pipe' });
execSync runs a shell command string containing the caller-provided video path or an output path derived from it. Quoting alone does not prevent injection through embedded quotes or command substitutions.
高
Synchronous process execution
const newDuration = parseFloat(execSync(`ffprobe -v error -show_entries format=duration -of csv=p=0
execSync runs a shell command string containing the caller-provided video path or an output path derived from it. Quoting alone does not prevent injection through embedded quotes or command substitutions.
高
Synchronous process execution
execSync(cmd, { stdio: 'pipe' });
execSync runs a shell command string containing the caller-provided video path or an output path derived from it. Quoting alone does not prevent injection through embedded quotes or command substitutions.
高
Synchronous process execution
execSync(concatCmd, { stdio: 'pipe' });
execSync runs a shell command string containing the caller-provided video path or an output path derived from it. Quoting alone does not prevent injection through embedded quotes or command substitutions.
高
Ruby/shell backtick execution
execSync(`bash "${scriptPath}" "${VIDEO_FILE}" delete_segments.json "${outputFile}"`, {
This template literal is used to construct a shell command with a caller-controlled or derived media path. The resulting string is executed by a shell without robust escaping.
高
Ruby/shell backtick execution
const originalDuration = parseFloat(execSync(`ffprobe -v error -show_entries format=duration -of csv
This template literal is used to construct a shell command with a caller-controlled or derived media path. The resulting string is executed by a shell without robust escaping.
高
Ruby/shell backtick execution
const newDuration = parseFloat(execSync(`ffprobe -v error -show_entries format=duration -of csv=p=0
This template literal is used to construct a shell command with a caller-controlled or derived media path. The resulting string is executed by a shell without robust escaping.
高
Ruby/shell backtick execution
audioOffset = parseFloat(execSync(`ffprobe -v error -show_entries format=start_time -of csv=p=0 "${a
This JavaScript template literal constructs a shell command with a workspace-derived path and then passes it to execSync. A specially named directory can inject shell syntax.
高
Ruby/shell backtick execution
const probeCmd = `ffprobe -v error -show_entries format=duration -of csv=p=0 "file:${input}"`;
This template literal is used to construct a shell command with a caller-controlled or derived media path. The resulting string is executed by a shell without robust escaping.
高
Ruby/shell backtick execution
const cmd = `ffmpeg -y -i "file:${input}" -filter_complex "${filterComplex}" -map "[outv]" -map "[ou
This template literal is used to construct a shell command with a caller-controlled or derived media path. The resulting string is executed by a shell without robust escaping.
高
Ruby/shell backtick execution
const newDuration = parseFloat(execSync(`ffprobe -v error -show_entries format=duration -of csv=p=0
This template literal is used to construct a shell command with a caller-controlled or derived media path. The resulting string is executed by a shell without robust escaping.
高
Ruby/shell backtick execution
const cmd = `ffmpeg -y -ss ${seg.start.toFixed(3)} -i "file:${input}" -t ${segDuration.toFixed(3)} -
This template literal is used to construct a shell command with a caller-controlled or derived media path. The resulting string is executed by a shell without robust escaping.
高
Ruby/shell backtick execution
const concatCmd = `ffmpeg -y -f concat -safe 0 -i "${listFile}" -c copy "${output}"`;
This template literal is used to construct a shell command with a caller-controlled or derived media path. The resulting string is executed by a shell without robust escaping.
高
Node.js fs operations
fs.writeFileSync('saved_selection.json', body);
An unauthenticated HTTP endpoint accepts an unbounded request body and writes it to a fixed workspace file. Network clients can overwrite review state and consume memory or disk.
高
Node.js fs operations
fs.writeFileSync('delete_segments.json', JSON.stringify(deleteList, null, 2));
The unauthenticated cut endpoint writes attacker-supplied deletion ranges and immediately starts media processing. Any reachable client can alter output and trigger expensive work.
高
Node.js fs stat operations
if (!fs.existsSync(filePath)) {
The server applies the request URL directly to a relative filesystem path without canonicalization or root containment. Traversal sequences can make the stat operation target files outside the review directory.
高
Node.js fs stat operations
const stat = fs.statSync(filePath);
The server applies the request URL directly to a relative filesystem path without canonicalization or root containment. Traversal sequences can make the stat operation target files outside the review directory.
高
Synchronous file operations
fs.writeFileSync('saved_selection.json', body);
An unauthenticated HTTP endpoint accepts an unbounded request body and writes it to a fixed workspace file. Network clients can overwrite review state and consume memory or disk.
高
Synchronous file operations
fs.writeFileSync('delete_segments.json', JSON.stringify(deleteList, null, 2));
The unauthenticated cut endpoint writes attacker-supplied deletion ranges and immediately starts media processing. Any reachable client can alter output and trigger expensive work.
高
File stream creation
fs.createReadStream(filePath, { start, end }).pipe(res);
The stream serves a path derived directly from req.url without enforcing the review directory as a root. A traversal request can disclose arbitrary readable local files.
高
File stream creation
fs.createReadStream(filePath).pipe(res);
The stream serves a path derived directly from req.url without enforcing the review directory as a root. A traversal request can disclose arbitrary readable local files.
高
Hardcoded URL
SUBMIT_URL="https://openspeech.bytedance.com/api/v3/auc/bigmodel/submit"
This endpoint receives the user audio and API key over HTTPS as part of transcription. The transfer is intentional but is a real external data-disclosure boundary.
高
Hardcoded URL
QUERY_URL="https://openspeech.bytedance.com/api/v3/auc/bigmodel/query"
This endpoint is polled with the API key to retrieve transcription results. It is an intentional third-party network dependency with credential exposure.
高
Node.js fs operations
data: fs.readFileSync(audioFile).toString('base64'),
The script reads the complete audio file and base64-encodes it into a request sent to Volcengine. This is intentional, but user media leaves the local environment.
高
Synchronous file operations
data: fs.readFileSync(audioFile).toString('base64'),
The script reads the complete audio file and base64-encodes it into a request sent to Volcengine. This is intentional, but user media leaves the local environment.
高
Hidden file access
ENV_FILE="$(dirname "$(dirname "$SCRIPT_DIR")")/.env"
The script locates a shared ancestor .env file and later extracts a live API key from it. This is real access to hidden credential storage.
高
Generic API/secret keys
API_KEY=$(grep '^VOLCENGINE_API_KEY=' "$ENV_FILE" | tail -1 | cut -d'=' -f2- | tr -d '"' | tr -d "'"
This line reads VOLCENGINE_API_KEY from the shared .env file into process memory. The access is required for transcription but handles a live secret.
高
Generic API/secret keys
-H "X-Api-Key: $API_KEY" \
The API key is placed in an outbound X-Api-Key header to the configured Volcengine endpoint. This is expected authentication but remains credential disclosure to a third party.
高
Generic API/secret keys
-H "X-Api-Key: $API_KEY" \
The API key is placed in an outbound X-Api-Key header to the configured Volcengine endpoint. This is expected authentication but remains credential disclosure to a third party.

リスク要因

⚙️ 外部コマンド (50)
scripts/cut_video.sh:32 scripts/cut_video.sh:33 scripts/cut_video.sh:34 scripts/cut_video.sh:35 scripts/cut_video.sh:37 scripts/cut_video.sh:38 scripts/cut_video.sh:39 scripts/cut_video.sh:46 scripts/cut_video.sh:50 scripts/cut_video.sh:59-60 scripts/cut_video.sh:143 scripts/cut_video.sh:146 scripts/cut_video.sh:147 scripts/cut_video.sh:174 scripts/cut_video.sh:175 scripts/cut_video.sh:176 scripts/cut_video.sh:1 scripts/cut_video.sh:120 scripts/detect_en_stutter.js:43 scripts/detect_en_stutter.js:44 scripts/detect_en_stutter.js:47 scripts/generate_review.js:11 scripts/generate_review.js:42 scripts/generate_review.js:50 scripts/generate_review.js:59-919 scripts/generate_review.js:919-926 scripts/generate_review.js:926-927 scripts/generate_review.js:927-1027 scripts/generate_review.js:1032-1159 scripts/generate_review.js:1159-1332 scripts/generate_review.js:1332-1394 scripts/generate_review.js:1394 scripts/generate_review.js:1396-1410 scripts/generate_review.js:1410-1415 scripts/generate_review.js:1415-1420 scripts/generate_review.js:1420-1442 scripts/generate_review.js:1442-1479 scripts/generate_srt_for_video.sh:62 scripts/generate_srt_for_video.sh:67 scripts/generate_srt_for_video.sh:71 scripts/generate_srt_for_video.sh:30 scripts/generate_srt_for_video.sh:1 scripts/review_server.js:16 scripts/review_server.js:107 scripts/review_server.js:114 scripts/review_server.js:115 scripts/review_server.js:208 scripts/review_server.js:242 scripts/review_server.js:251 scripts/review_server.js:326
📁 ファイルシステムへのアクセス (50)
scripts/cut_video.sh:61 scripts/cut_video.sh:102 scripts/cut_video.sh:103 scripts/cut_video.sh:118 scripts/cut_video.sh:130 scripts/cut_video.sh:61 scripts/cut_video.sh:102 scripts/cut_video.sh:103 scripts/cut_video.sh:118 scripts/cut_video.sh:130 scripts/cut_video.sh:145 scripts/cut_video.sh:46 scripts/detect_en_stutter.js:18 scripts/detect_en_stutter.js:18 scripts/detect_en_stutter.js:20 scripts/generate_review.js:21 scripts/generate_review.js:22 scripts/generate_review.js:31 scripts/generate_review.js:35 scripts/generate_review.js:1481 scripts/generate_review.js:19 scripts/generate_review.js:21 scripts/generate_review.js:26 scripts/generate_review.js:34 scripts/generate_review.js:40 scripts/generate_review.js:31 scripts/generate_review.js:35 scripts/generate_review.js:1481 scripts/generate_review.js:999 scripts/generate_review.js:22 scripts/generate_srt_for_video.sh:45 scripts/generate_srt_for_video.sh:55 scripts/generate_srt_for_video.sh:70 scripts/generate_srt_for_video.sh:45 scripts/generate_srt_for_video.sh:55 scripts/generate_srt_for_video.sh:70 scripts/generate_srt_for_video.sh:55 scripts/generate_srt_for_video.sh:70 scripts/generate_srt_for_video.sh:71 scripts/generate_subtitles.js:19 scripts/generate_subtitles.js:59 scripts/generate_subtitles.js:140 scripts/generate_subtitles.js:14 scripts/generate_subtitles.js:58 scripts/generate_subtitles.js:19 scripts/generate_subtitles.js:59 scripts/generate_subtitles.js:140 scripts/review_server.js:22 scripts/review_server.js:53 scripts/review_server.js:68
⚡ スクリプトを含む (5)
🌐 ネットワークアクセス (12)
🔑 環境変数 (10)
監査者: codex 監査履歴を表示 →
このレポートを共有・引用

バージョン付き評価レポート、中立的なバッジ、埋め込みカード、引用を共有できます。Skillstore は証拠を報告しますが、この Skill が安全かどうかは判断しません。

バージョン別レポートを開く
セキュリティ評価

レポートリンクをコピー

https://skillstore.io/skills/ceeon-videocut/audits/9?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report

Markdownバッジ

[![Skillstore security assessment](https://skillstore.io/badges/skills/ceeon-videocut/security.svg)](https://skillstore.io/skills/ceeon-videocut?utm_source=security_passport_badge)

HTMLバッジ

<a href="https://skillstore.io/skills/ceeon-videocut?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/ceeon-videocut/security.svg" alt="Skillstore security assessment" loading="lazy"></a>

埋め込みカード

<iframe src="https://skillstore.io/embed/skills/ceeon-videocut.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>
学術引用 (APA · BibTeX · CFF)

APA形式の引用

chengfeng / AI产品自由. (2026). videocut security audit report (audit version 9) [Author version unspecified]. Skillstore. https://skillstore.io/skills/ceeon-videocut/audits/9

BibTeX形式の引用

@techreport{chengfeng-ai-ceeon-videocut-2026, author = {chengfeng / AI产品自由}, title = {videocut security audit report (audit version 9)}, institution = {Skillstore}, year = {2026}, number = {9}, url = {https://skillstore.io/skills/ceeon-videocut/audits/9}, note = {Author version unspecified} }

CITATION.cff

cff-version: 1.2.0 message: "If you use this Skill, cite its author and this versioned security audit report." title: "videocut security audit report (audit version 9)" version: "unspecified" type: report authors: - name: "chengfeng / AI产品自由" date-released: "2026-07-23" url: "https://skillstore.io/skills/ceeon-videocut/audits/9" identifiers: - type: other value: "skillstore:ceeon-videocut:audit:9" description: "Skillstore immutable audit report identifier"

Skillstore スコア

このスコアの理由 証拠の信頼度: 中
45
アーキテクチャ
85
保守性
87
コンテンツ
69
コミュニティ
78
仕様準拠

作成できるもの

تحرير مقاطع حديث منشئي المحتوى

إزالة الأخطاء المؤكدة وكلمات الحشو والتوقفات الطويلة من مقاطع الفيديو المنطوقة المسجلة.

إعداد مقاطع الدورات

تطبيق قصّات دقيقة بالطوابع الزمنية على تسجيلات المحاضرات قبل نشر مواد التعلم.

تنظيف الإحاطات الداخلية

تحويل تسجيلات الاجتماعات أو الإحاطات الأولية إلى مقاطع أنظف مع ترجمات.

これらのプロンプトを試す

تشغيل القصّات المؤكدة
استخدم videocut لتنفيذ مهام الحذف المؤكدة لهذا الفيديو. أبق العناصر غير المحددة وأنشئ الفيديو المعدل.
قص الكلام والتحقق منه
اقصص نطاقات الطوابع الزمنية المحددة، وأعد تفريغ الملف المعدل نصيا، وأبلغ عما إذا كانت هناك أي أخطاء كلام متبقية.
الحفاظ على فترات صمت محددة
نفذ جميع القصّات المحددة باستثناء عناصر الصمت 3 و5. أبق تلك التوقفات، ثم أنشئ ترجمات للنسخة النهائية.
التكرار حتى التنظيف الكامل
طبق قائمة الحذف الحالية، وأنشئ نسخة جديدة، وأعد تشغيل مراجعة التفريغ النصي، واستمر فقط مع القصّات الجديدة المؤكدة.

ベストプラクティス

  • أكد كل نطاق حذف قبل تشغيل FFmpeg.
  • استخدم نطاقات الطوابع الزمنية بدلا من البحث في نص التفريغ.
  • راجع التفريغ النصي المعدل قبل نشر الفيديو النهائي.

回避

  • لا تحذف المهام غير المحددة من قائمة المراجعة.
  • لا تبحث في النص مرة أخرى عندما تكون الطوابع الزمنية الدقيقة موجودة بالفعل.
  • لا تشغل أوامر الوسائط على مسارات غير موثوقة دون تأكيد المستخدم.

よくある質問

ما الذي تحتاجه هذه المهارة قبل التحرير؟
تحتاج إلى فيديو أصلي وقائمة حذف مؤكدة بالطوابع الزمنية من سير عمل المراجعة.
هل تنشئ ترجمات؟
نعم. ينشئ سير العمل ملف ترجمة SRT بعد أن يجتاز الفيديو المعدل المراجعة.
هل يمكنها تحديد الحذف تلقائيا؟
لا. صممت المهارة لتنفيذ مهام الحذف المؤكدة، وليس لاعتماد الإزالات بمفردها.
ما الأدوات التي تستخدمها؟
تستخدم FFmpeg للقص وFunASR للتفريغ النصي والتحقق من الطوابع الزمنية.
لماذا تعد الطوابع الزمنية مهمة؟
تمنع الطوابع الزمنية الحذف العرضي الناتج عن الكلمات المتكررة أو أخطاء البحث في التفريغ النصي.
هل توجد تكلفة إعداد عند التشغيل الأول؟
نعم. قد يقوم FunASR بتنزيل نماذج كلام كبيرة قبل أن يعمل التفريغ النصي محليا.

開発者情報

ライセンス

MIT

Skillstore リビジョン

r3

バージョンに関する注意

作者はバージョンを宣言していません。

参照

c43861a65bb95efcae259cd161c9d6f4dc7eec6f

メンテナンスの新しさ

2026/7/26

利用状況

11 ダウンロード · 159 閲覧

chengfeng / AI产品自由 のその他のスキル

すべて表示