smartworldarafath/rea_skill

offensive-linux-privesc

Linux local privilege boundary auditing covering SUID/SGID binaries, POSIX file capabilities (getcap), sudoers NOPASSWD/wildcard rules, writable systemd unit paths, cron job scripts, and kernel sysctl hardening.

Quelltext ansehen

Verwendung

  1. Installationsbefehl kopieren und das Quellpaket vor der Installation in der eigenen Agentenumgebung prüfen.
  2. Benötigte Werkzeuge, Zugangsdaten und Hosts im Original prüfen.
  3. Eingabe und gewünschtes Ergebnis beschreiben und die Ausgabe mit den Quellen abgleichen.
npx skills add https://github.com/smartworldarafath/rea_skill --skill offensive-linux-privesc

Vor dem Start

  • Die Installation umfasst weder Modellabo noch API-Kontingent oder Dateizugriffsrechte.
  • Sterne und Installationen zeigen Aktivität, keine unabhängige Qualitäts- oder Sicherheitsprüfung.
Originales Skill-Dokument

Aus dem Quell-Repository gerendert; Überschriften, Beispiele, Code, Tabellen, Links und Bilder bleiben erhalten.

Linux Privilege Escalation Audit (offensive-linux-privesc)

Authorization & Scope Notice: This skill is part of the REA_Skill + claude-red Unified Security & Reverse Engineering Suite. It is designed strictly for authorized security assessments, defensive architecture reviews, vulnerability triage, bug bounty verification, and remediation engineering on software, infrastructure, and assets you own or have explicit permission to test.

Overview

Linux local privilege boundary auditing covering SUID/SGID binaries, POSIX file capabilities (getcap), sudoers NOPASSWD/wildcard rules, writable systemd unit paths, cron job scripts, and kernel sysctl hardening.


Operational Workflow

  1. Surface & Architecture Inventory
  • Identify all entrypoints, trust boundaries, parsers, and configuration files relevant to Linux Privilege Escalation Audit (privesc domain).
  • Combine static code/binary inspection (via REA MCP tools, rg, AST analysis, or decompilation) with runtime configuration verification.
  1. Hypothesis & Vulnerability Verification
  • Test each security invariant systematically against known CWE and OWASP patterns.
  • Record concrete evidence: affected file/procedure, line numbers or binary offsets, request/response trace, and root cause.
  1. Impact & Reachability Triage
  • Evaluate whether the issue is reachable across trust boundaries, whether defense-in-depth controls mitigate it, and compute an accurate CVSS v3.1 / v4.0 score.
  1. Remediation & Regression Verification
  • Implement or provide production-ready, copy-pasteable remediation code.
  • Write an automated regression test or verification command to prove the flaw is resolved with 0 regressions.

Audit & Verification Checklist

PhaseCheckVerification MethodExpected Secure State
1. DiscoveryEnumerate all privesc surfaces and dependenciesSource search / REA binary & bundle inspectionComplete inventory of trust boundaries
2. Input & StateValidate parser behavior, type safety, and state transitionsBoundary testing & static taint analysisStrict schema validation and invariant checks
3. Auth & IsolationVerify caller identity, tenant isolation, and least privilegeHorizontal/vertical privilege matrix checkExplicit deny-by-default enforcement
4. Defense-in-DepthInspect secondary controls, logging, and compiler/runtime flagsConfig & header/binary flag auditFull hardening and telemetry enabled
5. RemediationApply fix and execute automated regression testnpm test / toolchain build & test suite0 vulnerabilities, 0 build errors

Integration with REA MCP & Tooling

  • Static & Binary Analysis: Pair with rea-universal-orchestrator, rea-binary-disassembly, rea-web-bundle-recovery, or rea-mobile-app-recovery when source code is unavailable.
  • Interactive Scoping: Invoke /rea-grill-me before large-scale assessments to clarify scope, target environments, and acceptance criteria.
  • Reporting: Pair with offensive-reporting to format findings with CVSS vectors, CWE mappings, and remediation patches.
aus demselben Repository

Weitere Skills

Alle Skills
smartworldarafath
Community

agent-introspection-debugging

Structured self-debugging workflow for AI agent failures using capture, diagnosis, contained recovery, and introspection reports. Use when an agent run fails and you need a reproducible diagnosis instead of a retry.

Installationen / 1h
2
GitHub Stars
5
Aktualisiert
8. Nov.
smartworldarafath
Community

agent-reach

Read-only access to internet platforms (Twitter/X, Reddit, YouTube subtitles, GitHub, LinkedIn, Bilibili, web). Use when the agent needs to search, read web links, retrieve social discussions, CVE/vulnerability intel, or when standard web search/fetch is blocked or insufficient.

Installationen / 1h
2
GitHub Stars
5
Aktualisiert
8. Nov.
smartworldarafath
Community

agent-sort

Build an evidence-backed ECC install plan for a specific repo by sorting skills, commands, rules, hooks, and extras into DAILY vs LIBRARY buckets using parallel repo-aware review passes. Use when ECC should be trimmed to what a project actually needs instead of loading the full bundle.

Installationen / 1h
2
GitHub Stars
5
Aktualisiert
8. Nov.
smartworldarafath
Community

anti-ai-slop-writing

Produces human-sounding text that avoids detectable AI writing patterns. Activates on any writing task — tweets, emails, articles, bios, captions, reports, copy, messages, LinkedIn posts, cover letters, README files, or any content where the output must not read as AI-generated. Enforces banned vocabulary, structural variety, punctuation discipline, accuracy rules, and voice calibration. Use when the user says "write," "draft," "rewrite," "make this sound human," "anti-slop," "not AI," or any va

Installationen / 1h
2
GitHub Stars
5
Aktualisiert
8. Nov.