スキル prisma-postgres-setup
📦

prisma-postgres-setup

v1.1.0 コンテンツリビジョン r2 高リスク 🌐 ネットワークアクセス🔑 環境変数⚙️ 外部コマンド

توفير قاعدة بيانات Prisma Postgres

يتطلب إنشاء قاعدة بيانات، وتهيئة بيانات الاعتماد، وإعداد مشروع Prisma عدة خطوات منسقة. ترشدك هذه المهارة خلال سير عمل إعداد Prisma Postgres بالكامل، مع خيارات تفاعلية والتحقق من الاتصال.

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

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

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

エージェントリクエスト
Review the Skillstore skill "prisma-postgres-setup" from https://skillstore.io/skills/prisma-prisma-postgres-setup.md and its manifest at https://skillstore.io/api/skills/prisma-prisma-postgres-setup/manifest. Verify the artifact. Stop and obtain explicit user consent before installing or changing files.

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

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

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

テストする

「prisma-postgres-setup」を使用しています。 أعد Prisma Postgres لتطبيق المهام الخاص بي.

期待される結果:

  • تُعرض المناطق المتاحة للاختيار.
  • يُنشأ مشروع وقاعدة بيانات بعد التأكيد.
  • يتلقى المشروع تهيئة Prisma 7 واتصالًا تم التحقق منه.

「prisma-postgres-setup」を使用しています。 اربط مشروع Node.js الحالي الخاص بي بقاعدة بيانات Prisma جديدة.

期待される結果:

  • تُحدد التبعيات المطلوبة وتغييرات التهيئة.
  • تُخزن سلسلة الاتصال المباشر في ملف البيئة المحلي.
  • تُعد تهيئة Prisma جاهزة لعمليات الترحيل.

セキュリティ監査

高リスク

Ten static findings are confirmed: eight executable command spans and two operations involving secret-bearing environment files. Most alerts are Markdown, official Prisma URLs, placeholders, or standard local configuration. Contextual review found unsafe token handling and permanent project deletion, but no prompt injection or unrelated exfiltration.

5
スキャンされたファイル
721
解析済み行数
8
レビュー項目
0
誤検知を無視

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

高
Environment file access
Check for `PRISMA_SERVICE_TOKEN` in the environment or `.env` file.
The workflow searches .env for a workspace-scoped service token, giving the agent access to a high-impact credential.
高
Environment file access
2. Write the direct connection string to `.env`. **Append** to the file if it already exists — do no
The workflow appends a live database connection credential to a plaintext .env file, creating a secret-storage and file-modification risk.
高
Workspace Service Token Requested Through Chat
The workflow says, "Copy the token and paste it here," placing a workspace-scoped service token in model conversation history. The token grants access to every workspace resource.
The chat request is explicit, and the authentication reference confirms that the token covers every resource in the workspace.
高
Permanent Project Deletion in Quota Recovery
When creation reaches the database limit, the workflow deletes the project selected from a menu before retrying. Project deletion permanently removes all databases.
The main workflow directs deletion after selection, and the endpoint reference explicitly states that every project database is permanently deleted.
中
Bearer Token Exposed in Command Arguments
The curl examples expand the bearer token into command arguments. Local process inspection, shell tracing, or command logging can expose the workspace credential.
The examples interpolate the shell variable directly into curl header arguments, which exposes the expanded value to local command observability.
機能レビュー項目 (8)

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

中
Ruby/shell backtick execution
```bash
This fenced Bash span runs curl with a bearer token against Prisma, creating command-line credential exposure and an authenticated network action.
中
Ruby/shell backtick execution
```bash
This fenced Bash span performs an authenticated POST that creates remote Prisma resources and expands the bearer token into command arguments.
中
Ruby/shell backtick execution
```bash
This fenced Bash span performs an authenticated POST that creates a named database connection and returns a new credential.
中
Ruby/shell backtick execution
```bash
The npm install command modifies project dependencies and can execute package lifecycle scripts, so it is real external command execution.
中
Ruby/shell backtick execution
5. If `prisma/schema.prisma` does not exist, run `npx prisma init` to scaffold the project. This cre
The npx command executes the Prisma CLI and writes project files, with possible package download when the binary is unavailable locally.
中
Ruby/shell backtick execution
```bash
The migration command executes Prisma tooling, writes migration files, and changes the connected database schema.
中
Ruby/shell backtick execution
Only use `npx prisma db push` if the user explicitly asks for prototyping-only mode (no migration hi
The documented npx commands can push schema changes directly and regenerate client artifacts, causing real local and database modifications.
中
Ruby/shell backtick execution
```bash
The npx command executes a generated TypeScript file with database credentials and issues a query against the provisioned database.

リスク要因

🌐 ネットワークアクセス (17)
🔑 環境変数 (23)
⚙️ 外部コマンド (50)
監査者: codex 監査履歴を表示 →
このレポートを共有・引用

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

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

レポートリンクをコピー

https://skillstore.io/skills/prisma-prisma-postgres-setup/audits/10?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report

Markdownバッジ

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

HTMLバッジ

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

埋め込みカード

<iframe src="https://skillstore.io/embed/skills/prisma-prisma-postgres-setup.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形式の引用

prisma. (2026). prisma-postgres-setup security audit report (audit version 10) [Author version 1.1.0]. Skillstore. https://skillstore.io/skills/prisma-prisma-postgres-setup/audits/10

BibTeX形式の引用

@techreport{prisma-prisma-prisma-postgres-setup-2026, author = {prisma}, title = {prisma-postgres-setup security audit report (audit version 10)}, institution = {Skillstore}, year = {2026}, number = {10}, url = {https://skillstore.io/skills/prisma-prisma-postgres-setup/audits/10}, note = {Author version 1.1.0} }

CITATION.cff

cff-version: 1.2.0 message: "If you use this Skill, cite its author and this versioned security audit report." title: "prisma-postgres-setup security audit report (audit version 10)" version: "1.1.0" type: report authors: - name: "prisma" date-released: "2026-07-23" url: "https://skillstore.io/skills/prisma-prisma-postgres-setup/audits/10" identifiers: - type: other value: "skillstore:prisma-prisma-postgres-setup:audit:10" description: "Skillstore immutable audit report identifier"

Skillstore スコア

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

作成できるもの

بدء قاعدة بيانات لتطبيق جديد

وفّر قاعدة بيانات Prisma Postgres جديدة واربط بها تطبيق Node.js جديدًا.

إعداد بيئة تطوير محلية

أضف اتصالًا مباشرًا بقاعدة البيانات وتهيئة Prisma 7 إلى مشروع محلي قائم.

توحيد عملية انضمام أعضاء الفريق

اتبع عملية إعداد قابلة للتكرار للمشاريع والمناطق وعمليات الترحيل وعمليات التحقق من الاتصال.

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

أنشئ قاعدة بياناتي الأولى
أعد قاعدة بيانات Prisma Postgres جديدة لمشروعي المحلي. اطلب مني اختيار منطقة واشرح كل خطوة.
اربط مشروعًا قائمًا
وفّر Prisma Postgres وهيئ مشروع Node.js هذا لاستخدام Prisma 7. حافظ على إعدادات البيئة الحالية.
أنشئ إعدادًا جاهزًا لعمليات الترحيل
أنشئ مشروع Prisma Postgres، وهيئ prisma.config.ts، وأعد سير عمل لعمليات الترحيل. اعرض التغييرات المخطط لها قبل تطبيقها.
تحقق من اتصال آمن
هيئ Prisma Postgres لهذا المشروع، وتأكد من أن Git يتجاهل .env، ثم شغّل عملية تحقق من الاتصال بعد موافقتي على الأوامر.

ベストプラクティス

  • استخدم رمز خدمة مخصصًا لمساحة العمل ولا تطبعه في مخرجات الطرفية.
  • احتفظ بـ DATABASE_URL في .env وتحقق من أن Git يتجاهل .env.
  • راجع تغييرات المخطط قبل إنشاء عمليات الترحيل أو دفع التغييرات إلى قاعدة البيانات.

回避

  • لا تضع عناوين URL الخاصة بالاتصال مباشرة في schema.prisma عند استخدام Prisma 7.
  • لا تستخدم نقاط نهاية مجمعة أو نقاط نهاية Accelerate لسير عمل الاتصال المباشر الجديد هذا.
  • لا تحذف مشروعًا قائمًا دون تحديد صريح وتأكيد من المستخدم.

よくある質問

ما بيانات الاعتماد المطلوبة؟
تحتاج إلى رمز خدمة لمساحة عمل Prisma Postgres يتيح الوصول إلى مساحة العمل المستهدفة.
هل تعمل هذه المهارة مع قاعدة بيانات قائمة؟
لا. هذه المهارة مخصصة لتوفير قاعدة بيانات Prisma Postgres جديدة وربط مشروع محلي بها.
ما سلسلة الاتصال التي تستخدمها؟
تستخدم سلسلة اتصال PostgreSQL المباشر التي تعيدها Management API.
أين تتم تهيئة عنوان URL الخاص بالاتصال؟
يُخزن عنوان URL في .env ويُحمّل من prisma.config.ts لاستخدامه مع Prisma 7.
هل تنشئ عمليات ترحيل؟
تشغّل سير عمل ترحيل Prisma القياسي بعد مراجعة المخطط والتأكد من جاهزيته.
هل يمكنها استخدام Prisma Console بدلًا من ذلك؟
لا. تستخدم عملية التوفير في سير العمل هذا Prisma Management API، بينما تُستخدم Prisma Console للوصول إلى مساحة العمل وفحصها لاحقًا.

開発者情報

作成者

prisma

ライセンス

MIT

作者バージョン

v1.1.0

Skillstore リビジョン

r2

参照

ebdfe608f5de2b66ff37ab4af12af8ac4f5e8006

メンテナンスの新しさ

2026/7/25

利用状況

0 ダウンロード · 0 閲覧

ファイル構成