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.
@coralproject/coral-plugin-trust
Advanced tools
Trust enables moderators to act on the actions and beheviours of their users.
Trust enables moderators to act on the actions and beheviours of their users.
It currently provides the following features:
PREMOD
status which will prevent
them from loading in the stream until a moderator can approve them.The Trust Plugin requries that the configuration variable TRUST_THRESHOLDS
.
The form of the environment variable is:
<name>:<RELIABLE>,<UNRELIABLE>;<name>:<RELIABLE>,<UNRELIABLE>;...
The default for this variable is comment:1,1;flag:-1,-1
. This will create an
object with the property name of the action type as the key and an object as
it's value. This will contain a RELIABLE, and UNRELIABLE property with the
number of karma points associated with their particular state.
If only the RELIABLE variable is provided, then it will also be used as the UNRELIABLE variable.
We keep track of user actions by adding a new field to users metadata called
trust
. We store the following shape there:
{
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "Trust Metadata Object",
"type": "object",
"properties": {
"flag": {
"description": "Flag action data",
"type": "object",
"properties": {
"karma": {
"description": "Counts positive and negative actions related to flags made by the user",
"type": "number"
}
},
"required": [
"karma"
]
},
"comment": {
"description": "Comment action data",
"type": "object",
"properties": {
"karma": {
"description": "Counts positive and negative actions related to comments made by the user",
"type": "number"
}
},
"required": [
"karma"
]
}
},
"required": [
"flag",
"comment"
]
}
Copyright 2016 Mozilla Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and limitations under the License.
FAQs
Trust enables moderators to act on the actions and beheviours of their users.
The npm package @coralproject/coral-plugin-trust receives a total of 0 weekly downloads. As such, @coralproject/coral-plugin-trust popularity was classified as not popular.
We found that @coralproject/coral-plugin-trust 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.