Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Preview what's changed in your Middleman build.
Add the extension to your Gemfile
,
gem 'middleman-diff'
run bundle install
, and activate it in config.rb
:
activate :diff
Preview what's changed since the last build, and optionally use it as the current build:
$ middleman diff
create tmp/preview/index.html
{build => tmp/preview}/index.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/build/index.html b/tmp/preview/index.html
index 68c37b9..218e4ff 100644
--- a/build/index.html
+++ b/tmp/preview/index.html
@@ -5,6 +5,6 @@
</head>
<body>
<h1>Hello there!</h1>
- <p>This site is kind of alright.</p>
+ <p>This site is awesome.</p>
</body>
</html>
Would you like to apply these changes to the build? [y/N] y
Build has been updated.
The following configuration options are available:
Name | Default | Description |
---|---|---|
build_hooks | true | Whether to run build hooks when previewing the build |
keep | :prompt | Whether to :always , :never , or :prompt to keep the preview as the build |
temp_dir | 'tmp' | Directory in which to build when previewing |
FAQs
Unknown package
We found that middleman-diff 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.