
Research
/Security News
10 npm Typosquatted Packages Deploy Multi-Stage Credential Harvester
Socket researchers found 10 typosquatted npm packages that auto-run on install, show fake CAPTCHAs, fingerprint by IP, and deploy a credential stealer.
apostrophe-favicons
Advanced tools
Apostrophe module that generates a number of differently sized favicon image formats. The image itself is an apostrophe-images widget that gets appended to the apostrophe-global, which is easily manipulated by an editor.
Unlike version 1.x, this module uses imagemagick to perform image conversions. This is a standard prerequisite for the use of ApostropheCMS with good performance when uploading images, so you should already have it installed in both dev and production environments. See the getting started guide and the production guide.
Performance is much better than 1.x, however there are no options to pass on to the favicon npm module because we do not use it.
in app.js
var apos = require('apostrophe')({
shortName: 'yourSite',
modules: {
// Enable the module, enhances apostrophe-global
'apostrophe-favicons': {},
// Now apostrophe-global has some new options
'apostrophe-global': {
faviconDestinationDir: '/fav/',
// Defaults to `/favicons/`. This is an uploadfs path, it will become /uploads/favicons/ on a server
}
}
});
After you have selected and generated your favicons, you can use the following macro to output the markup into your template.
<!-- in layout.html or something -->
{% extends "outerLayoutBase.html" %}
{% import 'apostrophe-favicons:faviconMacros.html' as favicons %}
...
{% block extraHead %}
{{ favicons.renderLinks(apos, data.global) }}
{% endblock %}
2.0.7 - 2022-02-08
FAQs
Favicons for an ApostropheCMS site
We found that apostrophe-favicons demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 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.

Research
/Security News
Socket researchers found 10 typosquatted npm packages that auto-run on install, show fake CAPTCHAs, fingerprint by IP, and deploy a credential stealer.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.