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.
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dargslan_security_scan-1.0.0.tar.gz | 6.3 kB | Without provenance | Details for dargslan_security_scan-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dargslan_security_scan-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for dargslan_security_scan-1.0.0-py3-none-any.whl |
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
|
Security for dargslan-security-scan 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.