Skip to content

feat: flag encoded command obfuscation - #47

Merged
royalpinto007 merged 2 commits into
AgentPostmortem:mainfrom
Rayan-and-beyond:fix/encoded-command-obfuscation
Sep 16, 2026
Merged

royalpinto007 merged 2 commits into
AgentPostmortem:mainfrom
Rayan-and-beyond:fix/encoded-command-obfuscation

Conversation

@Rayan-and-beyond

@Rayan-and-beyond Rayan-and-beyond commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

Adds SKILL-OBF-004 for PowerShell EncodedCommand/-enc and xxd -r output piped into a shell. Adds malicious and benign coverage, bumps the package version, and records the rule in CHANGELOG.md.

Checklist

  • Tests pass (node --test): 39/39
  • Updated docs / README if behavior changed: not needed; CHANGELOG documents the new rule
  • Added a CHANGELOG.md entry
  • Followed the existing code style

Notes

Fixes #41.

@royalpinto007
royalpinto007 merged commit 988b33e into AgentPostmortem:main Sep 16, 2026
1 check passed
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.

New rule: flag PowerShell -EncodedCommand / hex-decode-and-run obfuscation

2 participants