First off, thank you for considering contributing to nod! It's people like you that make the open-source community such an amazing place to learn, inspire, and create.
The most impactful way to help is by adding new Compliance Profiles to the defaults/ folder.
- New Standards: Are we missing ISO 42001 or HIPAA? Create a new
.yamlfile. - Improvements: Improve the regex patterns in existing rules to reduce false positives.
Rule Contribution Checklist:
- Create a new file in
defaults/(e.g.,iso_42001.yaml). - Use the
profileskey structure. - Ensure every requirement has a
severityandremediation. - (Optional) Add
articleorcontrol_idmetadata for traceability.
Found a bug? Please open an issue!
- Title: Clear summary of the issue.
- Context: What OS/Python version?
- Reproduction: Provide a snippet of the spec file that caused the error.
- Fork the repo and create your branch from
main. - Run tests locally:
python nod.py tests/spec_compliant.md --strict. - Ensure the code style matches (standard Python 3.10+).
- Update the
nod-project-spec.mdif you added a new feature.
# Clone your fork
git clone [https://github.com/YOUR-USERNAME/nod.git](https://github.com/YOUR-USERNAME/nod.git)
cd nod
# Install dependencies
pip install pyyaml
# Run a test scan
python nod.py tests/spec_compliant.md
Thank you for helping us make AI development safer and more compliant! 🛡️