{"id":24472921,"url":"https://github.com/shutterstock/gremlin-aws-sigv4","last_synced_at":"2025-10-11T23:39:49.690Z","repository":{"id":33273764,"uuid":"147671916","full_name":"shutterstock/gremlin-aws-sigv4","owner":"shutterstock","description":"Extension for Apache's TinkerPop3 Gremlin JS driver compatible with IAM Database Authentication for Neptune","archived":false,"fork":false,"pushed_at":"2023-01-08T13:40:21.000Z","size":446,"stargazers_count":29,"open_issues_count":4,"forks_count":17,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-09-20T03:46:24.543Z","etag":null,"topics":["aws-neptune","graph-database","gremlin","tinkerpop3"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shutterstock.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-09-06T12:42:13.000Z","updated_at":"2023-06-24T21:52:21.000Z","dependencies_parsed_at":"2023-01-15T00:30:42.580Z","dependency_job_id":null,"html_url":"https://github.com/shutterstock/gremlin-aws-sigv4","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/shutterstock/gremlin-aws-sigv4","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shutterstock%2Fgremlin-aws-sigv4","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shutterstock%2Fgremlin-aws-sigv4/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shutterstock%2Fgremlin-aws-sigv4/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shutterstock%2Fgremlin-aws-sigv4/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shutterstock","download_url":"https://codeload.github.com/shutterstock/gremlin-aws-sigv4/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shutterstock%2Fgremlin-aws-sigv4/sbom","scorecard":{"id":821762,"data":{"date":"2025-08-11","repo":{"name":"github.com/shutterstock/gremlin-aws-sigv4","commit":"eb5460bde6ce80ff9f98b0d35e88c4b89a7dcc95"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"checks":[{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":2,"reason":"Found 3/12 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/node.js.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":3,"reason":"dependency not pinned by hash detected -- score normalized to 3","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/node.js.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/shutterstock/gremlin-aws-sigv4/node.js.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/node.js.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/shutterstock/gremlin-aws-sigv4/node.js.yml/master?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   1 out of   1 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: MIT License: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 23 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"11 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q","Warn: Project is vulnerable to: GHSA-f9xv-q969-pqx4"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-23T15:46:50.372Z","repository_id":33273764,"created_at":"2025-08-23T15:46:50.372Z","updated_at":"2025-08-23T15:46:50.372Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279009396,"owners_count":26084580,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws-neptune","graph-database","gremlin","tinkerpop3"],"created_at":"2025-01-21T08:14:08.847Z","updated_at":"2025-10-11T23:39:49.654Z","avatar_url":"https://github.com/shutterstock.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gremlin-aws-sigv4\nThis package provides an extension for Apache's TinkerPop3 Gremlin [javascript driver](https://github.com/apache/tinkerpop/tree/master/gremlin-javascript/src/main/javascript/gremlin-javascript) compatible with [IAM Database Authentication for Neptune](https://docs.aws.amazon.com/neptune/latest/userguide/iam-auth.html).\n\n## Installation\nThis project is a [Node.js](https://nodejs.org) module and can be installed with [npm](https://npmjs.com).\n\n`npm install gremlin-aws-sigv4`\n\n## Usage\nThis package reads the environment variables for AWS authentication. These variables can be overridden.\n\n### Usage with environment variables\nThese three enviroment variables must be defined.\n+ `AWS_ACCESS_KEY_ID` – AWS access key.\n+ `AWS_SECRET_ACCESS_KEY` – AWS secret key.\n+ `AWS_DEFAULT_REGION` – AWS region.\n\n```js\n  const gremlin = require('gremlin-aws-sigv4');\n\n  const graph = new gremlin.structure.Graph();\n  const connection = new gremlin.driver.AwsSigV4DriverRemoteConnection(\n    // host\n    'your-instance.neptune.amazonaws.com', \n\n    // port\n    8182,\n\n    // options, \n    {}, \n\n    // connected callback\n    () =\u003e { \n      const g = graph.traversal().withRemote(connection);\n      const count = await g.V().count().next();\n      connection.close();\n    }, \n\n    // disconnected callback\n    (code, message) =\u003e { }, \n\n    // error callback\n    (error) =\u003e { } \n  );\n```\n\n### Usage without environment variables\n```js\n  const gremlin = require('gremlin-aws-sigv4');\n\n  // creates the connection\n  const graph = new gremlin.structure.Graph();\n  const connection = new gremlin.driver.AwsSigV4DriverRemoteConnection(\n    // host\n    'your-instance.neptune.amazonaws.com',\n\n    // port\n    8182, \n    \n    // options\n    { \n      accessKeyId: 'your-access-key',\n      secretAccessKey: 'your-secret-key',\n      sessionToken: 'your-optional-session-token',\n      region: 'your-region',\n    },\n    \n    // connected callback\n    () =\u003e { \n      const g = graph.traversal().withRemote(connection);\n      const count = await g.V().count().next();\n      connection.close();\n    }, \n    \n    // disconnected callback\n    (code, message) =\u003e { }, \n    \n     // error callback\n     (error) =\u003e { }\n  );\n```\n\n### Additional options\nThses are the available config options, none of them is required.\n```js\n{\n  // Open secure connection - mandatory for engine version 1.0.4.0 and above\n  secure: true,\n\n  // Enable auto-reconnection on connection failure - default: false \n  autoReconnect: true,\n\n  // Number of auto-reconnection retries - default: 10 \n  maxRetry: 3,\n}\n```\n\n## Tests\n\n### Unit tests\n```bash\n# install dependencies\nnpm install\n\n# run the tests\nnpm run test:unit\n```\n\n## Dependencies\n\n- [aws4](https://www.npmjs.com/package/aws4)\n- [debug](https://www.npmjs.com/package/debug)\n- [gremlin](https://www.npmjs.com/package/gremlin)\n\n## Contribute\nPlease do contribute! Open an issue or submit a pull request.\n\nThe project falls under [@Shutterstock](https://github.com/shutterstock/welcome)'s [Code of Conduct](https://github.com/shutterstock/welcome/blob/master/CODE_OF_CONDUCT.md).\n\n## License\n[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshutterstock%2Fgremlin-aws-sigv4","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshutterstock%2Fgremlin-aws-sigv4","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshutterstock%2Fgremlin-aws-sigv4/lists"}