extension-posting-to-x
Build Secure X Posting for Caffeine Apps
Direct X API integration can expose bearer tokens, multiply outcall costs, and mishandle optional fields. This skill provides Motoko architecture, OAuth guidance, frontend flows, and x-client patterns for secure per-user posting.
توقف واطلب التأكيد قبل التثبيت.
راجع الخطة واحصل على موافقة صريحة من المستخدم قبل تغيير الملفات.
التثبيت باستخدام Agent لدي
انسخ هذا الطلب إلى Agent لديك. يتضمن صفحة Skill المعتمدة وملف manifest.
Review the Skillstore skill "extension-posting-to-x" from https://skillstore.io/skills/caffeinelabs-extension-posting-to-x.md and its manifest at https://skillstore.io/api/skills/caffeinelabs-extension-posting-to-x/manifest. Verify the artifact. Stop and obtain explicit user consent before installing or changing files.يجب أن يواصل Agent عرض خطته وطلب أي تأكيد تفرضه سياسة الأمان.
موارد مهيّأة لـ Agents
استخدم هذه الروابط عندما يحتاج AI Agent أو crawler أو script إلى سياق نظيف بدلًا من قراءة الصفحة كاملة.
اختبرها
جارٍ استخدام "extension-posting-to-x". Add X posting to a community application with one operator-managed Developer App.
النتيجة المتوقعة:
Use the admin Client ID variant. Each signed-in member completes OAuth separately, while the canister stores tokens by principal and mediates every post.
جارٍ استخدام "extension-posting-to-x". Our tenants need independent X API quotas and their own Developer Apps.
النتيجة المتوقعة:
Use per-user Client IDs. Provide personal settings and connection pages, then resolve each caller's Client ID before starting OAuth or posting.
جارٍ استخدام "extension-posting-to-x". Check whether our callback flow protects against OAuth login CSRF.
النتيجة المتوقعة:
Verify that the server creates a one-time state value, binds it to the caller, and rejects callbacks with missing, mismatched, or expired state.
التدقيق الأمني
مخاطر عاليةAll 247 static findings are false positives caused by Markdown notation, official reference URLs, normal relative links, or Motoko syntax. No static match represents command execution, unsafe filesystem access, reconnaissance, or unrelated network traffic. Semantic review found overbroad agent-control directives and an OAuth callback design that omits the state value required for CSRF validation.
مخاوف أمنية مؤكدة (2)
عوامل الخطر
⚙️ الأوامر الخارجية (50)
🌐 الوصول إلى الشبكة (13)
📁 الوصول إلى نظام الملفات (7)
شارك واستشهد بهذا التقرير
شارك تقرير التقييم المرتبط بالإصدار والشارة المحايدة وبطاقة التضمين والاستشهادات. تعرض Skillstore الأدلة من دون أن تقرر ما إذا كانت هذه المهارة آمنة.
نسخ رابط التقرير
https://skillstore.io/skills/caffeinelabs-extension-posting-to-x/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportشارة Markdown
[](https://skillstore.io/skills/caffeinelabs-extension-posting-to-x?utm_source=security_passport_badge)شارة HTML
<a href="https://skillstore.io/skills/caffeinelabs-extension-posting-to-x?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/caffeinelabs-extension-posting-to-x/security.svg" alt="Skillstore security assessment" loading="lazy"></a>بطاقة قابلة للتضمين
<iframe src="https://skillstore.io/embed/skills/caffeinelabs-extension-posting-to-x.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
caffeinelabs. (2026). extension-posting-to-x security audit report (audit version 1) [Author version 0.1.0]. Skillstore. https://skillstore.io/skills/caffeinelabs-extension-posting-to-x/audits/1اقتباس BibTeX
@techreport{caffeinelabs-caffeinelabs-extension-posting-to-x-2026,
author = {caffeinelabs},
title = {extension-posting-to-x security audit report (audit version 1)},
institution = {Skillstore},
year = {2026},
number = {1},
url = {https://skillstore.io/skills/caffeinelabs-extension-posting-to-x/audits/1},
note = {Author version 0.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: "extension-posting-to-x security audit report (audit version 1)"
version: "0.1.0"
type: report
authors:
- name: "caffeinelabs"
date-released: "2026-07-22"
url: "https://skillstore.io/skills/caffeinelabs-extension-posting-to-x/audits/1"
identifiers:
- type: other
value: "skillstore:caffeinelabs-extension-posting-to-x:audit:1"
description: "Skillstore immutable audit report identifier"
تقييم Skillstore
سبب هذا التقييم موثوقية الأدلة: متوسطما الذي يمكنك بناؤه
Add posting to a community app
Implement signed-in posting through one operator-managed X Developer App while keeping each member's OAuth tokens isolated.
Separate tenant rate limits
Use per-user Client IDs so tenants control their X applications and do not share one rate-limit pool.
Standardize X integration
Define approved backend, OAuth, and frontend patterns for teams building X posting into Internet Computer applications.
جرّب هذه الموجّهات
Plan X posting for my Caffeine app. Use the admin Client ID variant and list required backend, authentication, and frontend work.
Design the admin Client ID and per-user OAuth architecture. Include token isolation, non-replicated outcalls, connection status, posting, and disconnection.
Adapt the X posting design for per-user Client IDs. Explain storage, caller checks, OAuth routing, rate-limit isolation, and the settings experience.
Review my Caffeine X integration for token exposure, OAuth state verification, PKCE handling, redirect validation, refresh rotation, replicated outcalls, authorization, and incomplete stubs.
أفضل الممارسات
- Use x-client 0.2.3 or later and keep posting outcalls non-replicated.
- Store access and refresh tokens only in canister state keyed by the authenticated caller.
- Generate and verify one-time OAuth state and PKCE values on the server before token exchange.
تجنب
- Do not expose, return, log, or persist OAuth bearer tokens in the browser.
- Do not use replicated HTTP outcalls for authenticated X requests.
- Do not deploy placeholder OAuth functions or accept callback parameters without server-side validation.
الأسئلة المتكررة
Does this skill read timelines or search X?
Where are OAuth tokens stored?
Which Client ID variant should I choose?
Why must outcalls be non-replicated?
Is the provided OAuth flow complete?
What protects the OAuth callback?
تفاصيل المطور
المؤلف
caffeinelabsالترخيص
MIT
إصدار المؤلف
v0.1.0
مراجعة Skillstore
r1
مرجع
70c19b3c1d1efbdf7557d8f9aaa5ec54489edc36
حداثة الصيانة
٢٣/٧/٢٠٢٦
الاستخدام
0 تنزيلات · 0 مشاهدات
بنية الملفات
📄 SKILL.md