[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6GPFYXDC0FS9T1WZQF6WY9J":3,"skill-same:01M6GPFYXDC0FS9T1WZQF6WY9J":85},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":43,"linkOnly":44,"markdownContent":45,"markdownBody":46,"frontMatter":47,"refName":48,"commitSha":49,"skillDirectory":50,"forksCount":51,"repositoryHtmlUrl":52,"repositoryHomepageUrl":6,"ownerHtmlUrl":53,"ownerBlogUrl":54,"ownerDescription":55,"updatedAt":56,"install":57,"resources":70},"01M6GPFYXDC0FS9T1WZQF6WY9J","django-security",null,"Audits Django (Python) applications for framework-specific vulnerabilities — raw()\u002Fextra() SQL injection, mark_safe and |safe filter XSS, SSTI via Template() with user strings, ModelForm fields='__all__' mass assignment, settings misconfigurations (DEBUG=True, ALLOWED_HOSTS=['*'], insecure cookie flags, hardcoded SECRET_KEY), missing login_required\u002Fpermission checks (IDOR), weak password hashers, and django-cors-headers wildcards. Use when the project has manage.py, settings.py, or Django in requirements.","jiayaoqijia\u002Fcryptoskill","jiayaoqijia","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1453879?v=4","01M6GMYTX7Q7S504VC6E756ENR","YQ","01M6GMYV1QKJ1CC75MTTGT9PR0",81,"MIT","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fashrafiucse-django-security\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fashrafiucse-django-security\u002FSKILL.md",[],[20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42],"security","django","django security","when","python","framework-specific","for","hosts","true","strings","mark","with","via","filter","missing","requirements","project","manage","use","password","applications","xss","debug","2026-11-10 10:12:30",false,"---\nname: django-security\ndescription: Audits Django (Python) applications for framework-specific vulnerabilities — raw()\u002Fextra() SQL injection, mark_safe and |safe filter XSS, SSTI via Template() with user strings, ModelForm fields='__all__' mass assignment, settings misconfigurations (DEBUG=True, ALLOWED_HOSTS=['*'], insecure cookie flags, hardcoded SECRET_KEY), missing login_required\u002Fpermission checks (IDOR), weak password hashers, and django-cors-headers wildcards. Use when the project has manage.py, settings.py, or Django in requirements.\nlicense: MIT\n---\n\n# Django Security\n\n## Step 0 — Detect\n\n```bash\nrg -n \"^[Dd]jango\" -g 'requirements*.txt' -g 'pyproject.toml' -g 'Pipfile*' -g 'poetry.lock'\nls manage.py **\u002Fsettings.py 2>\u002Fdev\u002Fnull || rg --files -g 'settings.py' | head -3\n```\n\nRecord Django version, auth setup (django.contrib.auth vs custom), and deployment target hints.\n\n## Step 1 — Settings\n\n```bash\nrg -n \"DEBUG|ALLOWED_HOSTS|SECRET_KEY|CSRF_COOKIE|SESSION_COOKIE|SECURE_\" -g 'settings*.py' -g 'settings\u002F*.py'\n```\n\n| Finding | Severity |\n|---|---|\n| Hardcoded `SECRET_KEY` (not env) | High (Critical if repo is public — session forgery, password-reset tokens) |\n| `DEBUG = True` in prod settings | High (stack traces; historically settings disclosure) |\n| `ALLOWED_HOSTS = ['*']` | Medium → host-header poisoning of password-reset links (High when reset flows exist) |\n| `CSRF_COOKIE_SECURE` \u002F `SESSION_COOKIE_SECURE` False\u002Fabsent | Medium |\n| `SECURE_SSL_REDIRECT` absent behind plain HTTP | Medium |\n| `PASSWORD_HASHERS` with MD5\u002FSHA1 hasher | Critical (weak password storage) |\n| django-cors-headers: `CORS_ALLOW_ALL_ORIGINS=True` (+ credentials) | Medium\u002FCritical |\n\n## Step 2 — SQL injection\n\n```bash\nrg -n \"\\.raw\\(|\\.extra\\(|cursor\\.execute\" --type py\n```\n\n- `Model.objects.raw(f\"...{request...}\")` \u002F `.raw(\"... %s\" % var)` → Critical\n- `.extra(where=[f\"...{...}\"])` → Critical\n- ORM field lookups (`filter(name__icontains=q)`) → safe, note as positive\n\n## Step 3 — XSS \u002F template injection\n\n```bash\nrg -n \"mark_safe\\s*\\(\" --type py\nrg -n \"\\|safe\\b\" -g '*.html' -g '*.htm'\nrg -n \"Template\\(|Engine\\(\\)\\.from_string\" --type py\n```\n\nCensus, don't sample: count and disposition EVERY hit. (Do not combine these into one command — `--type py` and a `-g '*.html'` glob in the same invocation silently drop the `.py` hits, i.e. every `mark_safe` in views.) Severity by privilege direction per `..\u002Finjection-flaws\u002FSKILL.md` (XSS table): unprivileged author → privileged viewer = Critical.\n\n- `mark_safe(user_data)` → reflected High; stored unprivileged→staff (moderation\u002Fsupport\u002Fgrading) Critical\n- `{{ var|safe }}` in templates on user-derived vars → same triage\n- `autoescape=False` in `Template()`\u002Floader options → High\n- `Template(user_string)` (string built from input) → SSTI, Critical\n\n## Step 4 — Mass assignment\n\n```bash\nrg -n \"fields = '__all__'|exclude = .*ModelForm|modelform_factory\" --type py\n```\n\n- `ModelForm` with `fields = '__all__'` on models with role\u002Fflag columns (`is_superuser`, `is_staff`, `role`, `balance`) → High\u002FCritical\n- `Model(**request.POST.dict())` \u002F manual `form = X(request.POST)` without restricting → same\n- Fix: explicit field allowlists; `request.POST` is user-controlled wholesale.\n\n## Step 5 — Authorization\n\n```bash\nrg -n \"login_required|LoginRequiredMixin|permission_required|@user_passes_test\" --type py\nrg -n \"def (view|detail|edit|delete)\" --type py | head -20\n```\n\n- Object views without ownership check (`Model.objects.get(pk=request.GET['id'])` returned directly) → IDOR, High\n- Class-based views missing `LoginRequiredMixin` on data mutation → High\n- `@staff_member_required` on endpoints exposing PII → verify minimum role\n\n## Step 6 — Files & misc\n\n```bash\nrg -n \"request\\.FILES|FileField|MEDIA\" --type py\nrg -n \"pickle|eval\\(|exec\\(\" --type py | head\n```\n\n- Uploads with original filenames served from MEDIA (executable content + Apache\u002Fnginx PHP exec) → Medium\u002FHigh\n- `pickle` in custom session\u002Fqueue serialization → Critical\n- `django-debug-toolbar` in non-dev requirements → Medium\n- File responses built from request paths → traversal, High\n\n## Reporting\n\nSeverity table above; fixes are one-liners mostly (field allowlists, decorators, settings flags). Note ORM usage as a positive control. Dependency CVEs via `..\u002Fdependency-vulns\u002FSKILL.md`.\n","# Django Security\n\n## Step 0 — Detect\n\n```bash\nrg -n \"^[Dd]jango\" -g 'requirements*.txt' -g 'pyproject.toml' -g 'Pipfile*' -g 'poetry.lock'\nls manage.py **\u002Fsettings.py 2>\u002Fdev\u002Fnull || rg --files -g 'settings.py' | head -3\n```\n\nRecord Django version, auth setup (django.contrib.auth vs custom), and deployment target hints.\n\n## Step 1 — Settings\n\n```bash\nrg -n \"DEBUG|ALLOWED_HOSTS|SECRET_KEY|CSRF_COOKIE|SESSION_COOKIE|SECURE_\" -g 'settings*.py' -g 'settings\u002F*.py'\n```\n\n| Finding | Severity |\n|---|---|\n| Hardcoded `SECRET_KEY` (not env) | High (Critical if repo is public — session forgery, password-reset tokens) |\n| `DEBUG = True` in prod settings | High (stack traces; historically settings disclosure) |\n| `ALLOWED_HOSTS = ['*']` | Medium → host-header poisoning of password-reset links (High when reset flows exist) |\n| `CSRF_COOKIE_SECURE` \u002F `SESSION_COOKIE_SECURE` False\u002Fabsent | Medium |\n| `SECURE_SSL_REDIRECT` absent behind plain HTTP | Medium |\n| `PASSWORD_HASHERS` with MD5\u002FSHA1 hasher | Critical (weak password storage) |\n| django-cors-headers: `CORS_ALLOW_ALL_ORIGINS=True` (+ credentials) | Medium\u002FCritical |\n\n## Step 2 — SQL injection\n\n```bash\nrg -n \"\\.raw\\(|\\.extra\\(|cursor\\.execute\" --type py\n```\n\n- `Model.objects.raw(f\"...{request...}\")` \u002F `.raw(\"... %s\" % var)` → Critical\n- `.extra(where=[f\"...{...}\"])` → Critical\n- ORM field lookups (`filter(name__icontains=q)`) → safe, note as positive\n\n## Step 3 — XSS \u002F template injection\n\n```bash\nrg -n \"mark_safe\\s*\\(\" --type py\nrg -n \"\\|safe\\b\" -g '*.html' -g '*.htm'\nrg -n \"Template\\(|Engine\\(\\)\\.from_string\" --type py\n```\n\nCensus, don't sample: count and disposition EVERY hit. (Do not combine these into one command — `--type py` and a `-g '*.html'` glob in the same invocation silently drop the `.py` hits, i.e. every `mark_safe` in views.) Severity by privilege direction per `..\u002Finjection-flaws\u002FSKILL.md` (XSS table): unprivileged author → privileged viewer = Critical.\n\n- `mark_safe(user_data)` → reflected High; stored unprivileged→staff (moderation\u002Fsupport\u002Fgrading) Critical\n- `{{ var|safe }}` in templates on user-derived vars → same triage\n- `autoescape=False` in `Template()`\u002Floader options → High\n- `Template(user_string)` (string built from input) → SSTI, Critical\n\n## Step 4 — Mass assignment\n\n```bash\nrg -n \"fields = '__all__'|exclude = .*ModelForm|modelform_factory\" --type py\n```\n\n- `ModelForm` with `fields = '__all__'` on models with role\u002Fflag columns (`is_superuser`, `is_staff`, `role`, `balance`) → High\u002FCritical\n- `Model(**request.POST.dict())` \u002F manual `form = X(request.POST)` without restricting → same\n- Fix: explicit field allowlists; `request.POST` is user-controlled wholesale.\n\n## Step 5 — Authorization\n\n```bash\nrg -n \"login_required|LoginRequiredMixin|permission_required|@user_passes_test\" --type py\nrg -n \"def (view|detail|edit|delete)\" --type py | head -20\n```\n\n- Object views without ownership check (`Model.objects.get(pk=request.GET['id'])` returned directly) → IDOR, High\n- Class-based views missing `LoginRequiredMixin` on data mutation → High\n- `@staff_member_required` on endpoints exposing PII → verify minimum role\n\n## Step 6 — Files & misc\n\n```bash\nrg -n \"request\\.FILES|FileField|MEDIA\" --type py\nrg -n \"pickle|eval\\(|exec\\(\" --type py | head\n```\n\n- Uploads with original filenames served from MEDIA (executable content + Apache\u002Fnginx PHP exec) → Medium\u002FHigh\n- `pickle` in custom session\u002Fqueue serialization → Critical\n- `django-debug-toolbar` in non-dev requirements → Medium\n- File responses built from request paths → traversal, High\n\n## Reporting\n\nSeverity table above; fixes are one-liners mostly (field allowlists, decorators, settings flags). Note ORM usage as a positive control. Dependency CVEs via `..\u002Fdependency-vulns\u002FSKILL.md`.\n",{"name":5,"license":15,"description":7},"main","3df1d0d67b30ff15236561f8c0f9f06d33f42dfd","skills\u002Fchains\u002Fashrafiucse-django-security",17,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia","https:\u002F\u002Feth2030.com","Hardcore infra. Building @alt-research and applied cryptography.","2026-11-15 02:28:10",{"source":8,"skillName":5,"commands":58,"prompt":68,"zipAvailable":69},[59,62,65],{"tool":60,"command":61},"npx","npx skills add jiayaoqijia\u002Fcryptoskill --skill django-security",{"tool":63,"command":64},"bunx","bunx skills add jiayaoqijia\u002Fcryptoskill --skill django-security",{"tool":66,"command":67},"pnpm","pnpm dlx skills add jiayaoqijia\u002Fcryptoskill --skill django-security","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fashrafiucse-django-security\u002FSKILL.md",true,[71,75,81],{"path":72,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":74,"sourceHtmlUrl":16},"LICENSE","许可证",1067,{"path":76,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":79,"sourceHtmlUrl":80},"SOURCE.md","REFERENCE","参考文档",372,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fashrafiucse-django-security\u002FSOURCE.md",{"path":82,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":83,"sourceHtmlUrl":84},"TRUST.auto.yaml",2175,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fashrafiucse-django-security\u002FTRUST.auto.yaml",[86,95,103,111,119,127],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":90,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":94},"01M7DTKCERMV0RNX3HZJP4CZ26","troves","Deposit and withdraw from Troves DeFi yield vault strategies on Starknet. View available strategies, check positions, and manage vault deposits. Use this skill when the user mentions Troves, vault, yield vault, DeFi vault, strategy, yield farming, vault deposit, vault withdraw, earning yield through vaults, passive yield strategies, or wants to deposit into or withdraw from a yield strategy — even if they don't say \"Troves\" explicitly.","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-troves\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-troves\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":99,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":94},"01M7DTK6CJSMGC8KCQHGNYFZBD","trade","Swap tokens on Starknet via Fibrous DEX aggregator. Supports per-provider selection (avnu, ekubo, or auto to race all). Use this skill when the user wants to swap, exchange, trade, convert, buy, or sell one token for another on Starknet. Also use when the user asks about token prices, exchange rates, DEX routing, best swap route, or wants to check how much they would receive for a given amount — even if they don't explicitly say \"swap\".","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-trade\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-trade\u002FSKILL.md",[],[],{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":107,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":94},"01M7DTJZ6A0X4PAW3Y8W4J9K64","staking","Stake, unstake, claim, and compound rewards for STRK, WBTC, tBTC, SolvBTC, and LBTC on Starknet. View validators, pools, and staking positions. Use this skill when the user mentions staking, delegating, validators, staking pools, rewards, compounding, unstaking, earning yield, passive income on crypto, or wants to earn on their STRK or BTC tokens — even if they don't say \"stake\" explicitly.","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-staking\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-staking\u002FSKILL.md",[],[],{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":115,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":94},"01M7DTJSDZJKCDMW7GHRF4BRH5","send","Send STRK, ETH, or any ERC-20 token to a Starknet address. Supports simulation (dry-run) before execution. Use this skill when the user wants to send, transfer, pay, tip, or move tokens to another wallet address on Starknet. Also trigger when the user mentions sending funds to someone, making a payment, transferring assets, or moving crypto to a specific address — even if they just say \"pay 10 STRK to 0x...\".","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-send\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-send\u002FSKILL.md",[],[],{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":123,"sourceHtmlUrl":124,"categories":125,"keywords":126,"publishedAt":94},"01M7DTJG1E480D51ZQ7WKDQ26K","portfolio","View a comprehensive DeFi portfolio dashboard and optimize portfolio allocation via automated rebalancing. Use this skill when the user wants an overview, summary, dashboard, total value, net worth, portfolio rebalancing, target allocation, or wants to see all their DeFi positions across Starknet at once. Also trigger when the user asks \"what do I have\", \"show me everything\", \"how much am I worth\", \"my positions\", \"my investments\", \"rebalance my portfolio\", \"I want 50% ETH\", \"optimize my holdings\", or any request for a holistic view of their Starknet holdings — even if they don't explicitly say \"portfolio\".","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-portfolio\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-portfolio\u002FSKILL.md",[],[],{"skillNo":128,"name":129,"nameZh":6,"description":130,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":131,"sourceHtmlUrl":132,"categories":133,"keywords":134,"publishedAt":94},"01M7DTJ7M8TE9R2N36HFBZDGVD","multi-swap","Execute multiple token swaps in a single Starknet transaction via Fibrous (default). Supports per-provider selection (avnu, ekubo, or auto to race all). Supports 2-3 swap pairs bundled into one multicall. Use this skill when the user wants to swap multiple token pairs at once, do batch swaps, execute several trades simultaneously, perform parallel swaps, or do bulk trading in one transaction. Also trigger when the user mentions \"two swaps\", \"three swaps\", \"swap X and Y at the same time\", or wants to convert multiple tokens in a single call.","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-multi-swap\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-multi-swap\u002FSKILL.md",[],[]]