Skip to content

Commit b999fcb

Browse files
committed
docs: add security policy
1 parent fbffc83 commit b999fcb

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

‎SECURITY.md‎

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Security Policy
2+
3+
## Scope
4+
5+
ModelHawk is a static security scanner for serialized ML and model-adjacent files. Security reports are welcome for scanner parsing, unsafe deserialization detection, report generation, dependency/workflow configuration, and any path that could cause ModelHawk itself to execute untrusted input.
6+
7+
## Reporting a vulnerability
8+
9+
Please do **not** open a public GitHub issue for a suspected security vulnerability.
10+
11+
Use GitHub's private vulnerability reporting or security advisory mechanism for this repository when available. Include:
12+
13+
- A concise description and security impact.
14+
- The affected file, function, workflow, or dependency.
15+
- Reproduction steps or a minimal proof of concept.
16+
- Logs or screenshots with credentials and personal data removed.
17+
- A proposed mitigation if known.
18+
19+
Do not submit real credentials, private model files, or unauthorized target data.
20+
21+
## Responsible disclosure
22+
23+
Give maintainers reasonable time to investigate and address the issue before public disclosure. Do not use the scanner to access, modify, or exfiltrate data you are not authorized to handle.
24+
25+
## Security expectations
26+
27+
ModelHawk is intentionally designed so the scanner does not deserialize model input. Changes that introduce `pickle.load`, `pickle.loads`, `Unpickler`, or equivalent execution paths should be treated as security-sensitive and must preserve the AST-level no-unpickling test.
28+
29+
Users should still treat scan results as static-analysis evidence rather than a guarantee of model safety. Keep ModelHawk updated and use safer model formats such as safetensors where practical.
30+
31+
## Supported versions
32+
33+
Only the latest commit on the default `main` branch is actively maintained for security fixes.

0 commit comments

Comments
 (0)