Claude Security Auditor Plugin

Pattern/model for using CC for conducting device level security audits

About This Project

Claude-Security-Auditor-Plugin is a Claude Code plugin that manages a fleet of machines and runs repeatable device-level security audits over SSH. Each registered machine has a structured profile covering its SSH address, operating system, privilege level, and purpose, along with a timestamped history of audit reports. Audits can use Claude Code for richer analysis when it is available on the remote host, and fall back to direct shell checks otherwise. The plugin is exposed through a set of skills for adding, editing, auditing, listing, viewing, comparing, and removing machines, plus an onboarding skill that verifies dependencies and scaffolds the data directory.

The implementation is written primarily in Bash, with Python 3 used as a supporting runtime, and relies on key-based SSH and SCP authentication to reach target machines. The default audit checklist covers seven domains: endpoint protection, automatic updates, rootkit and indicator-of-compromise tooling, file permission posture, user account hygiene, network exposure, and auxiliary hardening such as fail2ban and SSH configuration. A distinguishing feature is the comparison of successive audits for the same machine, which highlights new findings, resolved issues, and configuration drift. The checklist is currently oriented toward Linux, with macOS and Windows targets supported with caveats.

This project may be of interest to system administrators and small teams maintaining several Linux hosts who want consistent, repeatable baseline audits and a record of how their posture changes over time. It may also appeal to developers exploring how Claude Code can be packaged as a plugin that combines agent-driven analysis with conventional shell tooling.

Project Details

Tags

claude-codelan-auditsecurity

Explore More Projects