Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@bytehide/grunt-shield
Advanced tools
A Grunt plugin for protecting JavaScript files using ByteHide Shield obfuscation.
npm install @bytehide/grunt-shield --save-dev
Add this to your Gruntfile.js:
grunt.initConfig({
bytehideShield: {
options: {
projectToken: 'your-bytehide-token', // or use process.env.BYTEHIDE_TOKEN
distDir: 'dist', // Directory containing files to protect
replace: false, // Replace original files or create new ones
obfuscatedExtension: '.obf', // Extension for protected files
exclude: [], // Files to exclude from protection
config: {
controlFlowFlattening: true,
debugProtection: false,
devtoolsBlocking: false,
}
},
dist: {}
}
});
grunt.loadNpmTasks('bytehideShield');
Run the task:
grunt bytehideShield
projectToken
: Your ByteHide project token (required)distDir
: Directory containing files to protect (default: 'dist')replace
: Whether to replace original files (default: false)obfuscatedExtension
: Extension for protected files (default: '.obf')exclude
: Array of filenames to exclude from protectionconfig
: ByteHide Shield configuration options
controlFlowFlattening
: Enable control flow flatteningdebugProtection
: Enable debug protectiondevtoolsBlocking
: Enable devtools blockingFAQs
Grunt plugin for ByteHide Shield code obfuscation
The npm package @bytehide/grunt-shield receives a total of 6 weekly downloads. As such, @bytehide/grunt-shield popularity was classified as not popular.
We found that @bytehide/grunt-shield demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.