25 practical automations

Security checks

Inspect your own files and configuration. Each guide includes full code, usage instructions, and ideas for making it your own.

Search this category ↗
PythonIntermediate

Audit writable PATH directories

Check PATH directories for existence, current-user writability, and duplicate resolution order.

Security checks
PythonIntermediate

Compare environment-file names

Compare declared environment-variable names with a template and detect duplicates without printing values.

Security checks
PythonIntermediate

Create a SHA-256 manifest

Create a new relative-path SHA-256 manifest for regular files under a selected directory.

Security checks
PythonIntermediate

Explain a POSIX file mode

Translate one local POSIX mode into owner, group, and other read/write/execute permissions.

Security checks
PythonIntermediate

Find symlinks leaving a directory

Report symbolic links whose resolved targets leave a selected root without following linked directories.

Security checks
PythonIntermediate

Fingerprint SSH public keys

Print SHA-256 fingerprints for OpenSSH public key lines without showing comments or key bytes.

Security checks
PythonIntermediate

Inspect HTTP security headers

Make one HEAD request to an owned endpoint and report selected browser security headers.

Security checks
PythonIntermediate

Inspect one CORS response

Send one HEAD request with a synthetic Origin and inspect CORS response declarations.

Security checks
PythonIntermediate

Review Python dependency sources

Inspect a requirements file for plaintext URLs, direct references, and unpinned package declarations.

Security checks
PythonIntermediate

Review SSH client option risks

Flag selected SSH client options in a local configuration without connecting to any host.

Security checks
PythonIntermediate

Verify a SHA-256 manifest

Compare local files with a saved manifest and report missing or changed files.

Security checks