
Research
Security News
Malicious PyPI Package Exploits Deezer API for Coordinated Music Piracy
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
@mapomodule/mapo-integrations-camomilla
Advanced tools
This is an integration for Mapo nuxt module. This integrates camomilla compatibility layer.
This package implements an integration between the camomilla cms api interfaces and the nuxt module mapo
.
Add @mapomodule/mapo-integrations-camomilla dependency to your project:
yarn add @mapomodule/mapo-integrations-camomilla # or npm install @mapomodule/mapo-integrations-camomilla
django-camomilla-cms >= 5.7.1
."camomilla.authentication.SessionAuthentication"
to rest framework authentication classes.REST_FRAMEWORK = {
"DEFAULT_AUTHENTICATION_CLASSES": (
...
"camomilla.authentication.SessionAuthentication",
...
),
...
}
USE_X_FORWARDED_HOST = True
nuxt.config.js
.{
modules: [
'mapomodule'
],
mapo: {
integrations: {
camomilla: {
location: "@mapomodule/mapo-integrations-camomilla",
configuration: {
api: {
target: 'http://localhost:8000',
}
}
}
}
}
}
For now all the available options reside under the key "api".
string
Here you can pass the root of the camomilla api endpoint. (required)object
Here you can pass additional static headers. The headers will be injected in all requests.boolean
Here you can decide whether to change the origin of requests sent to camomilla. (default: true)object
Here you can pass some rewrite patterns. es. (pathRewrite: {'^/old/api' : '/new/api'})function
Here you can manipulate the request before it is sent to camomilla.function
Here you can manipulate the response before it is sent back to mapo.function | function[]
Here you can pass one or more express middlewares, they will be implemented on top of the request.string
Here you can pass a base url that will be used as base path for all the integrations urls (default: takes the value of your nuxt router base prop).boolean
Here you can decide if you want to syncronize the session between mapo and camomilla. (default: false)For options like target, headers, changeOrigin, pathRewrite, onProxyRes and onProxyReq you can find more information on http-proxy-middleware page.
FAQs
This is an integration for Mapo nuxt module. This integrates camomilla compatibility layer.
The npm package @mapomodule/mapo-integrations-camomilla receives a total of 0 weekly downloads. As such, @mapomodule/mapo-integrations-camomilla popularity was classified as not popular.
We found that @mapomodule/mapo-integrations-camomilla demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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 uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.
Security News
Newly introduced telemetry in devenv 1.4 sparked a backlash over privacy concerns, leading to the removal of its AI-powered feature after strong community pushback.