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.
Shape CMS is a composable content management system that plugs into your Python project giving you full freedom in building sites. It comes with an admin panel that builds itself based on the data models you create while leaving everything else up to you.
Shape CMS leverages the Flask framework under-the-hood, so you also get the full power of Flask when building apps with Shape CMS.
Note: There's no stable release yet, so documentation is subject to change, and I would not recommend running it in production.
pip install shapecms
A minimal example looks like this:
from shapecms import ShapeCMS
from shapecms import PageView
class HomeView(PageView):
def get(self):
return "Hello, world."
shape = ShapeCMS(__name__, "sqlite:///demo.db")
shape.add_url("/", HomeView, "home")
def create_app():
instance = shape.start()
instance.secret_key = "super-secret-key"
return instance
The admin panel is automatically available at the /admin
path. If it's your first time going to the admin panel, it will guide you through a set-up process.
Note however that until you add any Content Shapes the admin panel will be empty as it will have no info on how to construct itself.
To be written.
FAQs
A composable content management system
We found that shapecms demonstrated a healthy version release cadence and project activity because the last version was released less than 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’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.