Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Conformant exports three functions:
Each of those functions takes three values:
a spec can be one of three things:
All specs can be resolved to a command, and all other specs can be resolved to the 'predicate' command.
A spec that uses a command is called a 'formal spec'. It is an array containing the command followed by its arguments.
Here are some examples of formal specs:
['predicate', value => value === 'Bob Zucchini'] ['keys', 'staleness', 'crustiness', 'yeast']
commands are passed an object with:
Predicate takes one argument: a function.
Here's an example predicate: ['predicate', v => v === true]
A function spec takes one argument, a config object with up to three keys:
None of those keys are checkable until apply-time, so function
specs are mostly useful with the provided instrument
function,
rather than check
and conform
.
conformant.check takes three arguments, which may be passed separately:
it returns true or false
takes three arguments:
instrument takes three arguments:
it returns a modified function that checks its arguments, return value, and their relationshp against the config provided in the spec, and throws if they aren't satisfied.
FAQs
Conformant exports three functions:
We found that conformant 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
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.