
Research
6 Malicious Packagist Themes Ship Trojanized jQuery and FUNNULL Redirect Payloads
Six malicious Packagist packages posing as OphimCMS themes contain trojanized jQuery that exfiltrates URLs, injects ads, and loads FUNNULL-linked redirects.
openapi-utils-defaults
Advanced tools
Defaults api parts into an openapi definition.
npm install -g openapi-utils-defaults
Given the example files displayed below (api.yaml and x-a127.yaml), the following command
openapi-utils-defaults -s x-a127.yaml -t api.yaml > api.json
Will result in the api.json, also displayed below :)
swagger: "2.0"
info:
version: 1.0.0
title: openapi example
basePath: /v1
paths:
/pets:
x-a127-services:
- name: add-cors
provider: x-cors
options:
displayName: Add CORS
includeInErrorResponse: true
headers:
Access-Control-Allow-Methods:
type: array
collectionFormat: csv
default: GET
x-a127-services:
- name: add-cors
provider: x-cors
options:
displayName: Add CORS
includeInErrorResponse: true
headers:
Access-Control-Allow-Origin:
type: string
default: "*"
Access-Control-Allow-Methods:
type: array
collectionFormat: csv
default: GET, PUT, POST, DELETE
{
"swagger": "2.0",
"info": {
"version": "1.0.0",
"title": "openapi example"
},
"basePath": "/v1",
"paths": {
"/pets": null
},
"x-a127-services": [
{
"name": "add-cors",
"provider": "x-cors",
"options": {
"displayName": "Add CORS",
"includeInErrorResponse": true,
"headers": {
"Access-Control-Allow-Origin": {
"type": "string",
"default": "*"
},
"Access-Control-Allow-Methods": {
"type": "array",
"collectionFormat": "csv",
"default": "GET"
}
}
}
}
]
}
FAQs
Defaults api parts into an openapi definition
The npm package openapi-utils-defaults receives a total of 3 weekly downloads. As such, openapi-utils-defaults popularity was classified as not popular.
We found that openapi-utils-defaults demonstrated a not healthy version release cadence and project activity because the last version was released 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
Six malicious Packagist packages posing as OphimCMS themes contain trojanized jQuery that exfiltrates URLs, injects ads, and loads FUNNULL-linked redirects.

Security News
The GCVE initiative operated by CIRCL has officially opened its publishing ecosystem, letting organizations issue and share vulnerability identifiers without routing through a central authority.

Security News
The project is retiring its odd/even release model in favor of a simpler annual cadence where every major version becomes LTS.