Skip to content

feat: add CLI for WebAssembly obfuscation#1

Open
Owanesh wants to merge 3 commits intoSKKU-SecLab:mainfrom
Owanesh:feat/cli
Open

feat: add CLI for WebAssembly obfuscation#1
Owanesh wants to merge 3 commits intoSKKU-SecLab:mainfrom
Owanesh:feat/cli

Conversation

@Owanesh
Copy link

@Owanesh Owanesh commented Mar 7, 2026

Adds a full CLI (swamped).

  • swamped list — lists all 22 perturbation methods grouped by category
  • swamped obfuscate — applies one or more strategies to a .wasm/.wast module with flexible selectors (all, structural, code, individual names), exclusions (-e), and intensity control (--ratio, --alpha, --beta)

Changes

  • cli/swamped_cli.py — CLI entry point with argparse, strategy resolution, logging, diff, strict mode
  • cli/README.mddocumentation with usage examples, option reference, parameter explanation
  • strategies/state.py — module-level seedable RNG (set_seed()), used by get_dist/getDist -> useful for reproducibility without entropy
  • pyproject.toml — package definition and swamped console script
  • .gitignore — standard Python ignores

Preview

c089f6d29b28bb26566b5ea13c498789b103a25a3ed7f1f45f266fec3b1310ce

Owanesh added 2 commits March 5, 2026 16:40
  Introduce `swamped` command-line interface that exposes all 22
  perturbation strategies (structural + code-level) via argparse.
@Owanesh Owanesh force-pushed the feat/cli branch 2 times, most recently from 61a769e to 8159111 Compare March 10, 2026 14:47
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