{"id":38094494,"url":"https://github.com/autoapply/yaml-crypt","last_synced_at":"2026-01-24T10:00:52.818Z","repository":{"id":32945339,"uuid":"111332152","full_name":"autoapply/yaml-crypt","owner":"autoapply","description":"Encrypt and decrypt YAML documents","archived":false,"fork":false,"pushed_at":"2023-12-13T07:38:19.000Z","size":617,"stargazers_count":21,"open_issues_count":6,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-03T06:58:49.740Z","etag":null,"topics":["secret-management","secret-sharing","yaml"],"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/autoapply.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-11-19T21:08:30.000Z","updated_at":"2025-01-06T16:23:45.000Z","dependencies_parsed_at":"2023-12-13T07:29:31.629Z","dependency_job_id":"dbd26434-a20c-4605-8270-19295fd4d09d","html_url":"https://github.com/autoapply/yaml-crypt","commit_stats":{"total_commits":82,"total_committers":4,"mean_commits":20.5,"dds":"0.060975609756097615","last_synced_commit":"f08e3908a960a093375804fe247dd49a3a7da37f"},"previous_names":["pascalgn/yaml-crypt"],"tags_count":33,"template":false,"template_full_name":null,"purl":"pkg:github/autoapply/yaml-crypt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autoapply%2Fyaml-crypt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autoapply%2Fyaml-crypt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autoapply%2Fyaml-crypt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autoapply%2Fyaml-crypt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/autoapply","download_url":"https://codeload.github.com/autoapply/yaml-crypt/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autoapply%2Fyaml-crypt/sbom","scorecard":{"id":217182,"data":{"date":"2025-08-11","repo":{"name":"github.com/autoapply/yaml-crypt","commit":"033e9e9a195fdf4252f9cc2172f5e653b13152e8"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.8,"checks":[{"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build.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":"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":"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":"Code-Review","score":0,"reason":"Found 0/28 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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/autoapply/yaml-crypt/build.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/autoapply/yaml-crypt/build.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/autoapply/yaml-crypt/build.yml/main?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction 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":"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":"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:0","Info: FSF or OSI recognized license: MIT License: LICENSE: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 3 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":"13 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-xq7p-g2vc-g82p","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-3w3w-pxmm-2w2j","Warn: Project is vulnerable to: GHSA-xwcq-pm8m-c4vf","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-76p7-773f-r4q5","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3"],"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:52:25.821Z","repository_id":32945339,"created_at":"2025-08-17T01:52:25.821Z","updated_at":"2025-08-17T01:52:25.821Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28724374,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T08:27:05.734Z","status":"ssl_error","status_checked_at":"2026-01-24T08:27:01.197Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["secret-management","secret-sharing","yaml"],"created_at":"2026-01-16T21:00:23.270Z","updated_at":"2026-01-24T10:00:52.802Z","avatar_url":"https://github.com/autoapply.png","language":"JavaScript","funding_links":[],"categories":["Secret Management"],"sub_categories":[],"readme":"# yaml-crypt\n\n[![Coverage status](https://img.shields.io/coveralls/github/autoapply/yaml-crypt.svg?style=flat-square)](https://coveralls.io/github/autoapply/yaml-crypt)\n[![License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](LICENSE)\n\nCommand line utility to encrypt and decrypt YAML documents.\n\n## Installation\n\nThe package is available on the [npm registry](https://www.npmjs.com/package/yaml-crypt), so just run\n\n    $ yarn global add yaml-crypt\n    $ yaml-crypt -h\n\nYou can also install the package locally:\n\n    $ mkdir yaml-crypt \u0026\u0026 cd yaml-crypt\n    $ yarn init --yes\n    $ yarn add yaml-crypt\n    $ ./node_modules/.bin/yaml-crypt -h\n\n## Usage\n\nFirst you will need to generate a key file. Currently,\nboth [Fernet](https://github.com/fernet/spec/blob/master/Spec.md)\nand [Branca](https://branca.io/) encryption schemes are supported.\n\nTo generate a new random key, run\n\n    $ yaml-crypt --generate-key \u003e my-key-file\n\nTo encrypt all values in a YAML file, run\n\n    $ yaml-crypt -k my-key-file my-file.yaml\n\nThis will encrypt the file contents and rename the file to `my-file.yaml-crypt`.\n\nThe operation will be performed based on the file extension, so to decrypt a file,\njust use\n\n    $ yaml-crypt -k my-key-file my-file.yaml-crypt\n\nTo specify an explicit operation, use `-e` or `-d` for encryption or decryption.\n\nYou can also encrypt only certain parts of a file. Given the following YAML file\n\n```yaml\napiVersion: v1\nkind: Secret\ndata:\n  username: user1\n  password: secret123\n```\n\nyou can use `--path data` to only encrypt the values `user1` and `secret123`.\n\n\u003e[Kubernetes](https://kubernetes.io/) secrets are Base64 encoded,\n\u003eso you should also use the `--base64` (or `-B`) option.\n\nIt is also possible to directly open encrypted files in an editor, decrypting them\nbefore opening and encrypting again when saving:\n\n    $ yaml-crypt -E my-file.yaml-crypt\n\nWhen editing, you can add new encrypted data by specifying the yaml tag `\u003c!yaml-crypt\u003e`:\n\n```yaml\nunencrypted:\n  hello: world\nencrypted:\n  key1: !\u003c!yaml-crypt/:0\u003e secret-key-1\n  # add the following line to add a new encrypted entry \"key2\" to the file,\n  # which will be encrypted in the yaml-crypt file:\n  key2: !\u003c!yaml-crypt\u003e secret123\n```\n\n## Configuration\n\nThe yaml-crypt command looks in `~/.yaml-crypt` for a file `config.yaml` or `config.yml`.\nCurrently, only the `keys` property is supported. These keys will be used when no keys\nare given on the command line:\n\n    $ cat ~/.yaml-crypt/config.yaml\n    keys:\n    - key: my-raw-key-data\n    - key: !!binary my-base64-key-data\n    $ yaml-crypt my-file.yaml\n\nAll whitespaces at the beginning and end of keys will be removed when reading keys.\n\n## Related projects\n\n- https://github.com/mozilla/sops\n- https://github.com/huwtl/secure_yaml\n- https://github.com/StackExchange/blackbox\n- https://github.com/bitnami-labs/sealed-secrets\n\n## License\n\nThe yaml-crypt tool is licensed under the MIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautoapply%2Fyaml-crypt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fautoapply%2Fyaml-crypt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautoapply%2Fyaml-crypt/lists"}