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.
@genexus/d2c
Advanced tools
Deploy to Cloud for GeneXus Frontend generators (ex: Angular)
This library provides CLIs in order to:
Generate Credentials for Static Deployment
d2c-prepare
Confirm Deployment with D2C
d2c-confirm
Configuration
#Required
SET D2C_AUTH=%AuthToken%
SET D2C_DEPLOY_ID=<guid>
#Optional (Default Value)
SET D2C_SERVER_TYPE=awss3 (default)
SET D2C_SERVER_ID=apps-angular.genexus.com (default)
This service is called before deploying to AWS S3, in order to get new Temporal AWS Credentials.
POST Content-Type: Application/json
Body:
{
"authToken": "myAuthToken",
"path": "1234567",
"serverId": "apps-angular.genexus.com",
"serverType": "awss3",
"appName": "MyFirstAngularApp"
}
Content-Type: Application/json
{
"code": 1,
"credential": {
"sessionToken": "dsfdsfs",
"accessKeyId": "AKIA4EZIEMMO5XXXXXXX",
"secretAccessKey": "xxxxxxx",
"expiration": "2090-07-15T23:28:33.359Z",
"type": "aws"
},
"properties": {
"bucketName": "gx-angular-deployments"
}
}
ErrorCodes {
ErrorUnknown = 0,
Ok = 1,
ErrorNotAuthorized = 2,
TokenExpired = 3
}
This service is called after deploying to AWS S3, in order to notify D2C that a successfully deploy has been completed.
POST Content-Type: Application/json
Body:
{
"authToken": "myAuthToken",
"path": "1234567",
"serverId": "apps-angular.genexus.com",
"serverType": "awss3",
"appName": "MyFirstAngularApp",
"deployStatus": DeployStatus
""
}
Content-Type: Application/json
{
"code":1,
"description":"success"
}
ErrorCodes {
ErrorUnknown = 0,
Ok = 1,
ErrorNotAuthorized = 2,
TokenExpired = 3
}
DeployStatus {
ErrorUnknown = 0,
Ok = 1,
UploadFailed = 2
}
FAQs
Deploy to Cloud for GeneXus Frontend generators (ex: Angular)
The npm package @genexus/d2c receives a total of 9 weekly downloads. As such, @genexus/d2c popularity was classified as not popular.
We found that @genexus/d2c demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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.