{"id":13588631,"url":"https://github.com/pixelfactoryio/privatebin-cli","last_synced_at":"2026-01-23T16:38:17.245Z","repository":{"id":38036535,"uuid":"196173968","full_name":"pixelfactoryio/privatebin-cli","owner":"pixelfactoryio","description":"Privatebin CLI in NodeJS.","archived":false,"fork":false,"pushed_at":"2025-09-13T10:08:35.000Z","size":2057,"stargazers_count":41,"open_issues_count":4,"forks_count":10,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-27T02:21:58.743Z","etag":null,"topics":["cli","crypto","javascript","nodejs","paste","privatebin","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/pixelfactoryio.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"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}},"created_at":"2019-07-10T09:18:30.000Z","updated_at":"2025-09-19T23:26:24.000Z","dependencies_parsed_at":"2023-02-18T17:15:23.773Z","dependency_job_id":"13b6beac-103b-4162-a614-43996e4085da","html_url":"https://github.com/pixelfactoryio/privatebin-cli","commit_stats":{"total_commits":104,"total_committers":8,"mean_commits":13.0,"dds":0.6538461538461539,"last_synced_commit":"bd9ef5a532cc8023441b8af668e5f525c1fee1c8"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/pixelfactoryio/privatebin-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelfactoryio%2Fprivatebin-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelfactoryio%2Fprivatebin-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelfactoryio%2Fprivatebin-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelfactoryio%2Fprivatebin-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pixelfactoryio","download_url":"https://codeload.github.com/pixelfactoryio/privatebin-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelfactoryio%2Fprivatebin-cli/sbom","scorecard":{"id":735872,"data":{"date":"2025-08-18","repo":{"name":"github.com/pixelfactoryio/privatebin-cli","commit":"72aa03a5e0aeac2b715287487b2eecdbfc4a79b0"},"scorecard":{"version":"v5.2.1-41-g40576783","commit":"40576783fda6698350fcbbeaea760ff827433034"},"score":3.5,"checks":[{"name":"Code-Review","score":2,"reason":"Found 4/17 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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#code-review"}},{"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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#maintained"}},{"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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#dangerous-workflow"}},{"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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Warn: no topLevel permission defined: .github/workflows/codeql-analysis.yml:1","Warn: no topLevel permission defined: .github/workflows/release.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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":4,"reason":"dependency not pinned by hash detected -- score normalized to 4","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/pixelfactoryio/privatebin-cli/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/pixelfactoryio/privatebin-cli/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/pixelfactoryio/privatebin-cli/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/pixelfactoryio/privatebin-cli/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/pixelfactoryio/privatebin-cli/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/pixelfactoryio/privatebin-cli/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/pixelfactoryio/privatebin-cli/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/pixelfactoryio/privatebin-cli/release.yml/main?enable=pin","Info:   0 out of   7 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   2 out of   2 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/40576783fda6698350fcbbeaea760ff827433034/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/40576783fda6698350fcbbeaea760ff827433034/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/40576783fda6698350fcbbeaea760ff827433034/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/40576783fda6698350fcbbeaea760ff827433034/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/40576783fda6698350fcbbeaea760ff827433034/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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#signed-releases"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/release.yml:10"],"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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#packaging"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#branch-protection"}},{"name":"SAST","score":7,"reason":"SAST tool detected but not run on all commits","details":["Info: SAST configuration detected: CodeQL","Warn: 1 commits out of 22 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"16 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-xffm-g5w8-qvg7","Warn: Project is vulnerable to: GHSA-x4c5-c7rf-jjgv","Warn: Project is vulnerable to: GHSA-h5c3-5r3r-rr8q","Warn: Project is vulnerable to: GHSA-rmvr-2pp2-xj38","Warn: Project is vulnerable to: GHSA-xx4v-prfh-6cgc","Warn: Project is vulnerable to: GHSA-jr5f-v2jv-69x6","Warn: Project is vulnerable to: GHSA-xq7p-g2vc-g82p","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-m5qc-5hw7-8vg7","Warn: Project is vulnerable to: GHSA-76c9-3jph-rj3q","Warn: Project is vulnerable to: GHSA-x7hr-w5r2-h6wg","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-c76h-2ccp-4975","Warn: Project is vulnerable to: GHSA-cxrh-j4jr-qwg3"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-22T15:48:26.127Z","repository_id":38036535,"created_at":"2025-08-22T15:48:26.127Z","updated_at":"2025-08-22T15:48:26.127Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28695662,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T15:57:05.722Z","status":"ssl_error","status_checked_at":"2026-01-23T15:56:27.656Z","response_time":59,"last_error":"SSL_read: 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":["cli","crypto","javascript","nodejs","paste","privatebin","typescript"],"created_at":"2024-08-01T15:06:49.937Z","updated_at":"2026-01-23T16:38:17.240Z","avatar_url":"https://github.com/pixelfactoryio.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# privatebin-cli\n\n![CI](https://github.com/pixelfactoryio/privatebin-cli/workflows/CI/badge.svg)\n[![codecov](https://codecov.io/gh/pixelfactoryio/privatebin-cli/branch/master/graph/badge.svg)](https://codecov.io/gh/pixelfactoryio/privatebin-cli)\n\nPrivatebin-cli is Javascript Command Line tool and a Client Library to interact with privatebin (https://privatebin.net)\n\n## Install\n\n```bash\nnpm install -g @pixelfactory/privatebin\n```\n\n## Command Line\n\n### Send command\n\n```bash\n$ privatebin send --help\nUsage: privatebin send [options] \u003ctext\u003e\n\nSend a text to privatebin\n\nOptions:\n  -e, --expire \u003cstring\u003e   paste expire time [5min, 10min, 1hour, 1day, 1week, 1month, 1year, never] (default: \"1week\")\n  --burnafterreading      burn after reading (default: false)\n  --opendiscussion        open discussion (default: false)\n  --compression \u003cstring\u003e  use compression [zlib, none] (default: \"zlib\")\n  --textformat \u003cstring\u003e   text format [plaintext, markdown] for the input\n  -p, --password          prompt for password (default: false)\n  -u, --url \u003cstring\u003e      privateBin host (default: \"https://privatebin.net\")\n  -o, --output \u003cstring\u003e   output format [text, json, yaml] (default: \"text\")\n  -h, --help              display help for command\n```\n\n#### Example\n\n```bash\n$ privatebin send -e 5min -o json \"Hello World\"\n{\n  \"pasteId\": \"ccd05227e7bab99c\",\n  \"pasteURL\": \"https://privatebin.net/?ccd05227e7bab99c#GWk29DqQx6NAfMYHgMeDeR76QSyL82fHHg5yGu3U8fft\",\n  \"deleteURL\": \"https://privatebin.net/?pasteid=ccd05227e7bab99c\u0026deletetoken=62a14a8483452485902b2e86e56f07269dd484f305d7d210d2375397deb79c1b\"\n}\n```\n\nOr use pipe\n\n```bash\n$ echo 'Hello World' | privatebin send -e 5min\npasteId: 649aa8c062d4ed4d\npasteURL: https://privatebin.net/?649aa8c062d4ed4d#Gt3NoxrGF8Tck5j9bBrsuFjbEaCyEBfBiGi1g8qCF2kv\ndeleteURL: https://privatebin.net/?pasteid=649aa8c062d4ed4d\u0026deletetoken=b2dae42a762cf0b5e1dbf1fd5113356ba370218091668950c7f6a2d181a07ac6\n```\n\n... or send a file with pipe to your own instance\n\n```bash\ncat README.md | privatebin send --url https://privatebin.your.domaine -o json -e 5min\n```\n\n### Get command\n\n```bash\n$ privatebin get --help\nUsage: privatebin get [options] \u003cpasteUrl\u003e\n\nget a message from privatebin\n\nOptions:\n  -h, --help  display help for command\n```\n\n#### Example\n\n```bash\n$ privatebin get \"https://privatebin.net/?ccd05227e7bab99c#GWk29DqQx6NAfMYHgMeDeR76QSyL82fHHg5yGu3U8fft\"\nHello World\n```\n\n## Library\n\n### Install\n\n```bash\nnpm install @pixelfactory/privatebin\n```\n\n### Usage\n\n```javascript\nimport { PrivatebinClient } from '@pixelfactory/privatebin';\nimport { encode } from 'bs58';\nconst urlPrivatebin = 'https://privatebin.net'\nconst privatebin = new PrivatebinClient(urlPrivatebin);\nconst key = crypto.getRandomValues(new Uint8Array(32));\nconst msg = 'Hello World!';\n\nconst opts = {\n  textformat: 'plaintext',\n  expire: '5min',\n  burnafterreading: 0,\n  opendiscussion: 0,\n  output: 'text',\n  compression: 'zlib',\n};\n\nconst paste = privatebin.sendText(msg, key, opts);\nconsole.log(urlPrivatebin + paste.url + '#' + encode(key))\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpixelfactoryio%2Fprivatebin-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpixelfactoryio%2Fprivatebin-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpixelfactoryio%2Fprivatebin-cli/lists"}