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.
morepath-cerebral-todomvc
Advanced tools
Cerebral TodoMVC with a Morepath REST backend.
The backend ist based on morepath_reactredux <https://github.com/morepath/morepath_reactredux>
_.
You find the code of the backend in the server directory.
From inside the project directory create a clean Python environment with
virtualenv <https://virtualenv.pypa.io/en/latest>
_ and activate it::
$ virtualenv env $ source env/bin/activate
After this you can install the package including dependencies using::
$ env/bin/pip install -e .
Once that is done you can start the server::
$ env/bin/run-app
You can go to http://localhost:5000 to see the UI.
For installing the test suite and running the tests use::
$ env/bin/pip install -e '.[test]' $ env/bin/py.test
We use the TodoMVC example from Cerebral, which is based on Baobab, React and Cerebral:
https://github.com/cerebral/cerebral-todomvc
JavaScript code is in the client
subdirectory. To rebuild the bundle you
need to install the JS dependencies (listed in package.json). Run::
$ npm install
to install them. Then run::
$ webpack
To rebuild the bundle after changing it.
CHANGES
Add support for Python 3.5 and make it the default test environment.
Apply standard js code style in client.
Upgrade to Cerebral 1.0 and update dependencies.
Refactor client to new Cerebral best practices.
FAQs
Morepath example of using React & Cerebral
We found that morepath-cerebral-todomvc demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 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.