मुख्य सामग्री पर जाएँ
Skillpedia
सिक्योरिटी48k · #6238

zeroize-audit

यह क्या करती है

यह टूल आपके प्रोग्रामिंग कोड (C, C++, Rust) की जाँच करता है कि passwords या keys जैसी संवेदनशील जानकारी इस्तेमाल के बाद पूरी तरह मिटाई जाती है या नहीं। यह उन कमियों को ढूँढता है जहाँ यह डेटा लीक हो सकता है या ठीक से हटाया न गया हो, भले ही compiler कोड को optimize कर रहा हो।

कब इस्तेमाल करें

  • ✓संवेदनशील डेटा (passwords, keys आदि) संभालने वाले कोड की समीक्षा करते समय।
  • ✓यह जाँचने के लिए कि अहम प्रोग्राम में संवेदनशील डेटा की सफ़ाई सुरक्षित तरीके से हो रही है।
  • ✓cryptographic implementations और authentication सिस्टम का ऑडिट करने के लिए।

Skill का लिंक

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/zeroize-audit/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/zeroize-audit/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मेरे C++ कोड में संवेदनशील डेटा लीक की जाँच करो और पक्का करो कि passwords सही तरीके से मिटाए जाते हैं।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

टूल कोड को अलग-अलग स्तरों पर जाँचता है, जिनमें machine code (assembly) भी शामिल है, ताकि देखा जा सके कि संवेदनशील डेटा कैसे संभाला जाता है और क्या वह मिटता है। यह कोड को optimization के साथ और बिना optimization के तुलना करके ऐसी समस्याएँ ढूँढता है जो सिर्फ़ तेज़ वर्ज़न में दिखती हैं।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Supporting material availability

This catalog copy contains the inline guidance below, but does not include the following supporting paths. They are external prerequisites, not bundled files:

Ask for the original supporting material or an existing installation before using a step that depends on these paths; this catalog does not identify a verified download source for them. Resolve each path relative to that installation, inspect its contents, and verify any applicable license and execution prerequisites. Do not run a command or claim a referenced procedure was followed until its required file exists. Do not fabricate the missing scripts or treat an unrelated file with the same name as equivalent. Independent steps fully documented here can proceed within the user’s authorized scope; report any dependent step as unavailable.

⚠️ AUTHORIZED USE ONLY This skill is for educational purposes or authorized security assessments only. You must have explicit, written permission from the system owner before using this tool. Misuse of this tool is illegal and strictly prohibited.

Mandatory confirmation gate Before running any command that probes, exploits, changes, persists on, extracts data from, or attempts credential access against a target:

  1. Ask the user to state the exact target URL, IP, account, or resource.
  2. Ask the user to confirm written authorization and the permitted scope.
  3. Show the exact command(s) and explain their expected effect.
  4. Wait for explicit confirmation in the current conversation.

Without that confirmation, remain read-only and provide defensive guidance only. Prefer a sandbox, disposable VM, or controlled lab.

zeroize-audit — Claude Skill

When to Use

  • Auditing cryptographic implementations (keys, seeds, nonces, secrets)
  • Reviewing authentication systems (passwords, tokens, session data)
  • Analyzing code that handles PII or sensitive credentials
  • Verifying secure cleanup in security-critical codebases
  • Investigating memory safety of sensitive data handling

When NOT to Use

  • General code review without security focus
  • Performance optimization (unless related to secure wiping)
  • Refactoring tasks not related to sensitive data
  • Code without identifiable secrets or sensitive values

Purpose

Detect missing zeroization of sensitive data in source code and identify zeroization that is removed or weakened by compiler optimizations (e.g., dead-store elimination), with mandatory LLVM IR/asm evidence. Capabilities include:

  • Assembly-level analysis for register spills and stack retention
  • Data-flow tracking for secret copies
  • Heap allocator security warnings
  • Semantic IR analysis for loop unrolling and SSA form
  • Control-flow graph analysis for path coverage verification
  • Runtime validation test generation

Scope

  • Read-only against the target codebase (does not modify audited code; writes analysis artifacts to a temporary working directory).
  • Produces a structured report (JSON).
  • Requires valid build context (compile_commands.json) and compilable translation units.
  • "Optimized away" findings only allowed with compiler evidence (IR/asm diff).

Inputs

See {baseDir}/schemas/input.json for the full schema. Key fields:

Field Required Default Description
path yes — Repo root
compile_db no null Path to compile_commands.json for C/C++ analysis. Required if cargo_manifest is not set.
cargo_manifest no null Path to Cargo.toml for Rust crate analysis. Required if compile_db is not set.
config no — YAML defining heuristics and approved wipes
opt_levels no ["O0","O1","O2"] Optimization levels for IR comparison. O1 is the diagnostic level: if a wipe disappears at O1 it is simple DSE; O2 catches more aggressive eliminations.
languages no ["c","cpp","rust"] Languages to analyze
max_tus no — Limit on translation units processed from compile DB
mcp_mode no prefer off, prefer, or require — controls Serena MCP usage
mcp_required_for_advanced no true Downgrade SECRET_COPY, MISSING_ON_ERROR_PATH, and NOT_DOMINATING_EXITS to needs_review when MCP is unavailable
mcp_timeout_ms no — Timeout budget for MCP semantic queries

…

अक्सर पूछे जाने वाले सवाल

'zeroization' क्या है?

Zeroization का मतलब है संवेदनशील डेटा को शून्य (zeros) या किसी और हानिरहित मान से overwrite करके मिटाना, ताकि उसे वापस न पाया जा सके।

compiler 'zeroization' को क्यों हटा सकता है?

Compiler कोड को तेज़ बनाने के लिए optimize करता है। अगर उसे लगता है कि मिटाया गया डेटा अब ज़रूरी नहीं है, तो वह मिटाने वाला instruction (zeroization) हटा सकता है ताकि processing समय बचे। यह सुरक्षा के लिए जोखिम बन सकता है।

क्या इस टूल के इस्तेमाल के लिए अनुमति चाहिए?

हाँ, यह टूल सिर्फ़ शैक्षिक उद्देश्यों या अधिकृत सुरक्षा जाँच के लिए है। इसे इस्तेमाल करने से पहले सिस्टम के मालिक की साफ़ और लिखित अनुमति लेना ज़रूरी है।

जानकारी

लेखक का मूल विवरण

Detects missing zeroization of sensitive data in source code and identifies zeroization removed by compiler optimizations, with assembly-level analysis, and control-flow verification. Use for auditing C/C++/Rust code handling secrets, keys, passwords, or other sensitive data.

repo: sickn33/agentic-awesome-skills

लोकप्रियता

GitHub स्टार
48k
रैंकिंग में स्थान
#6238
लाइसेंस
MIT
अपडेट की गई
15/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

00-andruia-consultant

48k

आपके एजेंट को AI प्रोजेक्ट शुरू करने या उन्हें बेहतर बनाने में मदद करता है। यह code का विश्लेषण करता है, tools सुझाता है और स्पेनिश भाषा में action plan बनाता है।

AI और एजेंटएजेंट

007

48k

आपका एजेंट security audit और threat modeling करता है। यह प्रोजेक्ट को हमलों और कमजोरियों से बचाने में काम आता है।

कोडिंगसिक्योरिटी

10-andruia-skill-smith

48k

आपके एजेंट को AI tools बनाने या उन्हें बेहतर करने में मदद करता है। यह तय करता है कि tools कैसे काम करेंगे, documentation लिखता है और structure की जांच करता है।

AI और एजेंटएजेंट

20-andruia-niche-intelligence

48k

आपका एजेंट किसी खास industry का summary बनाता है। भरोसेमंद स्रोतों की मदद से यह प्रोजेक्ट का संदर्भ, नियम, इस्तेमाल के तरीके और जोखिम समझने में मदद करता है।

लेखन और डॉक्यूमेंटरिसर्च

मिलती-जुलती skills