Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
apostrophe-copy-page-from-elsewhere
Advanced tools
Allows you to copy a page from elsewhere in the page tree, unlike the standard "copy page" feature which copies the current page.
By default, Apostrophe lets you copy a page, but the new page starts out as a peer of that page. Sometimes it is convenient to be able to pick a page to copy that is far away in the page tree, rather than dragging pages later via the reorganize view.
In addition, in some projects, it is helpful to allow users to copy pages they cannot edit. While this is a security concern for some, for others it is a useful feature. This module introduces an optional way to do that as well.
# You should have a working Apostrophe project already at this point
npm install apostrophe-copy-page-from-elsewhere
And, in app.js, where you configure your modules
:
modules: {
// Required to enable the feature
'apostrophe-copy-page-from-elsewhere': {},
'apostrophe-pages': {
// Optional
copyFromElsewhereWithoutEditPermission: true
}
}
Don't forget: the
copyFromElsewhereWithoutEditPermission
option must be configured for theapostrophe-pages
module, not this module. That's because this module is really just an "improvement" to apostrophe-pages and contributes new capabilities to it.
Once you enable the module, you will see an additional "Copy Page From Elsewhere" option on the Page Settings menu, complementing the existing "Copy Page" option.
Select the option and you will be prompted to choose a page. You can start typing a page title, or click Browse to browse for any page on the site.
Once you have selected a page, click Copy. The page is copied, and you are redirected there. Then, you are invited to edit the page settings. You will want to do this in order to give the page the right title, at a minimum.
Just like with "Copy Page," your new page will be a peer of the page where you clicked "Copy Page From Elsewhere," unless you clicked it on the home page, in which case it will be a child.
When you create a page in this way, all of its content and settings come from the copied page, except for permissions settings. Permissions settings are inherited from the parent.
FAQs
Allows you to copy a page from elsewhere in the page tree, unlike the standard "copy page" feature which copies the current page.
The npm package apostrophe-copy-page-from-elsewhere receives a total of 0 weekly downloads. As such, apostrophe-copy-page-from-elsewhere popularity was classified as not popular.
We found that apostrophe-copy-page-from-elsewhere demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 13 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.