
Research
Malicious fezbox npm Package Steals Browser Passwords from Cookies via Innovative QR Code Steganographic Technique
A malicious package uses a QR code as steganography in an innovative technique.
eslint-plugin-ckeditor5-rules
Advanced tools
A set of plugins used by the CKEditor 5 team for Eslint
By default this plugin is added to our eslint-config-ckeditor5
preset.
npm i --save-dev eslint-plugin-ckeditor5-rules
Configure ESLint with a .eslintrc
file using the following contents:
{
// ...
plugins: [
// ...
'ckeditor5-rules' // Add the plugin to the linter.
],
rules: {
'ckeditor5-rules/no-relative-imports': 'error',
'ckeditor5-rules/license-header': [ 'error', {
headerLines: [
'/**',
' * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.',
' * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license',
' */'
]
} ]
// ...
}
// ...
}
A rule that inspects for relative imports to other CKEditor 5's packages:
// Incorrect import:
import Position from '../../ckeditor5-engine/src/model/position';
// Will be fixed to:
import Position from '@ckeditor/ckeditor5-engine/src/model/position';
This rule checks if each file starts with proper @license
block comment. It requires configuration:
rules: {
'ckeditor5-rules/license-header': [ 'error', {
headerLines: [
'/**',
' * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.',
' * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license',
' */'
]
} ]
}
FAQs
CKEditor 5 ESLint preset.
The npm package eslint-plugin-ckeditor5-rules receives a total of 10,445 weekly downloads. As such, eslint-plugin-ckeditor5-rules popularity was classified as popular.
We found that eslint-plugin-ckeditor5-rules 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
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.
Application Security
/Research
/Security News
Socket detected multiple compromised CrowdStrike npm packages, continuing the "Shai-Hulud" supply chain attack that has now impacted nearly 500 packages.