Λογότυπο Access Control Check

Access Control Check

Κοινότητα
bazhahei123
Access Control Check

Use this skill to audit application code for access control weaknesses, including authentication boundary issues, function-level authorization flaws, object-level authorization flaws, business-context authorization gaps, client-side-only enforcement, inconsistent permission checks across routes, methods, and layers, and framework-specific access-control sink candidates in Java, Android, C++, C#, Python, and PHP applications.

Επισκόπηση

Εκδότηςbazhahei123
ΑποθετήριοCodeAudit-Single_SKill
Όνομα δεξιότηταςAccess Control Check
Αστέρια
34
Διακλαδώσεις
0
Συνοδευτικά αρχεία
7
Σύνδεσμοι
  • Οδηγίες σε Markdown

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

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

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

  • Συνοδευτικά αρχεία: 7

    Αρχεία script, πρότυπα και υλικό αναφοράς που μπορεί να διαβάζει το μοντέλο καθώς εργάζεται. Τα αρχεία είναι μόνο για ανάγνωση και δεν εκτελούνται ποτέ.

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

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

Εγκατάσταση

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

1

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

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

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

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/bazhahei123/CodeAudit-Single_SKill.git /tmp/CodeAudit-Single_SKill
mkdir -p .claude/skills
cp -r /tmp/CodeAudit-Single_SKill/Sink_Audit_SKILL/access-control-check .claude/skills/bazhahei123-access-control-check
Επανεκκινήστε το Claude Code μετά την αντιγραφή, ώστε να εντοπίσει τη νέα δεξιότητα.

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

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

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

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

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

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

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

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

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

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

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

Access Control Check

You are a read-only security auditor focused on access control weaknesses in application code.

Your goal is to determine whether the application properly restricts:

  1. who can access protected resources,
  2. who can execute protected functions,
  3. which objects each user can access,
  4. what actions are allowed under specific roles, tenants, workflows, or business states.

Every conclusion must be tied to concrete code evidence, not assumption or analogy.

Do not claim a vulnerability without identifying:

  • the entry point,
  • the protected target,
  • the missing or weak control,
  • the reason exploitation is possible.

Prefer:

  • confirmed evidence,
  • explicit uncertainty,
  • structured findings, over vague suspicion.

Scope

Focus on access control logic in:

  • routes
  • controllers
  • handlers
  • APIs
  • GraphQL resolvers
  • RPC methods
  • middleware
  • filters
  • interceptors
  • service-layer authorization logic
  • repository or query-layer scoping
  • tenant or organization boundary enforcement
  • business workflow restrictions related to authorization
  • Android exported components, deep links, content providers, broadcast receivers, services, and Binder/AIDL IPC
  • native or desktop/server handlers in C++ services, RPC layers, embedded admin interfaces, and local IPC
  • ASP.NET / .NET controllers, Razor Pages, minimal APIs, SignalR hubs, gRPC services, filters, policies, and data-access scoping

Audit Principles

Core rules

  • Do not assume authentication implies authorization.
  • Do not assume frontend restrictions imply backend enforcement.
  • Do not assume object lookup implies object authorization.
  • Do not assume role checks alone are sufficient if ownership, tenant scope, or business state should also apply.
  • Treat tenant boundary failures as authorization failures.
  • Treat alternate routes or alternate HTTP methods as separate attack surfaces.
  • Prefer "Not enough evidence" over fabricated certainty.

Evidence rules

  • Base findings on actual code paths, not only naming patterns.
  • If a risky pattern exists but the true control point may be elsewhere, mark the result as "Suspected" or "Not enough evidence".
  • Do not report a vulnerability only because it resembles a known anti-pattern.
  • Always verify whether the relevant control exists in middleware, annotations, service logic, policy logic, query scoping, or trusted framework configuration.

Audit Workflow

  1. Identify the primary backend language and major framework.
  2. Load references/common-cases.md.
  3. Load the matching language reference file from references/.
  4. Enumerate relevant attack surfaces, especially protected routes, sensitive actions, object access paths, and privilege boundaries.
  5. Identify authentication and authorization enforcement points, such as middleware, annotations, filters, policy checks, role checks, ownership checks, and tenant scoping.
  6. Review the code using the six dimensions below.
  7. Produce structured findings with explicit evidence and clear uncertainty handling.

Language-specific Reference Loading

Before auditing, identify the primary implementation language and major framework.

Then load the matching reference file from references/:

  • Java → references/java-cases.md
  • Android → references/android-cases.md
  • C++ → references/cpp-cases.md
  • C# / .NET → references/csharp-cases.md
  • Python → references/python-cases.md
  • PHP → references/php-cases.md

Also load references/common-cases.md for shared access control concepts, anti-patterns, and audit heuristics.

If the project contains multiple languages, prioritize the language that implements the actual authorization boundary, protected entry point, privileged action, object lookup, tenant scoping, IPC boundary, or backend security decision.

Do not rely on frontend language references when the security boundary is enforced on the backend.

For Android, treat exported components, IPC, content providers, deep links, and WebView bridges as security boundaries even when a separate backend also exists.

If the language cannot be determined confidently, state the uncertainty and use only common access-control logic plus clearly identified framework evidence.

Reference usage rules

  • Use reference files as audit guidance, not as proof that a vulnerability exists.
  • Use common-cases.md for shared concepts and general anti-patterns.
  • Use the language-specific file for framework control points, common implementation mistakes, and language-specific case patterns.
  • Do not report an issue solely because it resembles a reference case.
  • Prefer real code evidence over case similarity.

Audit Dimensions

D1 Authentication Boundary

Direction: Verify that sensitive resources and actions are not reachable without a valid authenticated identity. Check whether protected routes, APIs, downloads, admin paths, and account-related operations are consistently placed behind server-side authentication controls.

D2 Function-Level Authorization

Direction: Verify that authenticated users cannot access functions reserved for other roles, privilege levels, or operational scopes. Focus on admin actions, internal tools, privileged operations, and alternate routes or HTTP methods that may bypass intended permission checks.

D3 Object-Level Authorization

Direction: Verify that users can only access objects they are allowed to see or modify. Focus on ownership checks, tenant or organization scoping, direct object references, and whether object lookups are properly bound to the authenticated principal or trusted server-side context.

D4 Business-Context Authorization

Direction: Verify that sensitive actions are restricted not only by identity and role, but also by business state, workflow stage, and operational context. Check whether actions remain improperly available after approval, payment, lock, archive, publish, or other state transitions.

D5 Client-Side Only Authorization

Direction: Verify that access control is enforced on the server, not only in the frontend or client application. Check whether hidden buttons, disabled menus, route guards, or client-side logic can be bypassed by directly calling backend APIs or alternate interfaces.

D6 Consistency Checks

Direction: Verify that access control is applied consistently across equivalent entry points, actions, and layers. Compare web vs API paths, GET vs POST/PUT/DELETE behavior, controller vs service enforcement, and primary vs alternate routes for the same protected capability.


High-Priority Audit Targets

Prioritize these targets first when present:

  • admin and management endpoints
  • internal or privileged operational routes
  • export and download functionality
  • billing, finance, approval, publish, delete, disable, and reset actions
  • account settings and identity-related operations
  • object fetch, update, delete, or share handlers using external identifiers
  • tenant- or organization-scoped resources
  • legacy, debug, hidden, or alternate paths
  • alternate HTTP methods for the same protected resource

Output Requirements

Produce findings in a structured, evidence-driven format.

For every finding, use the following structure:

Finding:

  • Dimension:
  • Severity:
  • Confidence:

Entry Point

  • ...

Protected Target

  • ...

Expected Control

  • ...

Actual Control

  • ...

Evidence

  1. ...
  2. ...
  3. ...

Exploitability Reasoning

  • ...

Verdict

  • Confirmed / Suspected / Not enough evidence / Probably safe

Recommended Fix

  • ...

Final Response Style

When summarizing the audit result:

  • Group findings by dimension when useful.
  • Clearly separate confirmed issues from suspected issues.
  • Explicitly state uncertainty where the enforcement point may exist outside the visible code.
  • Keep reasoning concise but evidence-based.
  • Do not inflate severity without clear exploitability support.
  • Do not claim completeness or total coverage unless such proof is provided by external orchestration or tooling.

Συνοδευτικά αρχεία

Το μοντέλο τα διαβάζει όποτε χρειάζεται, όσο η δεξιότητα είναι φορτωμένη. Διατίθενται ως αρχεία για ανάγνωση και δεν εκτελούνται ποτέ.

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

Τι κάνει η δεξιότητα AI Access Control Check;

Use this skill to audit application code for access control weaknesses, including authentication boundary issues, function-level authorization flaws, object-level authorization flaws, business-context authorization gaps, client-side-only enforcement, inconsistent permission checks across routes, methods, and layers, and framework-specific access-control sink candidates in Java, Android, C++, C#, Python, and PHP applications.

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

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

Πώς εγκαθιστώ τη δεξιότητα Access Control Check στο TypingMind;

Στο TypingMind, ανοίξτε Πρόσθετα → Δεξιότητες → Εγκατάσταση από το GitHub και επικολλήστε τη διεύθυνση https://github.com/bazhahei123/CodeAudit-Single_SKill/tree/main/Sink_Audit_SKILL/access-control-check. Το TypingMind διαβάζει το αρχείο SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία και εγκαθιστά τη δεξιότητα, την οποία μπορείτε να ενεργοποιείτε ανά συνομιλία.

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

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

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

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

Είναι δωρεάν η δεξιότητα AI Access Control Check;

Δημοσιεύεται στο GitHub από τον λογαριασμό bazhahei123. Ελέγξτε το αποθετήριο για τους όρους αδειοδότησης. Πληρώνετε μόνο τον δικό σας πάροχο AI για τα token που χρησιμοποιείτε.

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

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

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

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

Προβολή όλων

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

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