
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
prospector-profile-utils
Advanced tools
It contains some utility Prospector profiles.
pip install prospector-profile-utils
Then, in your .prospector.yaml
file, you can use the profiles like this:
inherits:
- utils:base
- utils:c2cwsgiutils
- utils:no-design-checks
It provide also an alternate base witch activate less strict checks:
inherits:
- utils:base-less-strict
Additional available profiles:
utils:fix
: Disables specific rules that are known to have reliability issues.utils:autofix
: Enables automatic fixing capabilities for supported rules.utils:tests
: Specifically designed for test files validation, recommended to use in combination with the utils:fix
or utils:pre-commit
profiles.utils:pre-commit
: Specifically designed for pre-commit hooks.I use the utils:tests
and utils:pre-commit
profiles with the following precommit configuration to have the ruff checks with auto-fix on all the files with a specific profile for the tests.
repos:
- repo: https://github.com/PyCQA/prospector
rev: v<rev>
hooks:
- id: prospector
args:
- --die-on-tool-error
- --output-format=pylint
- --profile=utils:pre-commit
- --profile=.prospector.yaml
additional_dependencies:
- prospector-profile-duplicated==<rev> # pypi
- prospector-profile-utils==<rev> # pypi
- id: prospector
args:
- --die-on-tool-error
- --output-format=pylint
- --profile=utils:pre-commit
- --profile=utils:tests
additional_dependencies:
- prospector-profile-utils==<rev> # pypi
Install the pre-commit hooks:
pip install pre-commit
pre-commit install --allow-missing-config
FAQs
Some utility Prospector profiles.
We found that prospector-profile-utils 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
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.