Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
docpad-plugin-pluginmanager
Advanced tools
Docpad plugin that enables the viewing and managing of plugins from within a docpad website. It's designed to function as part of a admin/CMS interface.
At the moment it adds the list of installed plugins to the docpad templateData which makes this data available to application templates. It also adds a description field to each plugin, pulled from the package.json file for each plugin and makes available data URLs to retrieve a plugin's readme file or package.json.
config:
readmeURL: '/admin/plugins/:pluginName/readme'
packageURL: '/admin/plugins/:pluginName/package'
Eco template that generates a table listing the plugins used in an application.
<table width="100%">
<thead>
<tr>
<th>Name</th>
<th width="60%">Description</th>
<th>Version</th>
<th>Enabled</th>
</tr>
</thead>
<tbody>
<%plugins = @loadedPlugins%>
<%for name,plugin of plugins:%>
<%rowClass = if plugin.isEnabled() then "" else "disabled"%>
<tr class="<%-rowClass%>" data-name="<%-name%>">
<td><a data-id="<%-name%>" class="readme-btn" href="/admin/readme/"><%-name%></a></td>
<td><%-plugin.description%></td>
<td><%-plugin.version%></td>
<td><%-plugin.isEnabled()%></td>
</tr>
<%end%>
</tbody>
</table>
Licensed under the incredibly permissive MIT license
Copyright © 2016+ Steve McArthur steve@stevemcarthur.co.uk (http://www.stevemcarthur.co.uk)
FAQs
Manages the plugins in a Docpad application
The npm package docpad-plugin-pluginmanager receives a total of 2 weekly downloads. As such, docpad-plugin-pluginmanager popularity was classified as not popular.
We found that docpad-plugin-pluginmanager 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.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.