A Python security-engineering portfolio centred on reliable access-governance automation, explicit failure handling, testable security decisions, and structured audit evidence.
The primary engineering project is hACL. Earlier certificate exercises are retained as development provenance, not presented as the main portfolio evidence. Its detection-engineering companion is the separate hACL ITDR Detector repository.
A technical reviewer can assess the project through these artefacts:
- Merged hACL hardening pull request
hACL.pyimplementation- Automated test suite
- Architecture and transaction model
- CI workflow
- Security policy
- Contribution requirements
- Merged ITDR integrity-and-timeline pull request
- Merged Windows-schema, identity-detection and reporting pull request
hACL validates and applies approved IPv4 allow-list changes for a healthcare-style access-control scenario.
It demonstrates:
- Strict standard-library IPv4 validation
- Separation of validation, business logic, persistence, and CLI handling
- Atomic file replacement
- Recoverable two-phase audit transactions
- Structured JSON Lines audit records
- SHA-256 before/after state verification
- Explicit error and conflicting-request handling
- Automated testing, coverage enforcement, linting, type checking, and CI
| Area | Evidence |
|---|---|
| Delivery | Reviewed branch workflow and merged hardening pull request |
| Quality | Python 3.12/3.13 CI, Ruff, mypy, pytest, and a 90% coverage gate |
| Security | CodeQL security-extended scanning, security policy, and synthetic-data requirements |
| Reliability | Atomic replacement, recoverable audit states, and before/after SHA-256 hashes |
| Maintenance | Dependabot monitoring for Python and GitHub Actions dependencies |
| Collaboration | Contribution guide and pull-request evidence template |
| Resource | Link |
|---|---|
| Project documentation | projects/healthcare_access_list_manager/README.md |
| Main implementation | projects/healthcare_access_list_manager/hACL.py |
| Test suite | projects/healthcare_access_list_manager/tests/ |
| Changelog | projects/healthcare_access_list_manager/CHANGELOG.md |
| Project configuration | projects/healthcare_access_list_manager/pyproject.toml |
| Security policy | SECURITY.md |
| Contribution guide | CONTRIBUTING.md |
The exact pre-hardening state is preserved on archive/hacl-v1-baseline-2026-07-25 for comparison and recovery.
| Path | Purpose |
|---|---|
projects/healthcare_access_list_manager/ |
Supported hACL access-governance project |
concepts_learned/ |
Foundational Python exercises retained as provenance |
projects/trials/ |
Isolated experimentation scripts, separate from the supported project |
cd projects/healthcare_access_list_manager
python3 hACL.pyUse explicit paths and structured output when needed:
python3 hACL.py \
--allow data/allow_list.txt \
--remove data/remove_list.txt \
--add data/add_list.txt \
--audit data/audit_log.jsonl \
--jsonpython3 -m pip install -e "projects/healthcare_access_list_manager[dev]"
cd projects/healthcare_access_list_manager
ruff check hACL.py tests
mypy hACL.py
python3 -m pytesthACL is an access-governance tool. It does not claim to be a HIDS or ITDR detector.
The separate hACL ITDR Detector now implements password-spray and inactive-account logon detection; representative Windows Security adapters for events 4624, 4625, 4663 and 4740; identity and privilege correlation; trusted SHA-256 allow-list baselines; semantic integrity diffs; Windows file-access evidence; versioned alerts; deterministic investigation timelines; static Sigma/KQL field-contract validation; evidence hashing; and automated Markdown investigation reports. It consumes similar access-governance concepts without expanding or rewriting hACL.
- Python 3.12+
- Standard library only at runtime
- Development dependencies declared in the hACL
pyproject.toml
MIT