Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Falcon Core Inspired by Django for Falcon API Framework.
pip install falcon-core
falcon-core startproject api
Create project api and folder api
falcon-core startproject api .
Create project api in my location folder
falcon-core startproject api folder
Create project api in folder
python manage.py startapp example
Create app in project dir
python manage.py startapp example.example1
Create app in app
python manage.py startapp example2.example3
import falcon
from falcon_core.resources import Resource
class ExampleResource(Resource):
def on_get(self, req, resp, **kwargs):
resp.status = falcon.HTTP_OK
resp.media = {'key': 'value'}
example.routes.py
from falcon_core.routes import route
from example.resources import ExampleResource
routes = [
route('/example', ExampleResource()),
]
(1) api.resource.py
from falcon_core.routes import route, include
from example.routes import routes as example_routes
routes = [
route('', include(example_routes)),
]
(2) api.routes.py
from falcon_core.routes import route, include
routes = [
route('', include('example.routes')),
]
In api.settings.py
...
MIDDLEWARE = [
'module.MiddlewareOrMiddlewareInstance'
]
...
In api.settings.py
...
ROUTER_CONVERTERS = [
'name': 'module.Converter'
]
...
In api.settings.py
...
ROUTES = 'module.routes' # must have routes list
...
FAQs
Falcon Core Inspired by Django for Falcon API Framework.
We found that falcon-core 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.