
Security News
AI Slop Is Polluting Bug Bounty Platforms with Fake Vulnerability Reports
AI-generated slop reports are making bug bounty triage harder, wasting maintainer time, and straining trust in vulnerability disclosure programs.
A webpack module splitter & beautifier
Originally designed for discord.. but can be used for pretty much anything..
Make sure all your files are in one folder (no subfolders).
In this example, I will call it assets-canary
Simply run...
npx dpacker ./assets-canary [-b] [-d]
Flag name | Shorthand | Default Value | Purpose |
---|---|---|---|
--input | -i | The input directory of .js files | |
--outDir | -o | ./out | The file to output the separated files |
--manifest | -m | null | Generate a manifest file at the specified path |
--verbose | -v | false | Verbose output |
--beautify | -b | false | Beautify the outputted javascript files |
--allowDuplicates | -d | false | Allows duplicate files to be generated when detected |
--force | -f | false | If the output directory already exists, use this to overwrite it |
--help | -h | Show the help menu |
-b
is optional, and will auto-beautify the JS files as they're written.
-d
is optional, and will write duplicate files if they share the ID. (By default, it ignores duplicate files as there's usually not any difference)
The files will be written into an out
folder :)
Splits large webpack bundle files into their individual modules. Has de-duplication built in, but can be disabled with the -d
flag.
Converts requires and module.exports to correct form, rather than webpack's (e, t, n) format
require
s that point to a module ID will be mapped to require("./moduleId.js")
for IDE compatibility, and should help with recompilation.
FAQs
A webpack module splitter & beautifier
We found that dpacker demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
AI-generated slop reports are making bug bounty triage harder, wasting maintainer time, and straining trust in vulnerability disclosure programs.
Research
Security News
The Socket Research team investigates a malicious Python package disguised as a Discord error logger that executes remote commands and exfiltrates data via a covert C2 channel.
Research
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.