Skip to main content

dargslan-security-scan

Linux Security Scanner — Check SSH config, SUID binaries, kernel parameters, file permissions, world-writable files, and get a security score. Zero external dependencies.

PyPI version

Installation

pip install dargslan-security-scan

CLI Usage

dargslan-secscan report    # Full security report with score
dargslan-secscan ssh       # Check SSH configuration
dargslan-secscan suid      # Find SUID/SGID binaries
dargslan-secscan kernel    # Check kernel parameters
dargslan-secscan perms     # Check file permissions
dargslan-secscan score     # Security score (0-100)
dargslan-secscan json      # JSON output

Python API

from dargslan_security_scan import SecurityScanner

ss = SecurityScanner()
ss.print_report()

score = ss.score()
ssh_issues = ss.check_ssh_config()
suid = ss.find_suid_files()
kernel = ss.check_kernel_params()
full = ss.full_scan()

What It Checks

  • SSH configuration (root login, password auth, empty passwords, port)
  • SUID/SGID binaries (known vs unknown)
  • Kernel security parameters (IP forwarding, ASLR, SYN cookies, etc.)
  • File permissions (/etc/passwd, /etc/shadow, sshd_config, etc.)
  • World-writable files in /etc and /var

More Resources

License

MIT — Dargslan

Metadata

Release files for dargslan-security-scan 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dargslan-security-scan 1.0.0
File Size Uploaded
dargslan_security_scan-1.0.0.tar.gz 6.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dargslan-security-scan 1.0.0
File Interpreter ABI Platform
dargslan_security_scan-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 13.8 kB

Release files / dargslan_security_scan-1.0.0.tar.gz

Download URL dargslan_security_scan-1.0.0.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
3e1879ad6508a779eed67bf5bcad30f5d70479ef0a3fbe6d9c30da3c1793987a
BLAKE2b-256 checksum
How to use checksums
fd8b9689ef841e4d33bebd605bd93e98223c81d86bd0529c758d3aaad5a9379a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Release files / dargslan_security_scan-1.0.0-py3-none-any.whl

Download URL dargslan_security_scan-1.0.0-py3-none-any.whl
Size 7.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e4cf600f5da6720000478d17f3e2b901a12c3be58b779205dc7fb14ef47bb1c2
BLAKE2b-256 checksum
How to use checksums
983fc8483df10b7ace35afdecda773f1509bd4be922795e5b5b38cc849cdc2d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page