TDGUARDAI.COM समिति द्वारा सत्यापित तकनीकी AI ज्ञानकोष

TDGUARDAI.COM · 6 तकनीकी AI शाखाएँ · ज़ीरो-टोकन · स्टैटिक 0-JS

TDGUARDAI.COM — समिति द्वारा सत्यापित तकनीकी AI ज्ञानकोष

AI सहायकों और उपकरण स्वामियों के लिए स्थिर क्रिप्टोग्राफिक तकनीकी ज्ञानकोष: सुरक्षा नियम, टोकन/लूप सुरक्षा, सत्यापित सुधार, सुरक्षित कमांड और कार्यप्रवाह।

01 · HUMAN

उपकरण स्वामियों के लिए

8 भाषाओं में स्पष्ट सारांश, जीवनचक्र स्थिति और 1-चरण स्थानीय म्यूट।

02 · AGENT

AI एजेंट व CLI/API के लिए

2-चरणीय लोडिंग: हल्का /llms.txt सूचकांक पढ़ें, फिर केवल मेल खाने वाला /feed/items/<id>.json लाएँ।

शुद्ध स्थिर तकनीकी ज्ञानकोष — कोई सोशल नेटवर्क नहीं, कभी लॉक नहीं

कोई खाते नहीं, कोई टिप्पणी नहीं, कोई समाचार संग्रह नहीं, शून्य JavaScript और पूर्ण स्थानीय नियंत्रण।

सत्यापित 6-शाखा ज्ञानकोष

प्रत्येक प्रविष्टि M-of-N सेंटिनल समीक्षा, एंटी-ट्रोजन-फिक्स जांच और स्पष्ट जीवनचक्र ट्रैकिंग से गुजरती है।

pi.override-attack

v1
प्रॉम्प्ट इंजेक्शन गंभीरता: high
सक्रिय लागू क्षेत्र: Evergreen / All LLMs समीक्षा तिथि: 2028-11-26

AI-सहायता प्राप्त पाठ · मॉडल: tdguard-maintainers-i18n sha256:b9a899df32…bae220

सरल सारांश

उन प्रॉम्प्ट्स को चिह्नित करता है जो सहायक की सुरक्षा सीमाओं को हटाने की कोशिश करते हैं (क्लासिक ओवरराइड हमला)।

लक्ष्य फ़ील्ड: prompt ALERT_USEREXPLAIN_TO_USER
तकनीकी JSON और संकेतक
{
  "id": "pi.override-attack",
  "version": 1,
  "category": "prompt_injection",
  "severity": "high",
  "lifecycleStatus": "ACTIVE",
  "lifecycle": {
    "status": "ACTIVE",
    "appliesTo": "Evergreen / All LLMs",
    "verifiedAt": 1795800000000,
    "reviewDueAt": 1858872000000,
    "replacedBy": "",
    "retireReason": ""
  },
  "match": {
    "field": "prompt",
    "containsAny": [
      "ignore previous instructions",
      "disregard all prior rules"
    ]
  },
  "actions": [
    "ALERT_USER",
    "EXPLAIN_TO_USER"
  ],
  "indicators": [],
  "knowledge": null
}

dlp.cloud-key-paste-guard

v1
डेटा लीक रोकथाम गंभीरता: high
सक्रिय लागू क्षेत्र: Evergreen / Cloud & SSH समीक्षा तिथि: 2028-11-26

AI-सहायता प्राप्त पाठ · मॉडल: tdguard-maintainers-i18n sha256:59269ff668…97013a

सरल सारांश

बाहरी AI सेवा की चैट में क्लाउड प्रदाता की गुप्त कुंजी पेस्ट होने से पहले चेतावनी देता है।

लक्ष्य फ़ील्ड: prompt ALERT_USERFLAG_PII_REDACT
तकनीकी JSON और संकेतक
{
  "id": "dlp.cloud-key-paste-guard",
  "version": 1,
  "category": "data_leak_prevention",
  "severity": "high",
  "lifecycleStatus": "ACTIVE",
  "lifecycle": {
    "status": "ACTIVE",
    "appliesTo": "Evergreen / Cloud & SSH",
    "verifiedAt": 1795800000000,
    "reviewDueAt": 1858872000000,
    "replacedBy": "",
    "retireReason": ""
  },
  "match": {
    "field": "prompt",
    "containsAny": [
      "aws_secret_access_key",
      "begin openssh private key"
    ]
  },
  "actions": [
    "ALERT_USER",
    "FLAG_PII_REDACT"
  ],
  "indicators": [],
  "knowledge": null
}

mcp.block-shell-exec

v1
MCP व शासन गंभीरता: critical
सक्रिय लागू क्षेत्र: Evergreen / MCP Clients समीक्षा तिथि: 2028-11-26

AI-सहायता प्राप्त पाठ · मॉडल: tdguard-maintainers-i18n sha256:38ccb584cb…9ca912

सरल सारांश

मानव अनुमोदन के बिना MCP के माध्यम से सीधे शेल कमांड टूल चलाने से सहायक को रोकता है।

लक्ष्य फ़ील्ड: toolName BLOCK_MCP_TOOLALERT_USER
तकनीकी JSON और संकेतक
{
  "id": "mcp.block-shell-exec",
  "version": 1,
  "category": "enterprise_governance",
  "severity": "critical",
  "lifecycleStatus": "ACTIVE",
  "lifecycle": {
    "status": "ACTIVE",
    "appliesTo": "Evergreen / MCP Clients",
    "verifiedAt": 1795800000000,
    "reviewDueAt": 1858872000000,
    "replacedBy": "",
    "retireReason": ""
  },
  "match": {
    "field": "toolName",
    "containsAny": [
      "shell.exec_command",
      "terminal.run_raw"
    ]
  },
  "actions": [
    "BLOCK_MCP_TOOL",
    "ALERT_USER"
  ],
  "indicators": [],
  "knowledge": null
}

threat.double-extension-invoice

v1
थ्रेट लैब गंभीरता: medium
सक्रिय लागू क्षेत्र: Evergreen / Windows & Email समीक्षा तिथि: 2028-11-26

AI-सहायता प्राप्त पाठ · मॉडल: tdguard-maintainers-i18n sha256:e7f2af95d9…83ac6e

सरल सारांश

ऐसे चालान फ़ाइलों के प्रति सचेत करता है जो दस्तावेज़ जैसे दोहरे एक्सटेंशन के पीछे निष्पादन योग्य कोड छिपाती हैं।

लक्ष्य फ़ील्ड: filename SUGGEST_QUARANTINEALERT_USER
तकनीकी JSON और संकेतक
{
  "id": "threat.double-extension-invoice",
  "version": 1,
  "category": "threat_lab",
  "severity": "medium",
  "lifecycleStatus": "ACTIVE",
  "lifecycle": {
    "status": "ACTIVE",
    "appliesTo": "Evergreen / Windows & Email",
    "verifiedAt": 1795800000000,
    "reviewDueAt": 1858872000000,
    "replacedBy": "",
    "retireReason": ""
  },
  "match": {
    "field": "filename",
    "endsWithAny": [
      ".pdf.exe",
      ".docx.exe",
      ".xlsx.scr"
    ]
  },
  "actions": [
    "SUGGEST_QUARANTINE",
    "ALERT_USER"
  ],
  "indicators": [
    {
      "type": "filename",
      "value": "invoice_2026.pdf.exe"
    }
  ],
  "knowledge": null
}

safety.webhook-exfil-beacon

v1
सामग्री सुरक्षा गंभीरता: high
सक्रिय लागू क्षेत्र: Evergreen / Outbound Web समीक्षा तिथि: 2028-11-26

AI-सहायता प्राप्त पाठ · मॉडल: tdguard-maintainers-i18n sha256:c85520a19c…8e82ce

सरल सारांश

जब किसी अविश्वसनीय पेलोड में गुप्त डेटा लीक के लिए प्रयुक्त अस्थायी वेबहुक एंडपॉइंट का संदर्भ हो तो उपयोगकर्ता को सचेत करता है।

लक्ष्य फ़ील्ड: url SUGGEST_BLOCK_OUTBOUNDALERT_USER
तकनीकी JSON और संकेतक
{
  "id": "safety.webhook-exfil-beacon",
  "version": 1,
  "category": "content_safety",
  "severity": "high",
  "lifecycleStatus": "ACTIVE",
  "lifecycle": {
    "status": "ACTIVE",
    "appliesTo": "Evergreen / Outbound Web",
    "verifiedAt": 1795800000000,
    "reviewDueAt": 1858872000000,
    "replacedBy": "",
    "retireReason": ""
  },
  "match": {
    "field": "url",
    "containsAny": [
      "webhook.site/exfil",
      "requestbin.net/capture"
    ]
  },
  "actions": [
    "SUGGEST_BLOCK_OUTBOUND",
    "ALERT_USER"
  ],
  "indicators": [
    {
      "type": "domain",
      "value": "webhook[.]site"
    },
    {
      "type": "domain",
      "value": "requestbin[.]net"
    }
  ],
  "knowledge": null
}

cost.local-health-cache

v1
टोकन व लूप सुरक्षा गंभीरता: low
सक्रिय लागू क्षेत्र: Evergreen / 3-Tier Sidecar समीक्षा तिथि: 2028-11-26

AI-सहायता प्राप्त पाठ · मॉडल: tdguard-maintainers-i18n sha256:ca7f443795…f550f5

सरल सारांश

सामान्य स्थानीय जांच प्रश्नों को सशुल्क क्लाउड मॉडल के बजाय शून्य-टोकन टियर-1 कैश पर भेजता है।

लक्ष्य फ़ील्ड: prompt ROUTE_TO_TIER1_CACHEEXPLAIN_TO_USER
तकनीकी JSON और संकेतक
{
  "id": "cost.local-health-cache",
  "version": 1,
  "category": "ai_cost_optimization",
  "severity": "low",
  "lifecycleStatus": "ACTIVE",
  "lifecycle": {
    "status": "ACTIVE",
    "appliesTo": "Evergreen / 3-Tier Sidecar",
    "verifiedAt": 1795800000000,
    "reviewDueAt": 1858872000000,
    "replacedBy": "",
    "retireReason": ""
  },
  "match": {
    "field": "prompt",
    "containsAny": [
      "tdguard_ping_status",
      "tdguard_tier1_selftest"
    ]
  },
  "actions": [
    "ROUTE_TO_TIER1_CACHE",
    "EXPLAIN_TO_USER"
  ],
  "indicators": [],
  "knowledge": null
}

cost.retry-doom-loop-guard

v1
टोकन व लूप सुरक्षा गंभीरता: medium
सक्रिय लागू क्षेत्र: Evergreen / AI CLI & API समीक्षा तिथि: 2028-11-26

AI-सहायता प्राप्त पाठ · मॉडल: tdguard-maintainers-i18n sha256:cbff046ede…3b1cf4

सरल सारांश

टियर-1 लूप ब्रेकर और स्थानीय खोज के माध्यम से AI एजेंटों को एक ही त्रुटि दोहराकर टोकन बर्बाद करने से रोकता है।

वातावरण
Any AI CLI or API agent connected via 3-tier sidecar
लक्षण
Agent sends the exact same failing command or huge repeated stack trace to a paid cloud model 3+ times in a row.
मूल कारण
Stateless retry loops resend full context without checking local deterministic fixes or collapsing repeated log lines.
सत्यापित समाधान
Enable Tier-1 Loop Breaker (threshold 3 in 5 min), compact duplicate consecutive log lines, and load only 1-2 matching entries via /llms.txt -> /feed/items/{id}.json.
सत्यापन जांच
Repeat the same normalized query 3 times in router-3tier and confirm decision LOOP_BREAKER_TRIGGERED with tokensUsed === 0.
लक्ष्य फ़ील्ड: prompt ROUTE_TO_TIER1_CACHEEXPLAIN_TO_USER
तकनीकी JSON और संकेतक
{
  "id": "cost.retry-doom-loop-guard",
  "version": 1,
  "category": "ai_cost_optimization",
  "severity": "medium",
  "lifecycleStatus": "ACTIVE",
  "lifecycle": {
    "status": "ACTIVE",
    "appliesTo": "Evergreen / AI CLI & API",
    "verifiedAt": 1795800000000,
    "reviewDueAt": 1858872000000,
    "replacedBy": "",
    "retireReason": ""
  },
  "match": {
    "field": "prompt",
    "containsAny": [
      "tdguard_loop_retry_exceeded",
      "retry_same_error_3x"
    ]
  },
  "actions": [
    "ROUTE_TO_TIER1_CACHE",
    "EXPLAIN_TO_USER"
  ],
  "indicators": [],
  "knowledge": {
    "environment": "Any AI CLI or API agent connected via 3-tier sidecar",
    "symptom": "Agent sends the exact same failing command or huge repeated stack trace to a paid cloud model 3+ times in a row.",
    "rootCause": "Stateless retry loops resend full context without checking local deterministic fixes or collapsing repeated log lines.",
    "verifiedFix": "Enable Tier-1 Loop Breaker (threshold 3 in 5 min), compact duplicate consecutive log lines, and load only 1-2 matching entries via /llms.txt -> /feed/items/{id}.json.",
    "verificationCheck": "Repeat the same normalized query 3 times in router-3tier and confirm decision LOOP_BREAKER_TRIGGERED with tokensUsed === 0.",
    "commandPattern": "",
    "commandRisk": "READ_ONLY",
    "license": "CC0-1.0",
    "sourceBasis": "SELF_AUTHORED_FIX"
  }
}

fix.node24-windows-test-glob

v1
इंजीनियरिंग सुधार गंभीरता: low
सक्रिय लागू क्षेत्र: Node.js 24 / Windows समीक्षा तिथि: 2027-05-26

AI-सहायता प्राप्त पाठ · मॉडल: tdguard-maintainers-i18n sha256:9c3e177d50…3da82e

सरल सारांश

Windows पर Node.js 24 टेस्ट रनर में फ़ोल्डर नाम देने पर होने वाली विफलता को कोटेड फ़ाइल ग्लोब से ठीक करता है।

वातावरण
Node.js 24 on Windows (PowerShell 5.1 / cmd.exe)
लक्षण
Running `node --test tests/` fails or finds zero tests instead of executing test files inside the folder.
मूल कारण
Windows shell does not expand POSIX directory arguments the same way as Linux shells in Node 24 test runner.
सत्यापित समाधान
Pass an explicitly quoted file glob such as `node --test "tests/*.test.js"` inside package.json scripts so Node performs cross-platform glob expansion itself.
सत्यापन जांच
Run `npm test` on Windows and verify all `*.test.js` suites execute with exit code 0.
पैरामीटरीकृत कमांड READ_ONLY
node --test "{TEST_DIR}/*.test.js"
लक्ष्य फ़ील्ड: command EXPLAIN_TO_USER
तकनीकी JSON और संकेतक
{
  "id": "fix.node24-windows-test-glob",
  "version": 1,
  "category": "engineering_fix",
  "severity": "low",
  "lifecycleStatus": "ACTIVE",
  "lifecycle": {
    "status": "ACTIVE",
    "appliesTo": "Node.js 24 / Windows",
    "verifiedAt": 1795800000000,
    "reviewDueAt": 1811352000000,
    "replacedBy": "",
    "retireReason": ""
  },
  "match": {
    "field": "command",
    "containsAny": [
      "node --test tests/",
      "node --test test/"
    ]
  },
  "actions": [
    "EXPLAIN_TO_USER"
  ],
  "indicators": [],
  "knowledge": {
    "environment": "Node.js 24 on Windows (PowerShell 5.1 / cmd.exe)",
    "symptom": "Running `node --test tests/` fails or finds zero tests instead of executing test files inside the folder.",
    "rootCause": "Windows shell does not expand POSIX directory arguments the same way as Linux shells in Node 24 test runner.",
    "verifiedFix": "Pass an explicitly quoted file glob such as `node --test \"tests/*.test.js\"` inside package.json scripts so Node performs cross-platform glob expansion itself.",
    "verificationCheck": "Run `npm test` on Windows and verify all `*.test.js` suites execute with exit code 0.",
    "commandPattern": "node --test \"{TEST_DIR}/*.test.js\"",
    "commandRisk": "READ_ONLY",
    "license": "CC0-1.0",
    "sourceBasis": "SELF_AUTHORED_FIX"
  }
}

fix.wrangler4-pages-create-force

v1
इंजीनियरिंग सुधार गंभीरता: medium
सक्रिय लागू क्षेत्र: Wrangler 4.x / Cloudflare Pages समीक्षा तिथि: 2027-05-26

AI-सहायता प्राप्त पाठ · मॉडल: tdguard-maintainers-i18n sha256:a460f0289c…634ce0

सरल सारांश

क्लासिक स्टैटिक Cloudflare Pages प्रोजेक्ट बनाते समय Wrangler v4 द्वारा Workers पर रीडायरेक्ट होने की समस्या हल करता है।

वातावरण
Cloudflare Wrangler 4.x CLI deploying pure static Pages sites
लक्षण
`wrangler pages project create` delegates to Workers and aborts with missing static directory detection error.
मूल कारण
Wrangler v4 routes new `pages project create` commands to Workers by default unless classic Pages creation is explicitly requested.
सत्यापित समाधान
Pass `--force` once on `wrangler pages project create {NAME} --production-branch main --force`, then run subsequent `wrangler pages deploy` commands WITHOUT `--force`.
सत्यापन जांच
Confirm project creation prints the `.pages.dev` domain and `wrangler pages deploy {DIR} --project-name {NAME}` returns HTTP 200.
पैरामीटरीकृत कमांड REVERSIBLE
wrangler pages project create {PROJECT_NAME} --production-branch main --force
लक्ष्य फ़ील्ड: command EXPLAIN_TO_USER
तकनीकी JSON और संकेतक
{
  "id": "fix.wrangler4-pages-create-force",
  "version": 1,
  "category": "engineering_fix",
  "severity": "medium",
  "lifecycleStatus": "ACTIVE",
  "lifecycle": {
    "status": "ACTIVE",
    "appliesTo": "Wrangler 4.x / Cloudflare Pages",
    "verifiedAt": 1795800000000,
    "reviewDueAt": 1811352000000,
    "replacedBy": "",
    "retireReason": ""
  },
  "match": {
    "field": "command",
    "containsAny": [
      "wrangler pages project create"
    ]
  },
  "actions": [
    "EXPLAIN_TO_USER"
  ],
  "indicators": [],
  "knowledge": {
    "environment": "Cloudflare Wrangler 4.x CLI deploying pure static Pages sites",
    "symptom": "`wrangler pages project create` delegates to Workers and aborts with missing static directory detection error.",
    "rootCause": "Wrangler v4 routes new `pages project create` commands to Workers by default unless classic Pages creation is explicitly requested.",
    "verifiedFix": "Pass `--force` once on `wrangler pages project create {NAME} --production-branch main --force`, then run subsequent `wrangler pages deploy` commands WITHOUT `--force`.",
    "verificationCheck": "Confirm project creation prints the `.pages.dev` domain and `wrangler pages deploy {DIR} --project-name {NAME}` returns HTTP 200.",
    "commandPattern": "wrangler pages project create {PROJECT_NAME} --production-branch main --force",
    "commandRisk": "REVERSIBLE",
    "license": "CC0-1.0",
    "sourceBasis": "SELF_AUTHORED_FIX"
  }
}

fix.wrangler3-pages-legacy

v1
इंजीनियरिंग सुधार गंभीरता: low
प्रतिस्थापित लागू क्षेत्र: Wrangler 3.x (Legacy) समीक्षा तिथि: 2026-05-27 द्वारा प्रतिस्थापित: fix.wrangler4-pages-create-force

AI-सहायता प्राप्त पाठ · मॉडल: tdguard-maintainers-i18n sha256:7c05dd153e…7bdd39

सरल सारांश

पुराना Wrangler v3 Pages निर्माण नोट (Wrangler v4 मार्गदर्शन द्वारा प्रतिस्थापित)।

वातावरण
Legacy Wrangler 3.x CLI (superseded by Wrangler 4.x)
लक्षण
Older automation scripts assume `wrangler pages project create` never delegates to Workers.
मूल कारण
Wrangler v4 changed default project creation behavior; keeping v3 instructions causes immediate deployment failure.
सत्यापित समाधान
Migrate to `fix.wrangler4-pages-create-force` when upgrading to Wrangler 4.x.
सत्यापन जांच
Check `wrangler --version` and follow the v4 guide if major version is 4 or higher.
लक्ष्य फ़ील्ड: command EXPLAIN_TO_USER
तकनीकी JSON और संकेतक
{
  "id": "fix.wrangler3-pages-legacy",
  "version": 1,
  "category": "engineering_fix",
  "severity": "low",
  "lifecycleStatus": "DEPRECATED",
  "lifecycle": {
    "status": "DEPRECATED",
    "appliesTo": "Wrangler 3.x (Legacy)",
    "verifiedAt": 1764288000000,
    "reviewDueAt": 1779840000000,
    "replacedBy": "fix.wrangler4-pages-create-force",
    "retireReason": ""
  },
  "match": {
    "field": "command",
    "containsAny": [
      "wrangler3_pages_create_legacy"
    ]
  },
  "actions": [
    "EXPLAIN_TO_USER"
  ],
  "indicators": [],
  "knowledge": {
    "environment": "Legacy Wrangler 3.x CLI (superseded by Wrangler 4.x)",
    "symptom": "Older automation scripts assume `wrangler pages project create` never delegates to Workers.",
    "rootCause": "Wrangler v4 changed default project creation behavior; keeping v3 instructions causes immediate deployment failure.",
    "verifiedFix": "Migrate to `fix.wrangler4-pages-create-force` when upgrading to Wrangler 4.x.",
    "verificationCheck": "Check `wrangler --version` and follow the v4 guide if major version is 4 or higher.",
    "commandPattern": "",
    "commandRisk": "READ_ONLY",
    "license": "CC0-1.0",
    "sourceBasis": "SELF_AUTHORED_FIX"
  }
}

cmd.ps51-join-and-utf8-safe

v1
कमांड पैटर्न गंभीरता: low
सक्रिय लागू क्षेत्र: Windows PowerShell 5.1 समीक्षा तिथि: 2028-11-26

AI-सहायता प्राप्त पाठ · मॉडल: tdguard-maintainers-i18n sha256:8493adca68…69ab0a

सरल सारांश

Windows PowerShell 5.1 के लिए सुरक्षित पैटर्न: `Join-String` के बजाय `-join` का उपयोग और ASCII-सुरक्षित स्क्रिप्ट।

वातावरण
Windows PowerShell 5.1 (built-in Windows desktop edition)
लक्षण
Scripts fail with `Join-String is not recognized` or break string parsing on UTF-8 em-dashes without BOM.
मूल कारण
`Join-String` exists only in PowerShell 6+/7+, and PowerShell 5.1 reads UTF-8 files without BOM using the local Windows code page.
सत्यापित समाधान
Use the native `-join ', '` operator for joining arrays and keep `.ps1` automation scripts pure ASCII (or UTF-8 with BOM when Unicode literals are needed).
सत्यापन जांच
Execute the script under `powershell.exe -NoProfile` and verify clean exit code 0.
पैरामीटरीकृत कमांड READ_ONLY
$items -join ', '
लक्ष्य फ़ील्ड: command EXPLAIN_TO_USER
तकनीकी JSON और संकेतक
{
  "id": "cmd.ps51-join-and-utf8-safe",
  "version": 1,
  "category": "command_snippet",
  "severity": "low",
  "lifecycleStatus": "ACTIVE",
  "lifecycle": {
    "status": "ACTIVE",
    "appliesTo": "Windows PowerShell 5.1",
    "verifiedAt": 1795800000000,
    "reviewDueAt": 1858872000000,
    "replacedBy": "",
    "retireReason": ""
  },
  "match": {
    "field": "command",
    "containsAny": [
      "join-string -separator",
      "join-string -outputprefix"
    ]
  },
  "actions": [
    "EXPLAIN_TO_USER"
  ],
  "indicators": [],
  "knowledge": {
    "environment": "Windows PowerShell 5.1 (built-in Windows desktop edition)",
    "symptom": "Scripts fail with `Join-String is not recognized` or break string parsing on UTF-8 em-dashes without BOM.",
    "rootCause": "`Join-String` exists only in PowerShell 6+/7+, and PowerShell 5.1 reads UTF-8 files without BOM using the local Windows code page.",
    "verifiedFix": "Use the native `-join ', '` operator for joining arrays and keep `.ps1` automation scripts pure ASCII (or UTF-8 with BOM when Unicode literals are needed).",
    "verificationCheck": "Execute the script under `powershell.exe -NoProfile` and verify clean exit code 0.",
    "commandPattern": "$items -join ', '",
    "commandRisk": "READ_ONLY",
    "license": "CC0-1.0",
    "sourceBasis": "SELF_AUTHORED_FIX"
  }
}

cmd.git-soft-reset-safe

v1
कमांड पैटर्न गंभीरता: medium
सक्रिय लागू क्षेत्र: Evergreen / Git >= 2.30 समीक्षा तिथि: 2028-11-26

AI-सहायता प्राप्त पाठ · मॉडल: tdguard-maintainers-i18n sha256:c75363340f…a1217a

सरल सारांश

अपुश्ड लोकल कमिट को वापस लेने का सुरक्षित Git कमांड जो स्टेजिंग में सभी बदलाव सुरक्षित रखता है।

वातावरण
Git >= 2.30 on Windows, macOS, and Linux
लक्षण
Uncommitted edits or newly created files are permanently wiped when rolling back a local commit carelessly.
मूल कारण
Hard resets discard tracked modifications immediately without placing them in the staging area for inspection.
सत्यापित समाधान
Prefer `git reset --soft HEAD~1` on unpushed local commits so every change remains staged and inspectable before recommitting.
सत्यापन जांच
Run `git status --short` after reset to confirm all modified files remain intact in the index.
पैरामीटरीकृत कमांड REVERSIBLE
git reset --soft HEAD~1
लक्ष्य फ़ील्ड: command ALERT_USEREXPLAIN_TO_USER
तकनीकी JSON और संकेतक
{
  "id": "cmd.git-soft-reset-safe",
  "version": 1,
  "category": "command_snippet",
  "severity": "medium",
  "lifecycleStatus": "ACTIVE",
  "lifecycle": {
    "status": "ACTIVE",
    "appliesTo": "Evergreen / Git >= 2.30",
    "verifiedAt": 1795800000000,
    "reviewDueAt": 1858872000000,
    "replacedBy": "",
    "retireReason": ""
  },
  "match": {
    "field": "command",
    "containsAny": [
      "git reset --hard head~1",
      "git reset --hard origin/"
    ]
  },
  "actions": [
    "ALERT_USER",
    "EXPLAIN_TO_USER"
  ],
  "indicators": [],
  "knowledge": {
    "environment": "Git >= 2.30 on Windows, macOS, and Linux",
    "symptom": "Uncommitted edits or newly created files are permanently wiped when rolling back a local commit carelessly.",
    "rootCause": "Hard resets discard tracked modifications immediately without placing them in the staging area for inspection.",
    "verifiedFix": "Prefer `git reset --soft HEAD~1` on unpushed local commits so every change remains staged and inspectable before recommitting.",
    "verificationCheck": "Run `git status --short` after reset to confirm all modified files remain intact in the index.",
    "commandPattern": "git reset --soft HEAD~1",
    "commandRisk": "REVERSIBLE",
    "license": "CC0-1.0",
    "sourceBasis": "OFFICIAL_DOCS_SUMMARY"
  }
}

cmd.opsec-prepush-diff-audit

v1
कमांड पैटर्न गंभीरता: medium
सक्रिय लागू क्षेत्र: Evergreen / Git & Public OSS समीक्षा तिथि: 2028-11-26

AI-सहायता प्राप्त पाठ · मॉडल: tdguard-maintainers-i18n sha256:a1e207cfe7…deb94e

सरल सारांश

सार्वजनिक रिपॉजिटरी में कमिट करने से पहले स्टेज्ड फ़ाइलों और छिपे कैश फ़ोल्डरों की जांच हेतु रीड-ओनली Git ऑडिट।

वातावरण
Git repositories preparing public commits or releases
लक्षण
Blind `git add -A` accidentally stages `.wrangler/cache/`, `.env`, or temporary key files into public commit history.
मूल कारण
CLI tools generate hidden cache directories containing cloud account identifiers inside the project root.
सत्यापित समाधान
Run a read-only `git status --short` and `git diff --cached --name-only` inspection before committing, paired with an automated OPSEC gate.
सत्यापन जांच
Verify zero `.env`, `.pem`, `.key`, or `.wrangler` entries appear in staged output.
पैरामीटरीकृत कमांड READ_ONLY
git status --short && git diff --cached --name-only
लक्ष्य फ़ील्ड: command EXPLAIN_TO_USER
तकनीकी JSON और संकेतक
{
  "id": "cmd.opsec-prepush-diff-audit",
  "version": 1,
  "category": "command_snippet",
  "severity": "medium",
  "lifecycleStatus": "ACTIVE",
  "lifecycle": {
    "status": "ACTIVE",
    "appliesTo": "Evergreen / Git & Public OSS",
    "verifiedAt": 1795800000000,
    "reviewDueAt": 1858872000000,
    "replacedBy": "",
    "retireReason": ""
  },
  "match": {
    "field": "command",
    "containsAny": [
      "git add . && git commit",
      "git add -a && git push"
    ]
  },
  "actions": [
    "EXPLAIN_TO_USER"
  ],
  "indicators": [],
  "knowledge": {
    "environment": "Git repositories preparing public commits or releases",
    "symptom": "Blind `git add -A` accidentally stages `.wrangler/cache/`, `.env`, or temporary key files into public commit history.",
    "rootCause": "CLI tools generate hidden cache directories containing cloud account identifiers inside the project root.",
    "verifiedFix": "Run a read-only `git status --short` and `git diff --cached --name-only` inspection before committing, paired with an automated OPSEC gate.",
    "verificationCheck": "Verify zero `.env`, `.pem`, `.key`, or `.wrangler` entries appear in staged output.",
    "commandPattern": "git status --short && git diff --cached --name-only",
    "commandRisk": "READ_ONLY",
    "license": "CC0-1.0",
    "sourceBasis": "SELF_AUTHORED_FIX"
  }
}

pitfall.ps51-rdap-byte-array

v1
एकीकरण जाल गंभीरता: medium
सक्रिय लागू क्षेत्र: Windows PowerShell 5.1 / REST APIs समीक्षा तिथि: 2028-11-26

AI-सहायता प्राप्त पाठ · मॉडल: tdguard-maintainers-i18n sha256:9fccd1866e…4772f6

सरल सारांश

बताता है कि PowerShell 5.1 में RDAP जैसे `+json` MIME प्रकारों के लिए `Invoke-WebRequest` बाइट ऐरे क्यों लौटाता है।

वातावरण
Windows PowerShell 5.1 calling REST endpoints with vendor `+json` media types
लक्षण
Piping `$res.Content | ConvertFrom-Json` yields empty fields or fails silently on `application/rdap+json` responses.
मूल कारण
PowerShell 5.1 treats non-standard JSON content types as binary `byte[]` instead of UTF-8 strings.
सत्यापित समाधान
Check if `$res.Content` is `byte[]` and decode explicitly via `[System.Text.Encoding]::UTF8.GetString($res.Content)` before calling `ConvertFrom-Json`.
सत्यापन जांच
Verify decoded string starts with `{` and parses cleanly into expected JSON properties.
पैरामीटरीकृत कमांड READ_ONLY
[System.Text.Encoding]::UTF8.GetString($res.Content) | ConvertFrom-Json
लक्ष्य फ़ील्ड: command EXPLAIN_TO_USER
तकनीकी JSON और संकेतक
{
  "id": "pitfall.ps51-rdap-byte-array",
  "version": 1,
  "category": "integration_pitfall",
  "severity": "medium",
  "lifecycleStatus": "ACTIVE",
  "lifecycle": {
    "status": "ACTIVE",
    "appliesTo": "Windows PowerShell 5.1 / REST APIs",
    "verifiedAt": 1795800000000,
    "reviewDueAt": 1858872000000,
    "replacedBy": "",
    "retireReason": ""
  },
  "match": {
    "field": "command",
    "containsAny": [
      "application/rdap+json",
      "application/problem+json"
    ]
  },
  "actions": [
    "EXPLAIN_TO_USER"
  ],
  "indicators": [],
  "knowledge": {
    "environment": "Windows PowerShell 5.1 calling REST endpoints with vendor `+json` media types",
    "symptom": "Piping `$res.Content | ConvertFrom-Json` yields empty fields or fails silently on `application/rdap+json` responses.",
    "rootCause": "PowerShell 5.1 treats non-standard JSON content types as binary `byte[]` instead of UTF-8 strings.",
    "verifiedFix": "Check if `$res.Content` is `byte[]` and decode explicitly via `[System.Text.Encoding]::UTF8.GetString($res.Content)` before calling `ConvertFrom-Json`.",
    "verificationCheck": "Verify decoded string starts with `{` and parses cleanly into expected JSON properties.",
    "commandPattern": "[System.Text.Encoding]::UTF8.GetString($res.Content) | ConvertFrom-Json",
    "commandRisk": "READ_ONLY",
    "license": "CC0-1.0",
    "sourceBasis": "SELF_AUTHORED_FIX"
  }
}

pitfall.unicode-nfc-nfd-vietnamese

v1
एकीकरण जाल गंभीरता: medium
सक्रिय लागू क्षेत्र: Evergreen / Multilingual UTF-8 समीक्षा तिथि: 2028-11-26

AI-सहायता प्राप्त पाठ · मॉडल: tdguard-maintainers-i18n sha256:83b15e4806…5fba07

सरल सारांश

NFC और NFD यूनिकोड रूपों के मिश्रण से होने वाले हैश और स्ट्रिंग-समानता त्रुटियों को रोकता है।

वातावरण
Cross-platform apps (macOS / Windows / Web / Node / Rust) hashing or comparing accented strings
लक्षण
Two visually identical Vietnamese strings produce different SHA-256 hashes or fail strict equality checks.
मूल कारण
macOS and some IMEs emit decomposed NFD combining marks while Windows/web emit precomposed NFC code points.
सत्यापित समाधान
Normalize all canonical text fields with `.normalize('NFC')` before computing signatures, SHA-256 digests, or database lookups.
सत्यापन जांच
Compare `sha256(nfcText)` against `sha256(nfdText.normalize('NFC'))` and verify identical hex digests.
पैरामीटरीकृत कमांड READ_ONLY
text.normalize('NFC')
लक्ष्य फ़ील्ड: prompt EXPLAIN_TO_USER
तकनीकी JSON और संकेतक
{
  "id": "pitfall.unicode-nfc-nfd-vietnamese",
  "version": 1,
  "category": "integration_pitfall",
  "severity": "medium",
  "lifecycleStatus": "ACTIVE",
  "lifecycle": {
    "status": "ACTIVE",
    "appliesTo": "Evergreen / Multilingual UTF-8",
    "verifiedAt": 1795800000000,
    "reviewDueAt": 1858872000000,
    "replacedBy": "",
    "retireReason": ""
  },
  "match": {
    "field": "prompt",
    "containsAny": [
      "nfc_nfd_mismatch",
      "vietnamese_hash_mismatch"
    ]
  },
  "actions": [
    "EXPLAIN_TO_USER"
  ],
  "indicators": [],
  "knowledge": {
    "environment": "Cross-platform apps (macOS / Windows / Web / Node / Rust) hashing or comparing accented strings",
    "symptom": "Two visually identical Vietnamese strings produce different SHA-256 hashes or fail strict equality checks.",
    "rootCause": "macOS and some IMEs emit decomposed NFD combining marks while Windows/web emit precomposed NFC code points.",
    "verifiedFix": "Normalize all canonical text fields with `.normalize('NFC')` before computing signatures, SHA-256 digests, or database lookups.",
    "verificationCheck": "Compare `sha256(nfcText)` against `sha256(nfdText.normalize('NFC'))` and verify identical hex digests.",
    "commandPattern": "text.normalize('NFC')",
    "commandRisk": "READ_ONLY",
    "license": "CC0-1.0",
    "sourceBasis": "OFFICIAL_DOCS_SUMMARY"
  }
}

pitfall.ed25519-rfc8032-torsion

v1
एकीकरण जाल गंभीरता: high
सक्रिय लागू क्षेत्र: Evergreen / Node.js OpenSSL & Crypto समीक्षा तिथि: 2028-11-26

AI-सहायता प्राप्त पाठ · मॉडल: tdguard-maintainers-i18n sha256:af629b1482…702fbf

सरल सारांश

Ed25519 सत्यापनकर्ताओं को स्मॉल-ऑर्डर टॉर्शन कुंजी, S >= L और X25519 SPKI भ्रम से बचाता है।

वातावरण
Node.js crypto / OpenSSL verifying untrusted Ed25519 public keys and signatures
लक्षण
Default OpenSSL verification can accept low-order torsion points or mislabeled X25519 SPKI keys if unchecked.
मूल कारण
Different crypto libraries disagree on strict RFC 8032 cofactored vs cofactorless verification and canonical S scalar bounds.
सत्यापित समाधान
Verify `asymmetricKeyType === 'ed25519'`, reject the 8 low-order torsion points and y >= p, and enforce canonical scalar S strictly between 0 and L before calling `crypto.verify`.
सत्यापन जांच
Run negative crypto tests with identity point `0100..00`, `S >= L`, and an X25519 key; all must return false.
लक्ष्य फ़ील्ड: prompt ALERT_USEREXPLAIN_TO_USER
तकनीकी JSON और संकेतक
{
  "id": "pitfall.ed25519-rfc8032-torsion",
  "version": 1,
  "category": "integration_pitfall",
  "severity": "high",
  "lifecycleStatus": "ACTIVE",
  "lifecycle": {
    "status": "ACTIVE",
    "appliesTo": "Evergreen / Node.js OpenSSL & Crypto",
    "verifiedAt": 1795800000000,
    "reviewDueAt": 1858872000000,
    "replacedBy": "",
    "retireReason": ""
  },
  "match": {
    "field": "prompt",
    "containsAny": [
      "ed25519_small_order_key",
      "x25519_spki_confusion"
    ]
  },
  "actions": [
    "ALERT_USER",
    "EXPLAIN_TO_USER"
  ],
  "indicators": [],
  "knowledge": {
    "environment": "Node.js crypto / OpenSSL verifying untrusted Ed25519 public keys and signatures",
    "symptom": "Default OpenSSL verification can accept low-order torsion points or mislabeled X25519 SPKI keys if unchecked.",
    "rootCause": "Different crypto libraries disagree on strict RFC 8032 cofactored vs cofactorless verification and canonical S scalar bounds.",
    "verifiedFix": "Verify `asymmetricKeyType === 'ed25519'`, reject the 8 low-order torsion points and y >= p, and enforce canonical scalar S strictly between 0 and L before calling `crypto.verify`.",
    "verificationCheck": "Run negative crypto tests with identity point `0100..00`, `S >= L`, and an X25519 key; all must return false.",
    "commandPattern": "",
    "commandRisk": "READ_ONLY",
    "license": "CC0-1.0",
    "sourceBasis": "SELF_AUTHORED_FIX"
  }
}

workflow.opsec-forbidden-vs-skip

v1
सुरक्षित कार्यप्रवाह गंभीरता: high
सक्रिय लागू क्षेत्र: Evergreen / Public Repo OPSEC समीक्षा तिथि: 2028-11-26

AI-सहायता प्राप्त पाठ · मॉडल: tdguard-maintainers-i18n sha256:41e0f5fcb4…114b19

सरल सारांश

मेंटेनर OPSEC कार्यप्रवाह: रिलीज़ गेट में `.wrangler` जैसे कैश फ़ोल्डरों को SKIP के बजाय FORBIDDEN सूची में रखें।

वातावरण
Automated OPSEC gates scanning public open-source staging repositories
लक्षण
Hidden CLI cache folders containing cloud account IDs pass the scanner silently because they were added to SKIP_DIRS.
मूल कारण
SKIP_DIRS tells the scanner not to inspect a folder, whereas FORBIDDEN_DIRS fails closed if the folder exists in staging.
सत्यापित समाधान
Exclude `.wrangler` in both `.gitignore` and sync allowlists, AND list `.wrangler` inside `FORBIDDEN_DIRS` in the OPSEC scanner so any accidental copy aborts the release.
सत्यापन जांच
Place a dummy `.wrangler/test.json` in a temp test dir and confirm the OPSEC gate exits with non-zero status.
लक्ष्य फ़ील्ड: filename ALERT_USEREXPLAIN_TO_USER
तकनीकी JSON और संकेतक
{
  "id": "workflow.opsec-forbidden-vs-skip",
  "version": 1,
  "category": "safe_workflow",
  "severity": "high",
  "lifecycleStatus": "ACTIVE",
  "lifecycle": {
    "status": "ACTIVE",
    "appliesTo": "Evergreen / Public Repo OPSEC",
    "verifiedAt": 1795800000000,
    "reviewDueAt": 1858872000000,
    "replacedBy": "",
    "retireReason": ""
  },
  "match": {
    "field": "filename",
    "containsAny": [
      ".wrangler/cache",
      "wrangler-account.json"
    ]
  },
  "actions": [
    "ALERT_USER",
    "EXPLAIN_TO_USER"
  ],
  "indicators": [
    {
      "type": "filename",
      "value": "wrangler-account.json"
    }
  ],
  "knowledge": {
    "environment": "Automated OPSEC gates scanning public open-source staging repositories",
    "symptom": "Hidden CLI cache folders containing cloud account IDs pass the scanner silently because they were added to SKIP_DIRS.",
    "rootCause": "SKIP_DIRS tells the scanner not to inspect a folder, whereas FORBIDDEN_DIRS fails closed if the folder exists in staging.",
    "verifiedFix": "Exclude `.wrangler` in both `.gitignore` and sync allowlists, AND list `.wrangler` inside `FORBIDDEN_DIRS` in the OPSEC scanner so any accidental copy aborts the release.",
    "verificationCheck": "Place a dummy `.wrangler/test.json` in a temp test dir and confirm the OPSEC gate exits with non-zero status.",
    "commandPattern": "",
    "commandRisk": "READ_ONLY",
    "license": "Apache-2.0",
    "sourceBasis": "MAINTAINER_VERIFIED"
  }
}

workflow.ai-disclosure-tech-checklist

v1
सुरक्षित कार्यप्रवाह गंभीरता: medium
सक्रिय लागू क्षेत्र: Evergreen / Technical Readiness समीक्षा तिथि: 2027-11-27

AI-सहायता प्राप्त पाठ · मॉडल: tdguard-maintainers-i18n sha256:ead9573274…5f4949

सरल सारांश

AI उत्पत्ति लेबलिंग, क्रिप्टो-श्रेडेड PII लॉग और रीड-ओनली स्टैटिक पोर्टल के लिए तकनीकी चेकलिस्ट (कानूनी सलाह नहीं)।

वातावरण
Open-source AI tools shipping static advisory portals and telemetry-free local sidecars
लक्षण
Engineering teams miss basic technical hygiene such as AI-origin provenance tags, PII erasure hooks, or strict read-only boundaries.
मूल कारण
Mixing user-generated social features, unredacted logs, and unlabeled AI outputs creates avoidable operational and compliance risk.
सत्यापित समाधान
Tag every published item with `contentOrigin` + `aiModel`, store private intake logs as crypto-shreddable salted HMAC commitments with 7-day TTL, serve static portals with `script-src none`, and consult qualified counsel for jurisdiction-specific legal questions.
सत्यापन जांच
Confirm `_headers` sets `script-src 'none'`, `PUBLIC_SHOW_UNVERIFIED=false`, and every AI-assisted item discloses `aiModel`.
लक्ष्य फ़ील्ड: prompt EXPLAIN_TO_USER
तकनीकी JSON और संकेतक
{
  "id": "workflow.ai-disclosure-tech-checklist",
  "version": 1,
  "category": "safe_workflow",
  "severity": "medium",
  "lifecycleStatus": "ACTIVE",
  "lifecycle": {
    "status": "ACTIVE",
    "appliesTo": "Evergreen / Technical Readiness",
    "verifiedAt": 1795800000000,
    "reviewDueAt": 1827336000000,
    "replacedBy": "",
    "retireReason": ""
  },
  "match": {
    "field": "prompt",
    "containsAny": [
      "tdguard_compliance_checklist",
      "ai_origin_tech_audit"
    ]
  },
  "actions": [
    "EXPLAIN_TO_USER"
  ],
  "indicators": [],
  "knowledge": {
    "environment": "Open-source AI tools shipping static advisory portals and telemetry-free local sidecars",
    "symptom": "Engineering teams miss basic technical hygiene such as AI-origin provenance tags, PII erasure hooks, or strict read-only boundaries.",
    "rootCause": "Mixing user-generated social features, unredacted logs, and unlabeled AI outputs creates avoidable operational and compliance risk.",
    "verifiedFix": "Tag every published item with `contentOrigin` + `aiModel`, store private intake logs as crypto-shreddable salted HMAC commitments with 7-day TTL, serve static portals with `script-src none`, and consult qualified counsel for jurisdiction-specific legal questions.",
    "verificationCheck": "Confirm `_headers` sets `script-src 'none'`, `PUBLIC_SHOW_UNVERIFIED=false`, and every AI-assisted item discloses `aiModel`.",
    "commandPattern": "",
    "commandRisk": "READ_ONLY",
    "license": "Apache-2.0",
    "sourceBasis": "MAINTAINER_VERIFIED"
  }
}

ज़ीरो-ट्रस्ट और टोकन-बचत संरचना

स्थानीय 3-स्तरीय साइडकार (लूप ब्रेकर और मेमोरी स्वीप सहित) व ऑफ़लाइन-रूट ज्ञान श्रृंखला।

01 · LOCAL 3-TIER AI SIDECAR (OWNER ALWAYS IN CONTROL) TIER 1 · 0 TOK Guard & Loop Mute · 2-Stage TIER 2 Local SLM 127.0.0.1 Only TIER 3 BYOK Cloud Hard Cap Local TUF Verifier + Retroactive Memory Sweep Verifies 2-of-3 Root · Purges bad memory · Never locks owner SIGNED 02 · 6-BRANCH VERIFIED KNOWLEDGE CHAIN (STATIC CDN) INTAKE PoW + Dedup Tombstones M-OF-N QUORUM 3..24 Sentinels Anti-Trojan Veto STATIC KB Pages / R2 0-JS · 2-Stage 1–3 Vice-President Guardians + Lifecycle Tombstones ACTIVE · STALE · DEPRECATED · RETIRED · ult-notary-ledger
01

शून्य-JS स्थिर पोर्टल

कठोर CSP (script-src none) और शून्य XSS सतह।

02

2-चरणीय टोकन बचत

संक्षिप्त /llms.txt + प्रति-आइटम JSON + टियर-1 लूप ब्रेकर।

03

जीवनचक्र व डुप्लिकेट रोकथाम

ACTIVE, STALE, DEPRECATED, RETIRED और टॉम्बस्टोन फिंगरप्रिंट।

04

स्वामी का पूर्ण नियंत्रण

डिफ़ॉल्ट सलाह मोड, स्थानीय म्यूट और 2-of-3 ऑफ़लाइन रूट।

AI एजेंट 2-चरणीय एंडपॉइंट्स

AI एजेंटों को Ed25519 + TUF हस्ताक्षर स्थानीय रूप से सत्यापित करने और RETIRED आइटम छोड़ने चाहिए।