Skip to content

Fix command injection in HDFwriter.repack and add BE utility tests#28

Merged
ramav87 merged 6 commits into
mainfrom
test_mcp
Apr 22, 2026
Merged

Fix command injection in HDFwriter.repack and add BE utility tests#28
ramav87 merged 6 commits into
mainfrom
test_mcp

Conversation

@ramav87
Copy link
Copy Markdown
Contributor

@ramav87 ramav87 commented Apr 22, 2026

Added some unit tests

ramav87 and others added 6 commits April 22, 2026 12:00
Replace shell=True subprocess call in HDFwriter.repack() with a list-based
invocation, preventing shell metacharacter injection via attacker-controlled
file paths. Add 62 unit tests covering SHO functions, loop fitting utilities,
and relaxation fit functions in be_sho.py, be_loop.py, and be_relax_fit.py.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@ramav87 ramav87 merged commit 1f74b77 into main Apr 22, 2026
6 checks passed
@ramav87 ramav87 deleted the test_mcp branch April 22, 2026 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant