هذا التقرير غير مترجم إلى اللغة المطلوبة. يتم عرض التقرير الإنجليزي الأساسي بدلاً منه.

تقييم أمني مُحدَّث بالإصدار

معرّف التقرير: SA-D0711BF6

11/20/2026, 10:37:40 AM

brewpage-publish-safe تقييم أمني v2

تقرير شهادة أمان المهارة

سجل التدقيق
إصدار الماسح 3.0.0 نموذج التدقيق: codex أحدث تقرير منشور
اسم المهارة
brewpage-publish-safe
الإصدار
v2
المشرف
kochetkov-ma
التغطية
9 الملفات التي تم فحصها · 2,061 الأسطر التي تم تحليلها
إصدار السياسة
skillstore-security-audit-policy-v1

Current license

MIT

أعلى مستوى خطورة لنتيجة مؤكدة

مرتفع

تتطلب 3 اكتشافات أمنية مؤكدة اهتمامًا.

سياق التثبيت

تحقق من صفحة المهارة الحالية

تلخص هذه الصفحة أدلة التقرير فقط. توفر صفحة المهارة إرشادات التثبيت المعتمدة.

افتح صفحة Skill الحالية

لا يحظر هذا التقرير البيان أو ملف ZIP ولا يصرح بهما.

Most static alerts are documentation, validation, or fixed local operations. Confirmed exposure includes first-party transfers, reusable plaintext owner proof, and executable lookup through unverified PATH directories. Review also found incomplete ZIP metadata checks and implicit owner reuse; no evidence of author prompt injection or undisclosed external destinations was found.

موضع التقرير

أحدث تقرير منشور

يشير «الأحدث» إلى تسلسل التقرير، وليس إلى حداثة العنصر.

إقرار التدقيق

إقرار نشط

يتوفر إقرار عام لهذا التقرير تحديدًا.

التحقق البشري

لم يتم التحقق منه

لم يتم تسجيل أي تحقق بشري لهذا التقرير.

التغطية

9 الملفات التي تم فحصها · 2,061 الأسطر التي تم تحليلها

32 عناصر معروضة للمراجعة

القيود

لا يدّعي هذا التقرير تنفيذًا في وقت التشغيل أو ضمن بيئة معزولة، ولا يثبت عدم وجود آثار جانبية.

سلسلة الأدلة

اتبع الأدلة من ربط المصدر إلى عقد التثبيت. تدعم الأدلة المتاحة التحقق؛ لكنها ليست ضمانًا للسلامة.

  1. المصدر

    الالتزام والمسار مرتبطان

  2. العنصر البرمجي

    تم ربط تجزئات المحتوى والشجرة.

  3. التدقيق

    مكتمل

  4. عقد التثبيت

    افتح البيان للتحقق

    افتح البيان

القدرات المرصودة

تعني «تمت ملاحظته» أن هذا التقرير سجل أدلة داعمة. ولا يثبت عدم التسجيل أن القدرة غير موجودة.

يحتوي على سكربتات

قد ينفذ تعليمات برمجية مضمنة مع المهارة.

لم يتم تسجيله بواسطة هذا التدقيق

الوصول إلى الشبكة

قد يتصل بخدمات خارجية.

تمت ملاحظته في 21 مواضع أدلة

الوصول إلى نظام الملفات

قد يقرأ أو يكتب ملفات محلية.

تمت ملاحظته في 50 مواضع أدلة

متغيرات البيئة

قد يقرأ قيماً من بيئة العملية.

تمت ملاحظته في 7 مواضع أدلة

الأوامر الخارجية

قد يستدعي أوامر أو برامج خارج المهارة.

تمت ملاحظته في 60 مواضع أدلة

عناصر مراجعة القدرات (29)
مرتفع
Python subprocess.run
result = subprocess.run(['git', '-C', root] + arguments, stdout=subprocess.PIPE, stderr=subprocess.P
The Git check uses fixed arguments and no shell, but executable lookup still relies on inherited PATH rather than a verified binary.
مرتفع
Process spawn
const child = spawn(bin, argv, { cwd: options.cwd, env: options.env, stdio: ['pipe', 'ignore', 'igno
The caller uses fixed tool names and argument arrays without a shell. The child still resolves its executable through a PATH without ownership checks.
مرتفع
Synchronous spawn
const r = spawnSync('unzip', ['-tq', zipPath], { env: archiveEnv, encoding: 'utf8', maxBuffer: LIST_
The fixed unzip integrity check is bounded and uses no shell. The unzip executable is still resolved by name through PATH.
مرتفع
Synchronous spawn
const copied = spawnSync('python3', ['-I', '-S', '-c', FILE_SNAPSHOT, source, args.out, String(info.
The snapshot uses fixed isolated Python source and separate arguments. The executable is still resolved by name through PATH.
متوسط
Shell command substitution
output=$(bp_curl -s -A "$BP_UA" -X "$method" "$url" "$@" -w $'\nBP_HTTP_STATUS:%{http_code}') || ret
This call sends selected content and can attach live credentials. The URL guard limits it to the official service.
متوسط
Shell command substitution
metadata=$(BP_OWNER_HEADER_FILE="$proof" BP_HEADER_FILE='' bp_request GET "https://brewpage.app/api/
The owner-check sends reusable owner proof to the first-party API. This is expected, but it crosses the local credential boundary.
متوسط
Shell command substitution
selected=$(bp_history select "$intent" "$target" "$BP_OWNER_HEADER_FILE") || return 1
The history call can select an existing live token on create without an explicit owner target. Only the endpoint is captured from stdout.
متوسط
Shell command substitution
token=$(printf '%s' "$response" | jq -er '.ownerToken | if . == null then "" else strings | select(t
This extracts a live owner token from the API response into shell memory. The fixed jq filter checks its format and does not evaluate it.
متوسط
Shell command substitution
receipt=$(printf '%s' "$response" | jq -c --rawfile proof "${BP_OWNER_HEADER_FILE:-/dev/null}" --arg
The command packages a reusable owner token and management details for local persistence. These remain sensitive even within private storage.
متوسط
Shell command substitution
runtime_dir=$(builtin cd "$runtime_dir" 2>/dev/null && builtin pwd -P) || continue
The runner keeps absolute PATH directories outside the workspace without verifying their owner or write permissions.
متوسط
Shell command substitution
metadata=$(bp_history recover-target "$proof") || die 'no readable protected recovery receipt'
The recovery helper extracts a live token from a private receipt into an owner-only header. The captured stdout contains only target metadata.
متوسط
Shell command substitution
password_identity=$(bp_python "$HERE/inputs.py" password "$pwfile" "$BP_HEADER_FILE") || exit 1
The password helper reads a selected plaintext password into a private request header. Command output contains only file identity.
متوسط
Shell command substitution
response=$(bp_request "$method" "$endpoint" -H "Content-Type: application/json" --data-binary @"$BP_
This sends the selected page and optional state to BrewPage, with configured credentials when present. It is the intended external write.
متوسط
Shell command substitution
response=$(bp_request "$method" "$endpoint" -H "Content-Type: application/json" --data-binary @"$con
This sends the selected JSON to BrewPage, with configured credentials when present. It is the intended external write.
متوسط
Shell command substitution
response=$(bp_request "$method" "$endpoint" -F "$(form_file file "$content")") || die "$unknown"
The multipart request transfers the chosen file to BrewPage. Quoting the form value does not remove the disclosure risk.
متوسط
Shell command substitution
metadata=$(bp_request GET "$endpoint") || die "cannot verify existing site entry; no replacement sen
The GET fetches current site entry metadata from the exact owner endpoint using reusable owner proof.
متوسط
Shell command substitution
response=$(bp_request "$method" "$endpoint" -F "$(form_file archive "$CHECKED_PATH")" ${state:+--for
The runner uploads the complete ZIP and optional state to BrewPage. Unreviewed ZIP metadata can be transferred along with inspected content.
متوسط
Python file write/append
with os.fdopen(fd, 'wb') as output:
This write helper persists reusable owner tokens and private management data as plaintext protected by local file permissions.
متوسط
Python file write/append
with os.fdopen(fd, 'w', encoding='ascii') as header:
The code materializes reusable owner proof as a plaintext request header. Exclusive creation and mode 0600 limit access.
متوسط
Python os file operations
os.unlink(PENDING, dir_fd=directory)
This unlinks the pending create after matching the local operation ID. Its caller can clear it on an HTTP rejection without independent outcome proof.
متوسط
Python file write/append
with os.fdopen(fd, 'wb') as header:
The code writes the selected plaintext password to a temporary owner-only request header. It is not an unrelated secret read.
متوسط
Python shutil operations
shutil.copyfileobj(incoming, outgoing)
The file snapshot copies ordinary input before enforcing its later review limit. An oversized input can consume temporary storage.
منخفض
HTTP client library
bp_request() {
This wrapper dispatches publication requests and attaches owner or password headers from local files. The destination is restricted to BrewPage.
منخفض
Hardcoded URL
metadata=$(BP_OWNER_HEADER_FILE="$proof" BP_HEADER_FILE='' bp_request GET "https://brewpage.app/api/
The fixed BrewPage owner-check destination receives reusable owner proof. This is an authorized integration path, not an unrelated destination.
منخفض
Python environment access
environment = {'PATH': os.environ['PATH'], 'LC_ALL': 'C', 'GIT_CONFIG_NOSYSTEM': '1', 'GIT_CONFIG_GL
The Git subprocess environment is minimized, but it still trusts inherited PATH for executable resolution.
منخفض
Environment variable access (dot notation)
const dirs = (process.env.PATH || '').split(delimiter).filter(Boolean);
The helper checks availability using PATH without requiring installation directories to be trusted by ownership or permissions.
منخفض
Environment variable access (dot notation)
const archiveEnv = { PATH: process.env.PATH, LC_ALL: 'C', TZ: 'UTC' };
The restricted child environment still inherits PATH. Archive subprocesses use it to locate their executables.
منخفض
Environment variable object
const dirs = (process.env.PATH || '').split(delimiter).filter(Boolean);
The helper checks availability using PATH without requiring installation directories to be trusted by ownership or permissions.
منخفض
Environment variable object
const archiveEnv = { PATH: process.env.PATH, LC_ALL: 'C', TZ: 'UTC' };
The restricted child environment still inherits PATH. Archive subprocesses use it to locate their executables.

نتائج المخاطر

يتم فصل المخاوف الأمنية المؤكدة عن العناصر التي لا تزال بحاجة إلى مراجعة.

مخاوف أمنية مؤكدة (3)

RISK-001 مرتفع
Unreviewed ZIP metadata is transmitted
The secret check reads member names and file contents, not all ZIP metadata. The runner uploads supplied archives without removing unreviewed comments and extra fields.
The parser accepts comments and does not inspect arbitrary extra-field values for secrets. The multipart upload sends the complete archive.
RISK-002 متوسط
New publications can silently reuse existing ownership
A create without an owner target can select the sole saved workspace token. The publish instructions do not require affirmative approval for that authority reuse.
Selection considers all retained rows when the target is empty. One distinct saved token is written to the request header unless anonymous mode was chosen.
RISK-003 متوسط
Create recovery is not tied to a server operation identifier
The request fingerprint is local, and reconciliation trusts an operator attestation. Most HTTP client errors also clear pending state without a verified no-write outcome.
The local fingerprint is recorded before dispatch, but no server idempotency key is sent. Incorrect reconciliation or ambiguous rejection could permit an unintended duplicate.

إجراءات المعالجة

سجّل هذا التدقيق الإصلاحات المقترحة. تطبيقها مسؤولية المشرف على الصيانة.

  1. FIX-001
    مرتفع
    ZIP review does not cover all bytes sent to BrewPage.
    Rebuild supplied archives from reviewed regular members without comments or extra metadata. Require approval of the final manifest and digest before uploading the rebuilt archive.
  2. FIX-002
    مرتفع
    Archive, Git, and upload tools depend on unverified executable lookup.
    Resolve each tool from a trusted absolute toolchain. Validate directory, executable, and symlink target ownership and write permissions before placing tools on PATH.
  3. FIX-003
    متوسط
    A new create can attach existing owner authority without an explicit selection.
    Default new publications to fresh anonymous ownership. Require an exact saved target and explicit consent before reusing the existing token.
  4. FIX-004
    متوسط
    Reusable owner proof and password headers are retained as plaintext.
    Store long-lived owner proof in the OS credential store. Deliver short-lived request headers through a private stream where practical and preserve restrictive state permissions.
  5. FIX-005
    متوسط
    Ordinary file snapshots may exceed review limits before copying stops.
    Apply the input size limit before opening the output and enforce the same bound while copying. Remove partial output on failure.
  6. FIX-006
    متوسط
    Local recovery records cannot independently prove a remote create outcome.
    Use server-supported idempotency and operation lookup if available. Otherwise retain pending state until documented service behavior or independent first-party evidence establishes the outcome.

أدلة الخبراء

هوية موضوع غير قابلة للتغيير، وبيانات تعريف الماسح الضوئي، والمطابقات المستبعدة، والأدلة على مستوى المصدر.

موضوع العنصر البرمجي

التزام Marketplace
d0711bf661230a71e66e40843f2ab3bb938327ae
تجزئة المحتوى
a5a100087d93df0d353661f66599692c0241f5a7c825fa47d891fef8499006a5
تجزئة الشجرة
d429f662a3b5c154943051c59e8ed36076f80440deac5a1ed5ac3aff3121c1d6
مسار Skill
skills/kochetkov-ma/brewpage-publish-safe
تجزئة حمولة التدقيق
26b7b2db7f38bdeb927a86a5cf5104cd

البيانات الوصفية للتحليل

نموذج التدقيق: codex

حالة التحليل: مكتمل

النطاق محدود بالملفات والأسطر والأساليب والأدلة المسجلة. لا يُدّعى تنفيذ وقت التشغيل أو بيئة الاختبار المعزولة.

التحقق والتصدير

يربط البيان وملف القفل عناصر التثبيت بتجزئات تشفيرية. هذا الادعاء المتعلق بالسلامة منفصل عن التقييم الأمني.

إقرار التدقيق: active