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.
grant-profile
Advanced tools
User Profile plugin for Grant
NOTE: For grant-profile as a middleware for Express, Koa, and Hapi see v0.x branch
Pass your Grant configuration as the config
key, and the grant-profile plugin as item in the extend
array:
var Grant = require('grant-express|koa|hapi')
var grant = Grant({
config: require('./config.json'),
extend: [require('grant-profile')]
})
Grant Profile supports one additional configuration option called profile_url
, that can be set for any provider.
The profile_url
have to be set for custom providers.
It also can be used to override or set the profile_url
for existing providers. Note that in some cases a custom logic might be needed for the internal HTTP client.
Not all of the supported providers in Grant are tested here, or have the correct profile URL set. Check out the configuration for current status.
Additional profile
key will be added to your response data containing the user profile.
FAQs
User profile plugin for Grant
The npm package grant-profile receives a total of 7,654 weekly downloads. As such, grant-profile popularity was classified as popular.
We found that grant-profile 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.