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.
@adobe/aio-lib-ims-oauth
Advanced tools
OAuth2 (SUSI) token creation plugin for aio-lib-ims
.
This plugin is intended to be used in conjunction with the aio-lib-ims
extending that to support browser based 3-legged OAuth2 authentication with IMS commonly known as SUSI flow.
For more information about the general setup of the Adobe I/O CLI IMS Plugin, please refer to aio-lib-ims
.
The 3-legged OAuth2 requires interaction with a browser as the initial authentication step to receive the authorization code may be involving multiple browser based steps. For example an IMS Enterprise integration may involve further redirects to a 3rd party for actual authentication.
Workflow:
state
property (derived from the id, client id, scope and localhost port) passed in as query parameterslogin-success
pathstate
property), and forward the state
and code
properties to the localhost web server call as query parametersThe Adobe I/O Runtime function used (currently in testing) is coming soon.
Add the oauth2
context into your .aio
file in your current working directory (project folder), under ims
:
{
ims: {
contexts: {
oauth2: {
client_id: "YOUR_CLIENT_ID",
client_secret: "YOUR_CLIENT_SECRET",
scope: "YOUR_IMS_SCOPE"
}
}
}
}
The context can be named anything (here oauth2
is chosen for the context name).
The Client ID (called the OAuth2 credential in Developer Console) must allow the Adobe I/O Runtime action's login-success
path as the redirect URL. To this avail it should be configured as one of the redirect URI patterns of the OAuth2 credential in the Developer Console with the value:
https://aio-login\.adobeioruntime\.net/api/v1/web/default/applogin/login-success
Please note the backslash escaping of the dots in the URLs which is very important because this value must be a valid regular expression.
For example as shown in the following screenshot editing the credential:
Contributions are welcomed! Read the Contributing Guide for more information.
This project is licensed under the Apache V2 License. See LICENSE for more information.
FAQs
OAuth2 (SUSI) token creation plugin for @adobe/aio-lib-ims
The npm package @adobe/aio-lib-ims-oauth receives a total of 12,813 weekly downloads. As such, @adobe/aio-lib-ims-oauth popularity was classified as popular.
We found that @adobe/aio-lib-ims-oauth demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 22 open source maintainers 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.