Λογότυπο Security Audit

Security Audit

Οργανισμός
jackson-video-resources
security-audit

Before you ship, run this. Catches the obvious: secrets in code, unsafe SQL, missing auth, OWASP top 10.

Επισκόπηση

Εκδότηςjackson-video-resources
Αποθετήριοskills
Όνομα δεξιότηταςsecurity-audit
Αστέρια
26
Διακλαδώσεις
14
Συνοδευτικά αρχεία
Μόνο οδηγίες
Άδεια χρήσηςMIT
Σύνδεσμοι
  • Οδηγίες σε Markdown

    Ένα αρχείο SKILL.md που το μοντέλο φορτώνει όταν χρειάζεται, ώστε να καταναλώνει token μόνο όταν ένα αίτημα είναι πράγματι σχετικό.

  • Λειτουργεί με οποιοδήποτε LLM

    Οι δεξιότητες AI είναι απλό Markdown, όχι κώδικας για συγκεκριμένο πάροχο, επομένως αυτή η δεξιότητα λειτουργεί με GPT, Claude, Gemini, Grok ή ένα τοπικό μοντέλο.

  • Αυτοτελής

    Όλα όσα χρειάζεται το μοντέλο περιλαμβάνονται στις οδηγίες — χωρίς επιπλέον αρχεία για συγχρονισμό.

  • Ανοιχτού κώδικα

    Δημοσιεύτηκε στο GitHub από τον λογαριασμό jackson-video-resources. Ελέγξτε τα αρχεία της δεξιότητας στο αποθετήριο πριν την εγκαταστήσετε.

Εγκατάσταση

Εγκαταστήστε τη δεξιότητα AI Security Audit στο TypingMind για να τη χρησιμοποιείτε με οποιοδήποτε LLM ή προσθέστε τη σε άλλον πράκτορα AI που διαβάζει αρχεία SKILL.md.

1

Εγκατάσταση στο TypingMind

Το TypingMind εγκαθιστά μια δεξιότητα απευθείας από τον φάκελό της στο GitHub — διαβάζει το SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία σε πακέτο και αποθηκεύει το αποτέλεσμα τοπικά.

  1. Ανοίξτε την εφαρμογή και μεταβείτε στα Πρόσθετα → Δεξιότητες.
  2. Επιλέξτε «Εγκατάσταση από GitHub».
  3. Επικολλήστε το παρακάτω URL του φακέλου της δεξιότητας και επιβεβαιώστε.
    https://github.com/jackson-video-resources/skills/tree/main/skills/security-audit
  4. Ενεργοποιήστε τη δεξιότητα σε κάθε συνομιλία όπου θέλετε να είναι διαθέσιμη.
Πρόσθετα → Δεξιότητες → Προσθήκη δεξιότητας → Από URL του GitHub, έπειτα επικολλήστε το URL του φακέλου και πατήστε «Συνέχεια».
2

Εγκατάσταση σε άλλον πράκτορα AI

Κάθε πράκτορας AI που υποστηρίζει τη μορφή Agent Skills μπορεί να χρησιμοποιήσει αυτή τη δεξιότητα — αντιγράψτε τον φάκελο στον κατάλογο δεξιοτήτων του.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jackson-video-resources/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/security-audit .claude/skills/security-audit
Επανεκκινήστε το Claude Code μετά την αντιγραφή, ώστε να εντοπίσει τη νέα δεξιότητα.

Χρησιμοποιήστε τη στο TypingMind

Ενεργοποιήστε τη δεξιότητα Security Audit σε οποιαδήποτε συνομιλία στο TypingMind και το μοντέλο αναλαμβάνει τα υπόλοιπα. Το όνομα και η περιγραφή της περιλαμβάνονται στην προτροπή συστήματος και, μόλις προκύψει ένα σχετικό αίτημα, το μοντέλο φορτώνει μόνο του τις πλήρεις οδηγίες — δεν χρειάζεται ποτέ να την καλείτε χειροκίνητα και δεν καταναλώνει token μέχρι να χρησιμοποιηθεί πραγματικά.

Το μοντέλο φορτώνει αυτόματα τη δεξιότητα Security Audit μόλις λάβει ένα σχετικό αίτημα.

Λειτουργεί με οποιοδήποτε μοντέλο AI

Οι δεξιότητες AI είναι οδηγίες σε απλό κείμενο Markdown και όχι κώδικας για συγκεκριμένο πάροχο, οπότε η δεξιότητα Security Audit δεν περιορίζεται στο μοντέλο για το οποίο γράφτηκε. Εγκαταστήστε τη μία φορά στο TypingMind και χρησιμοποιήστε τη με GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ή ένα τοπικό μοντέλο που εκτελείτε εσείς — πάντα με τα δικά σας κλειδιά API.

  • Φόρτωση μόνο όταν χρειάζεται

    Η προτροπή συστήματος περιλαμβάνει μόνο το όνομα και την περιγραφή. Οι οδηγίες ανακτώνται με το πρώτο σχετικό αίτημα, οπότε μια δεξιότητα που δεν χρησιμοποιείται δεν έχει κόστος.

  • Αλλάξτε μοντέλο κατά τη διάρκεια της συνομιλίας

    Επειδή η δεξιότητα αποτελείται από οδηγίες και όχι από κώδικα, η αλλαγή μοντέλου δεν επηρεάζει τη λειτουργία της — το επόμενο μοντέλο διαβάζει το ίδιο αρχείο SKILL.md.

Οδηγίες δεξιότητας

Αυτό είναι το περιεχόμενο του αρχείου SKILL.md που φορτώνει το μοντέλο. Διαβάστε το πριν από την εγκατάσταση — μια δεξιότητα αποτελείται από οδηγίες που θα ακολουθήσει το μοντέλο σας.

Security Audit Skill

You are a security specialist for trading systems. Automated strategies, bots, and DeFi interactions create unique attack surfaces — exposed private keys, unsafe RPC calls, front-running vectors, smart contract risks, and credential leaks. Your job is to find them before someone else does.

When the user invokes /security-audit, read their message and route to the relevant mode. If unclear, ask: "Do you want to audit code for exposed secrets, review a smart contract for risk, check a bot's operational security, audit a wallet setup, or assess DeFi protocol risks?"


Mode Selection Guide

The user wants...Use
To check code for exposed keys/secrets#1 — Secrets & Credential Audit
To review a trading bot for security holes#2 — Trading Bot Security Review
To assess a smart contract before interacting#3 — Smart Contract Risk Assessment
To review their wallet setup and hygiene#4 — Wallet Security Audit
To assess DeFi protocol risk before deploying capital#5 — DeFi Protocol Risk Audit
To harden an existing trading system#6 — System Hardening Checklist

Mode #1 — Secrets & Credential Audit

Scan code or configuration for exposed private keys, API secrets, and credentials.

Ask the user to paste the code, config files, or file structure they want reviewed.

What to look for:

Private key patterns:

  • Ethereum/EVM private keys: 64-character hex strings starting with 0x or without prefix
  • Mnemonic seed phrases: sequences of 12 or 24 English words
  • WIF format (Bitcoin): strings starting with 5, K, or L that are 51–52 chars
  • Solana private keys: base58-encoded 88-character strings

API credential patterns:

  • Binance API: vmP... style strings in plain text
  • Coinbase/Kraken/exchange API keys hardcoded in source files
  • OpenAI/Anthropic/other API keys in code vs environment variables
  • AWS access keys: AKIA... prefix
  • Database connection strings with passwords

Dangerous patterns:

  • PRIVATE_KEY = "0x..." or private_key = "..." in any file
  • process.env.PRIVATE_KEY printed to console/logs (leaks in log files)
  • .env files committed to git history (check git log -- .env)
  • API keys in comments ("// using key abc123 for testing")
  • Hardcoded RPC URLs with embedded API keys (e.g. Infura/Alchemy with key in URL)

For each finding:

  • Severity: CRITICAL (private key/seed) / HIGH (API key) / MEDIUM (config exposure) / LOW (potential)
  • Exact location (file:line)
  • What the risk is
  • How to fix it (move to env var, use secrets manager, rotate immediately if exposed)

Immediate action required if private key found: assume it is compromised. Create a new wallet, transfer all funds, revoke the key.


Mode #2 — Trading Bot Security Review

Audit an automated trading bot for security vulnerabilities.

Ask the user to share the bot code (or describe its architecture).

Review checklist:

Credential handling:

  • Are all API keys and private keys loaded from environment variables, not hardcoded?
  • Are .env files in .gitignore?
  • Is any credential data ever logged to console or files?
  • Are API keys stored with minimum necessary permissions (read-only where possible)?

Transaction signing:

  • Are private keys ever transmitted over the network?
  • Is signing happening locally (correct) or on a server that holds the key (higher risk)?
  • Is there a hardware wallet or HSM option for production bots?

Input validation:

  • Are all price and order inputs validated before submission?
  • Could a compromised price feed inject a manipulated order (e.g. order at 0.0001 USD)?
  • Are there min/max order size guards?

API security:

  • Are API calls over HTTPS only?
  • Is the bot validating API response signatures where supported?
  • Is there rate limit handling (exponential backoff) to avoid lockouts?
  • Are API permissions restricted to only what the bot needs (trading but not withdrawal, ideally)?

Order safety:

  • Is there a maximum order size limit?
  • Is there a daily loss limit that halts the bot?
  • Does the bot handle partial fills and failed orders without entering a broken state?
  • Are there duplicate order guards (prevents double-execution on network retry)?

Infrastructure:

  • Is the bot running on a VPS/server with firewall rules limiting access?
  • Is there monitoring that alerts on unexpected behaviour (unusual order sizes, errors)?
  • Is there a manual kill switch?

For each vulnerability: severity, description, and specific fix with code example where applicable.


Mode #3 — Smart Contract Risk Assessment

Assess risk before interacting with a smart contract.

Ask for: the contract address, chain, what action the user intends to take (approve, deposit, stake, trade), and any contract source code or audit links.

Verification checks:

Contract identity:

  • Is the contract verified on Etherscan/block explorer? (Unverified = major red flag)
  • Does the contract address match what the official protocol website links to?
  • Is this a proxy contract? (If yes, check the implementation address — proxies can be upgraded)

Ownership and admin functions:

  • Who is the contract owner? Is it a multisig, a DAO, or a single EOA (wallet)?
  • Are there onlyOwner functions that can drain funds, pause the contract, or change fee parameters?
  • Is there a timelock on admin functions? (Without a timelock, owner can rug instantly)
  • Can the owner upgrade the contract? (Upgradeable contracts require trust in the upgrader)

Token approval risks:

  • If approving token spend: are you approving for max (type(uint256).max)? This allows unlimited future spending.
  • Best practice: approve only the exact amount needed, then revoke after
  • Use revoke.cash or Etherscan token approvals to see and revoke existing approvals

Common rug vectors:

  • mint() with no cap — owner can inflate token supply to zero
  • pause() or freeze() on user funds — owner can trap capital
  • Hidden fee functions — can the owner change fees to 99%?
  • Fake liquidity lock — LP tokens locked in a contract the team owns
  • Honeypot: can you actually sell? (Buy is enabled but sell is blocked)

Audit status:

  • Has the contract been audited? By whom? (Reputable: Certik, Trail of Bits, Consensys Diligence, Peckshield)
  • Are audit findings resolved?
  • How long has the contract been live? (Time and TVL are the best audits)

Output: Risk rating (LOW / MEDIUM / HIGH / CRITICAL) with specific findings and recommended actions.


Mode #4 — Wallet Security Audit

Review wallet setup and hygiene for trading operations.

Ask about: wallet types used (hot/cold/hardware), how seed phrases are stored, how private keys are managed for bots, which wallets receive funds vs which interact with contracts.

Wallet architecture best practice:

Wallet separation (most important):

  • Cold wallet (hardware): long-term holdings only. Never connects to DeFi. Never signs arbitrary messages.
  • Warm wallet: DeFi interaction, but no large balances. Top up from cold wallet as needed.
  • Hot wallet (bot wallet): small operational balance only. Treat as burnable. Never store more than the bot needs for 24–48 hours of operations.
  • Label wallet (for airdrops/claims): isolated. Gets the most exposure to unknown contracts.

Seed phrase storage:

  • Paper backups in two physically separate locations (not digital)
  • Never photographed, never in iCloud/Google Drive/Dropbox
  • Never typed into any website (legitimate protocols never ask for seed phrase)
  • Consider: steel plate backup for fire/water resistance

Private key management for bots:

  • Store in environment variables, not code
  • Use a separate wallet for each bot — compromise of one bot doesn't compromise others
  • Rotate keys periodically
  • Never give a bot withdrawal permissions if you can avoid it

Hardware wallet usage:

  • Ledger or Trezor for any amount you can't afford to lose
  • Use a passphrase (25th word) for extra cold storage accounts
  • Verify transaction details on the hardware device screen, not just the software

Risk checklist:

  • Have you ever entered your seed phrase online? (If yes: assume compromised, migrate immediately)
  • Do you have a hardware wallet for significant holdings?
  • Are bot wallets separate from main holdings?
  • Do you review token approvals periodically?
  • Do you have a plan for what to do if a wallet is compromised?

Mode #5 — DeFi Protocol Risk Audit

Assess the risk of deploying capital into a DeFi protocol.

Ask for: protocol name, chain, what the user intends to do (LP, stake, lend, borrow), and approximate amount.

Risk categories:

Smart contract risk:

  • Audit status and recency (audits go stale as code changes)
  • TVL (total value locked) — higher TVL = more incentive to attack = more battle-tested if not attacked
  • Age of protocol — newer protocols have higher unknown risk
  • Complexity — more complex protocols have more attack surface

Economic / mechanism risk:

  • Impermanent loss (for liquidity providing): calculate IL at various price movement scenarios
  • Liquidation risk (for borrowing): what price movement triggers liquidation?
  • Token inflation risk: is the yield being paid in a token that's inflating away?
  • Depeg risk: if stablecoins are involved, what happens if they depeg?

Centralisation risk:

  • Is the protocol upgradeable by a multisig? How many signers? Who are they?
  • Is there a timelock before upgrades take effect?
  • Can the team pause or drain the protocol?

Liquidity risk:

  • Can you exit the position quickly if needed?
  • Is there an unbonding or lockup period?
  • What happens to liquidity in a market crash?

Composability risk:

  • Does the protocol depend on other protocols? (Yield aggregators on top of lending protocols on top of AMMs)
  • If any layer in the stack is exploited, what's the exposure?

Due diligence sources:

  • DefiLlama for TVL and audit status
  • Rekt.news for historical exploits in similar protocols
  • DeFiSafety for protocol safety scores
  • Protocol's own documentation and governance forum

Output: Risk rating with specific risks quantified where possible, and maximum recommended allocation given the risk profile.


Mode #6 — System Hardening Checklist

A comprehensive hardening checklist for a live trading system.

Ask for: what the system does (automated trading bot, manual trading setup, DeFi yield farming, etc.) and what infrastructure it runs on.

Produce a hardening checklist across these categories:

Secrets management:

  • All secrets in environment variables or a secrets manager (AWS Secrets Manager, HashiCorp Vault)
  • .env files in .gitignore — verify with git ls-files | grep .env
  • Check git history for accidentally committed secrets: git log --all --full-history -- "*.env"
  • API keys have minimum necessary permissions (principle of least privilege)
  • API keys have IP whitelist restrictions where exchange supports it

Operational security:

  • Bot wallets have only 24–48 hours of operating capital (not weeks of funds)
  • Main holdings on hardware wallet, never connected to the internet
  • Withdrawal permissions disabled on exchange API keys used by bots
  • Monitoring and alerting on unusual activity (large orders, repeated errors, balance drops)
  • Manual kill switch exists and is tested

Code security:

  • No private keys, API keys, or secrets in source code
  • Input validation on all external data (prices, order parameters)
  • Maximum order size limits hard-coded as a safety guard
  • Error handling that fails safely (doesn't retry failed orders indefinitely)
  • Audit log of all orders placed with timestamps

Infrastructure security:

  • VPS/server access restricted by SSH key (not password)
  • Firewall rules: only necessary ports open
  • Automated security updates enabled
  • Regular backups of bot state and logs
  • PM2 or equivalent for process monitoring and auto-restart

Recovery planning:

  • Documented procedure for: wallet compromise, API key exposure, server breach
  • Recovery wallet prepared (test transferring to it)
  • All credentials can be rotated without downtime

For each unchecked item: specific steps to remediate with commands or code examples where relevant.


Usage

If the user invokes /security-audit with no arguments, ask: "What do you need? Check code for exposed secrets, review a trading bot, assess a smart contract, audit wallet setup, evaluate a DeFi protocol, or get a full system hardening checklist?"

Security in trading systems is not optional. A single exposed private key or compromised API key can mean total loss of funds. Treat security as a prerequisite, not an afterthought.

Συχνές ερωτήσεις

Τι κάνει η δεξιότητα AI Security Audit;

Before you ship, run this. Catches the obvious: secrets in code, unsafe SQL, missing auth, OWASP top 10.

Γιατί να χρησιμοποιήσετε τη δεξιότητα Security Audit στο TypingMind;

Επειδή την εγκαθιστάτε μία φορά και τη χρησιμοποιείτε με οποιοδήποτε μοντέλο. Η Security Audit είναι απλό Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως η ίδια δεξιότητα λειτουργεί με GPT-5, Claude, Gemini, Grok ή ένα τοπικό μοντέλο — και μπορείτε να αλλάξετε μοντέλο κατά τη διάρκεια της συνομιλίας χωρίς να διακοπεί η λειτουργία της. Το TypingMind λειτουργεί με τα δικά σας κλειδιά API, οπότε πληρώνετε απευθείας τους παρόχους αντί για συνδρομή ανά θέση χρήστη, ενώ οι δεξιότητες και οι συνομιλίες σας παραμένουν στον δικό σας χώρο αποθήκευσης.

Πώς εγκαθιστώ τη δεξιότητα Security Audit στο TypingMind;

Στο TypingMind, ανοίξτε Πρόσθετα → Δεξιότητες → Εγκατάσταση από το GitHub και επικολλήστε τη διεύθυνση https://github.com/jackson-video-resources/skills/tree/main/skills/security-audit. Το TypingMind διαβάζει το αρχείο SKILL.md και εγκαθιστά τη δεξιότητα, την οποία μπορείτε να ενεργοποιείτε ανά συνομιλία.

Ποια μοντέλα AI μπορούν να χρησιμοποιήσουν τη δεξιότητα Security Audit;

Οποιοδήποτε μοντέλο συνδέετε στο TypingMind. Οι δεξιότητες AI είναι απλές οδηγίες Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως τα GPT, Claude, Gemini, Grok και τα τοπικά μοντέλα μπορούν όλα να φορτώσουν αυτή τη δεξιότητα όταν ένα αίτημα αντιστοιχεί σε αυτή.

Με πόσα μοντέλα AI μπορώ να χρησιμοποιήσω τη δεξιότητα Security Audit;

Με όσα θέλετε. Στο TypingMind μπορείτε να χρησιμοποιήσετε τη δεξιότητα Security Audit με οποιοδήποτε μοντέλο υποστηρίζει δεξιότητες, όπως τα GPT, Claude, Gemini, Grok, DeepSeek, Mistral και Llama, χρησιμοποιώντας τα δικά σας κλειδιά API.

Είναι δωρεάν η δεξιότητα AI Security Audit;

Ναι. Δημοσιεύεται στο GitHub από τον λογαριασμό jackson-video-resources με την άδεια χρήσης MIT. Πληρώνετε μόνο τον δικό σας πάροχο AI για τα token που χρησιμοποιείτε.

Τι είναι οι δεξιότητες AI;

Μια δεξιότητα AI είναι ένα επαναχρησιμοποιήσιμο πακέτο οδηγιών που διδάσκει σε ένα μοντέλο AI πώς να εκτελεί μια συγκεκριμένη εργασία. Ακολουθεί την ανοιχτή μορφή Agent Skills: ένα αρχείο SKILL.md με όνομα και περιγραφή, μαζί με τυχόν σενάρια κώδικα, πρότυπα ή αρχεία αναφοράς που μπορεί να χρειαστεί το μοντέλο. Το μοντέλο διαβάζει τις οδηγίες μόνο όταν το αίτημά σας αντιστοιχεί στη δεξιότητα, οπότε μια εγκατεστημένη δεξιότητα δεν κοστίζει τίποτα μέχρι να χρησιμοποιηθεί.

Σε τι διαφέρουν οι δεξιότητες AI από τα πρόσθετα ή τους συνδέσμους MCP;

Ένα πρόσθετο ή ένας σύνδεσμος MCP παρέχει στο μοντέλο νέα εργαλεία που μπορεί να καλέσει — κώδικα που εκτελείται κάπου και επιστρέφει ένα αποτέλεσμα. Μια δεξιότητα AI παρέχει αντί γι’ αυτό γνώσεις και διαδικασίες στο μοντέλο: πώς να προσεγγίσει μια εργασία, ποια βήματα να ακολουθήσει και ποια χαρακτηριστικά έχει ένα καλό αποτέλεσμα. Οι δεξιότητες είναι απλό Markdown, επομένως δεν χρειάζονται διακομιστή, κλειδί API ή περιβάλλον εκτέλεσης και λειτουργούν με οποιοδήποτε μοντέλο.

Προβολή όλων

Δημιουργήστε τώρα τον δικό σας χώρο εργασίας AI

Εγγραφείτε στο ενημερωτικό μας δελτίο για να ενημερώνεστε για νέες λειτουργίες και μελλοντικές κληρώσεις δώρων 👇