{"id":34578138,"url":"https://github.com/austinbillings/skygate","last_synced_at":"2026-05-06T00:03:23.896Z","repository":{"id":18947603,"uuid":"85645834","full_name":"austinbillings/skygate","owner":"austinbillings","description":"SkyGate: 1-step Authentication Layer for Node apps.","archived":false,"fork":false,"pushed_at":"2023-05-23T05:40:19.000Z","size":1438,"stargazers_count":1,"open_issues_count":7,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-09T16:21:33.994Z","etag":null,"topics":["authentication","express","middleware","nodejs","simple"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/austinbillings.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-21T01:38:50.000Z","updated_at":"2023-05-23T05:10:40.000Z","dependencies_parsed_at":"2023-01-13T20:05:53.634Z","dependency_job_id":null,"html_url":"https://github.com/austinbillings/skygate","commit_stats":null,"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"purl":"pkg:github/austinbillings/skygate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/austinbillings%2Fskygate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/austinbillings%2Fskygate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/austinbillings%2Fskygate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/austinbillings%2Fskygate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/austinbillings","download_url":"https://codeload.github.com/austinbillings/skygate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/austinbillings%2Fskygate/sbom","scorecard":{"id":216734,"data":{"date":"2025-08-11","repo":{"name":"github.com/austinbillings/skygate","commit":"a514cfeb65e7bfc5eba3df1a8dbeb7d981802ff2"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.3,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":"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":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","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":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"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":-1,"reason":"no dependencies found","details":null,"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":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"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":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"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":"Vulnerabilities","score":0,"reason":"50 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-fwr7-v2mv-hh25","Warn: Project is vulnerable to: GHSA-qwcr-r2fm-qrc7","Warn: Project is vulnerable to: GHSA-4jwp-vfvf-657p","Warn: Project is vulnerable to: GHSA-v8w9-2789-6hhr","Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x","Warn: Project is vulnerable to: GHSA-9vvw-cc9w-f27h","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-rv95-896h-c2vc","Warn: Project is vulnerable to: GHSA-qw6h-vgh9-j6wx","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-jf85-cpcp-j695","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-8hfj-j24r-96c4","Warn: Project is vulnerable to: GHSA-wc69-rhjr-hc9g","Warn: Project is vulnerable to: GHSA-mh5c-679w-hh4r","Warn: Project is vulnerable to: GHSA-8687-vv9j-hgph","Warn: Project is vulnerable to: GHSA-f825-f98c-gj3g","Warn: Project is vulnerable to: GHSA-h8hf-x3f4-xwgp","Warn: Project is vulnerable to: GHSA-9m93-w8w6-76hh","Warn: Project is vulnerable to: GHSA-m7xq-9374-9rvx","Warn: Project is vulnerable to: GHSA-vg7j-7cwx-8wgw","Warn: Project is vulnerable to: GHSA-h466-j336-74wx","Warn: Project is vulnerable to: GHSA-p92x-r36w-9395","Warn: Project is vulnerable to: GHSA-45q2-34rf-mr94","Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j","Warn: Project is vulnerable to: GHSA-rhx6-c78j-4q9w","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-m6fv-jmcg-4jfg","Warn: Project is vulnerable to: GHSA-cm22-4g7w-348p","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-8462-q7x7-g2x4","Warn: Project is vulnerable to: GHSA-rq8g-5pc5-wrhr","Warn: Project is vulnerable to: GHSA-qrmc-fj45-qfc2","Warn: Project is vulnerable to: GHSA-44pw-h2cw-w3vq","Warn: Project is vulnerable to: GHSA-jp4x-w63m-7wgm","Warn: Project is vulnerable to: GHSA-c429-5p7v-vgjp","Warn: Project is vulnerable to: GHSA-fvqr-27wr-82fm","Warn: Project is vulnerable to: GHSA-4xc9-xhrj-v574","Warn: Project is vulnerable to: GHSA-x5rq-j2xg-h7qm","Warn: Project is vulnerable to: GHSA-446m-mv8f-q348","Warn: Project is vulnerable to: GHSA-w9mr-4mfr-499f","Warn: Project is vulnerable to: GHSA-2m39-62fm-q8r3","Warn: Project is vulnerable to: GHSA-mf6x-7mm4-x2g7"],"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-17T01:47:48.863Z","repository_id":18947603,"created_at":"2025-08-17T01:47:48.863Z","updated_at":"2025-08-17T01:47:48.863Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32672685,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["authentication","express","middleware","nodejs","simple"],"created_at":"2025-12-24T09:57:29.975Z","updated_at":"2026-05-06T00:03:23.890Z","avatar_url":"https://github.com/austinbillings.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \u003cstrike\u003eSkyGate\u003c/strike\u003e\n\n\n## Dead-simple mongo, sendgrid, and express-based plug'n'play authentication for Node apps\n\nIt's as easy as:\n\n```js\nconst express = require('express');\nconst skygate = require('skygate');\nconst settings = {\n  verbose: true,\n  endpoint: '/auth',\n  port: 12345,\n  userModelName: 'sg_test_user',\n  appName: 'Test App',\n  sendgridKey: process.env.MY_SENDGRID_KEY_HERE_FOR_SENDING_REGISTRATION_EMAILS\n};\n\nconst instance = skygate(settings);\nconst app = express();\n\napp.use(instance.mount());\napp.listen(settings.port);\n```\n\nThen, visiting `localhost:12345/auth/` should reveal auth status.\n\n\n### Annotated settings \u0026 their keys\n\nBasically all settings are optional with 1 caveat-- you'll need to provide a SendGrid API key to enable registration by users.\n\n\n|Setting|Default value|Description|\n|:---|:---|:---|\n|algo|'sha256'| as accepted by `crypto` node api|\n|signed|true|signed cookies, or no?\n|appName|'☯'|this is the name of your app, as displayed in the registration and confirmation emails|\n|sendgridKey|null|provide your api key here 'SG.XXX...' and emails will work, for registration|\n|dbUri|'mongodb://127.0.0.1:27017'|mongo instance connection string|\n|verbose|false|enabling this will show a lot more detail in the console|\n|defaultFromAddress|null|\"from\" address to use when sending transactional emails|\n|secretKey|require('crypto').randomBytes(32).toString('hex')|secret key to use when signing cookies etc.|\n|userModelName|'skygate_user'|name to use for SkyGate user collection in mongodb|\n|maxAttempts|10|maximum password attempts before lockout for 10 minutes|\n|allowRegistration|true|set to false to simply disable all registration capability|\n|maxAge|24 * 60 * 60 * 1000|maximum session/token refresh duration, defaulting to 24 hours|\n|port|null|used for link URL construction; if serving on a real domain (not localhost), leave null\n|protocol|'http'|used for link URL construction; if serving on a real domain (not localhost), https recommended\n|host|'127.0.0.1'|used for link URL construction; if serving on a real domain (not localhost), set it here\n|endpoint|'/'|base URL to use for link URL construction\n|cookieName|'authToken'|name/key to use for auth cookie\n|privateKeys|['pass','salt','resetToken','activationToken']|these fields will be stripped from User data when displaying via `GET /`\n|paths| { ... } |API paths to use for different functionalities|\n|paths.session|'/'|GET shows current state, DELETE logs out, POST logs in|\n|paths.reset|'/reset'|POST for password reset, url path setting|\n|paths.activate|'/activate'|POST for new registration activation, url path setting|\n|paths.register|'/register'|POST for new registration, url path setting|\n|tests| { ... } |these are regular expressions used to accept/reject signups/submissions|\n|tests.name|/^[a-zA-Z-. ]{1,256}$/|for person name in registration|\n|tests.email|/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/|for email in registration \u0026 login|\n|tests.pass|/^[a-zA-Z0-9!@#`~%^\u0026?_-]{10,256}$/|for password in registration \u0026 login|\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faustinbillings%2Fskygate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faustinbillings%2Fskygate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faustinbillings%2Fskygate/lists"}