Skip to content

Conversation

@biagiom
Copy link
Contributor

@biagiom biagiom commented Dec 30, 2025

Hello Datadog Security Labs Team,
This PR introduces a new rule for GuardDog to catch API obfuscation techniques for JavaScript, covering the npm ecosystem in addition to PyPI (as done in my previous PR #607).

I received quite positive feedback regarding my research on API obfuscation for Python, so I decided to take some time during these holidays (the best time to slow down and catch up on things left behind, right? 😅) to extend my research to JS too.
I have also updated my api_obfuscation repo that contains additional information and test cases.

Last but not least, please note that I haven't yet tested this rule "in the wild" or against large datasets of malicious packages to evaluate the FPR and detection capabilities. I will try to perform this validation in the coming weeks, but the core logic is ready for review and it has been validated through several unit tests included in this PR.

Kind regards and happy new year! 🎆 🥳
Biagio

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