{"id":42307902,"url":"https://github.com/ossillate-inc/packj-github-action","last_synced_at":"2026-02-18T09:01:26.748Z","repository":{"id":40419448,"uuid":"484814481","full_name":"ossillate-inc/packj-github-action","owner":"ossillate-inc","description":"Packj audits pull requests for malicious/risky open-source deps","archived":false,"fork":false,"pushed_at":"2023-08-29T17:03:12.000Z","size":104,"stargazers_count":10,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-29T23:29:57.904Z","etag":null,"topics":["infosec","malware-analysis","security","security-audit","security-tools","static-analysis","supply-chain-attacks","supply-chain-security","vulnerability-scanner"],"latest_commit_sha":null,"homepage":"https://packj.dev","language":null,"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/ossillate-inc.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-23T17:34:26.000Z","updated_at":"2023-11-21T19:01:02.000Z","dependencies_parsed_at":"2024-06-21T05:54:00.704Z","dependency_job_id":null,"html_url":"https://github.com/ossillate-inc/packj-github-action","commit_stats":{"total_commits":108,"total_committers":7,"mean_commits":"15.428571428571429","dds":0.4629629629629629,"last_synced_commit":"67626131a683dd8389270e915c4e6bfe63400ff9"},"previous_names":["ossillate-inc/packj.dev"],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/ossillate-inc/packj-github-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ossillate-inc%2Fpackj-github-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ossillate-inc%2Fpackj-github-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ossillate-inc%2Fpackj-github-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ossillate-inc%2Fpackj-github-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ossillate-inc","download_url":"https://codeload.github.com/ossillate-inc/packj-github-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ossillate-inc%2Fpackj-github-action/sbom","scorecard":{"id":713869,"data":{"date":"2025-08-11","repo":{"name":"github.com/ossillate-inc/packj-github-action","commit":"361bddfeb80c5b0908a5ea75c703a5da6c038f03"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.9,"checks":[{"name":"Code-Review","score":6,"reason":"Found 3/5 approved changesets -- score normalized to 6","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":"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":-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":"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":"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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"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":-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 29 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"}}]},"last_synced_at":"2025-08-22T08:55:44.921Z","repository_id":40419448,"created_at":"2025-08-22T08:55:44.921Z","updated_at":"2025-08-22T08:55:44.921Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29574065,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T08:38:15.585Z","status":"ssl_error","status_checked_at":"2026-02-18T08:38:14.917Z","response_time":162,"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":["infosec","malware-analysis","security","security-audit","security-tools","static-analysis","supply-chain-attacks","supply-chain-security","vulnerability-scanner"],"created_at":"2026-01-27T11:12:46.287Z","updated_at":"2026-02-18T09:01:26.742Z","avatar_url":"https://github.com/ossillate-inc.png","language":null,"funding_links":[],"categories":["Others"],"sub_categories":[],"readme":"# \u003cimg src=\"https://raw.githubusercontent.com/feathericons/feather/master/icons/package.svg\" width=\"45\"/\u003e\u0026nbsp;\u003cspan style=\"font-size: 36px\"\u003e Packj flags malicious/risky open-source dependencies\u003c/span\u003e \n\nAdd *Packj* to your workflow to audit your pull requests for malicious/risky NPM/PyPI/Ruby dependencies. \n\nPowered by our open-source tool [Packj](https://github.com/ossillate-inc/packj).\n\n[![GitHub Stars](https://img.shields.io/github/stars/ossillate-inc/packj?style=social)](https://github.com/ossillate-inc/packj/stargazers) [![Discord](https://img.shields.io/discord/910733124558802974?label=Discord)](https://discord.gg/8hx3yEtF) ![](https://img.shields.io/badge/status-beta-yellow)\n\n# Example output\n\nPackj will comment on the PR if any risky dependencies are found. See example [Pull Request audit](https://github.com/ossillate-inc/packj-github-action-demo/pull/3#issuecomment-1274797138). \n\n\u003cdetails\u003e\n\t\u003csummary\u003e\u003cb\u003eShow Example PR Screenshot\u003c/b\u003e\u003c/summary\u003e\n\n![Screen Shot 2022-11-04 at 5 18 25 PM](https://user-images.githubusercontent.com/1142085/200083068-e76265f3-9b36-43d5-837a-87409329307d.png)\n\u003c/details\u003e\n\n# How to use #\n\nJust add the following to your workflow:\n\n```yaml\n- name: Packj Security Audit\n  uses: ossillate-inc/packj-github-action@v0.0.11-beta\n    with:\n      # TODO: replace with your dependency files in the repo\n      DEPENDENCY_FILES: pypi:requirements.txt,npm:package.json,rubygems:Gemfile\n      REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }\n```\n\n\u003cdetails\u003e\n\t\u003csummary\u003e\u003cb\u003eShow a complete example\u003c/b\u003e\u003c/summary\u003e \n\n```yaml\n# This is a basic workflow to help you get started with Actions\nname: Packj security audit\n\n# Controls when the workflow will run\non:\n  pull_request:\n    branches:\n      - main\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n\n  # This workflow contains a single job called \"packj-audit\"\n  packj-security-audit:\n\n    # The type of runner that the job will run on\n    runs-on: ubuntu-latest\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n\n      # Audit \n      - name: Audit dependencies\n        uses: ossillate-inc/packj-github-action@v0.0.11-beta\n        with:\n          # TODO: replace with your dependency files in the repo\n          DEPENDENCY_FILES: pypi:requirements.txt,npm:package.json,rubygems:Gemfile\n          REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n```\n\u003c/details\u003e\n\n### Inputs ###\n- **DEPENDENCY_FILES** -- _Packj takes open-source dependency files as input (e.g., npm:package.json). Multiple comma-separated files could be specified. Please see example usage above.\n- **REPO_TOKEN**:  -- specific github token, `secrets.GITHUB_TOKEN` is used by default (Github Action Runner)\n- **FILES_EXIST**: -- an optional boolean parameter specifying if the dependency files are to be found in the repository. If the files are generated during intermediate GitHub action steps, set this to `false`.\n\n# How it works #\n\nPackj can audit **PyPI, NPM, and RubyGems** packages. It performs:\n- static code analysis to check entire package code for use of filesystem, network, and process APIs (e.g., `connect`, `exec`),\n- metadata analysis to check for attributes such as release timestamps, author email, downloads, dependencies, and \n- dynamic analysis to check the runtime behavior of the package (and all dependencies) by installing them analyzing traces for system calls (e.g., `open()`, `fork()`). \n\nPackages with expired email domains, large release time gap, sensitive APIs, etc. are flagged as risky for [security reasons](https://github.com/ossillate-inc/packj/blob/main/packj/audit/README.md#risky-attributes).\n\n# Supported threats #\n\nThe design of Packj is guided by our study of 651 malware samples of documented open-source software supply chain attacks. It scans for 40+ risky code and metadata attributes that make a package vulnerable to supply chain attacks. \n\n\u003cdetails\u003e\n  \u003csummary\u003e\n    \u003cstrong\u003eShow examples of risky packages that are flagged by Packj.\u003c/strong\u003e\n  \u003c/summary\u003e\n  \u003ctable\u003e\n    \u003ctr\u003e\n      \u003cth\u003eRisk\u003c/th\u003e\n      \u003cth\u003eReason\u003c/th\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003ePackages impersonating popular packages\u003c/td\u003e\n      \u003ctd\u003eBad actors carry out typo-squatting attacks by publishng malicious packages that impersonate popular packages (e.g., lodash vs loadash)\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eOld or abandonded packages\u003c/td\u003e\n      \u003ctd\u003eOld or unmaintained packages do not receive security fixes\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003ePackage using of sensitive APIs, such as \u003cb\u003eexec\u003c/b\u003e and \u003cb\u003eeval\u003c/b\u003e\u003c/td\u003e\n      \u003ctd\u003eMalware uses APIs from the operating system or language runtime to perform sensitive operations (e.g., read SSH keys)\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003ePackages with invalid or no email addresses of the contributors\u003c/td\u003e\n      \u003ctd\u003eIncorrect or missing email addresses suggest lack of 2FA on the account, which makes it easier for bad actors to hijack package ownership\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003ePackages with invalid or no public source repo\u003c/td\u003e\n      \u003ctd\u003eAbsence of a public repo means no easy way to audit or review the source code publicly\u003c/td\u003e\n    \u003c/tr\u003e\n        \u003ctr\u003e\n      \u003ctd\u003ePackages containing known vulnerabilities\u003c/td\u003e\n      \u003ctd\u003eKnown security vulnerabilities (CVEs) in package code could be exploited by bad actors\u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/table\u003e\n  Full list of risks we track can be viewed at \u003ca href=\"https://github.com/ossillate-inc/packj/blob/main/packj/config.yaml\"\u003egithub.com/ossillate-inc/packj/config.yaml\u003c/a\u003e\n\u003c/details\u003e\n\n# Customizing alerts #\n\nPackj can be customized to ONLY send alerts that apply to your threat model. Simply add a `.packj.yaml` file in your repo based on our template (below) and enable/disable alerts that matter to you.\n\n\u003cdetails\u003e\n  \u003csummary\u003e\n    \u003cstrong\u003eShow .packj.yaml template.\u003c/strong\u003e\n  \u003c/summary\u003e\n  \u003cpre\u003e\u003ccode class=\"lang-yaml\"\u003e\n  \n\t#\n\t# Audit policies\n\t#\n\taudit:\n\t\n\t  #\n\t  # Risk alerts (enable or disable according to your threat model)\n\t  # \n\t  alerts:\n\t\n\t    #\n\t    # category: malicious packages (publicly known and unknown)\n\t    #\n\t    malicious:\n\t      contains known malware:\n\t        - reason: package is known to contain a dangerous malware\n\t        - enabled: true\n\t      typo-squatting or repo-jacking package:\n\t        - reason: package impersonates another popular package to propagate malware\n\t        - enabled: true\n\t\n\t    #\n\t    # alert category: packages vulnerable to code exploits\n\t    #\n\t    vulnerable:\n\t      contains known vulnerabilities:\n\t        - reason: known vulnerabilities (CVEs) in package code could be exploited\n\t        - enabled: true\n\t\n\t    #\n\t    # packages with undesirable or \"risky\" attributes\n\t    #\n\t    undesirable:\n\t      package is old or abandoned:\n\t        - reason: old or abandoned packages receive no security updates and are risky\n\t        - enabled: true\n\t\n\t      invalid or no author email:\n\t        - reason: a package with lack of or invalid author email suggests 2FA not enabled\n\t        - enabled: true\n\t\n\t      invalid or no homepage:\n\t        - reason: a package with no or invalid homepage may not be preferable\n\t        - enabled: false\n\t\n\t      no source repo:\n\t        - reason: lack of public source repo may suggest malicious intention\n\t        - enabled: true\n\t\n\t      fewer downloads:\n\t        - reason: a package with few downloads may not be preferable\n\t        - enabled: true\n\t\n\t      no or insufficient readme:\n\t        - reason: a package with lack of documentation may not be preferable\n\t        - enabled: false\n\t\n\t      fewer versions or releases:\n\t        - reason: few versions suggest unstable or inactive project\n\t        - enabled: true\n\t\n\t      too many dependencies:\n\t        - reason: too many dependencies increase attack surface\n\t        - enabled: false\n\t\n\t      version release after a long gap:\n\t        - reason: a release after a long time may indicate account hijacking\n\t        - enabled: false\n\t\n\t      contains custom installation hooks:\n\t        - reason: custom installation hooks may download or execute malicious code\n\t        - enabled: false # WIP\n\t\n\t      #\n\t      # type: repo stats\n\t      #\n\t      few source repo stars:\n\t        - reason: a package with few repo stars may not be preferable\n\t        - enabled: false\n\t\n\t      few source repo forks:\n\t        - reason: a package with few repo forks may not be preferable\n\t        - enabled: false\n\t\n\t      forked source repo:\n\t        - reason: a forked copy of a popular package may contain malicious code\n\t        - enabled: true\n\t\n\t      #\n\t      # type: APIs and permissions\n\t      #\n\t      generates new code:\n\t        - reason: package generates new code at runtime, which could be malicious\n\t        - enabled: false\n\t      forks or exits OS processes:\n\t        - reason: package spawns new operating system processes, which could be malicious\n\t        - enabled: false\n\t      accesses obfuscated (hidden) code:\n\t        - enabled: true\n\t      accesses environment variables:\n\t        - enabled: false\n\t      changes system/environment variables:\n\t        - enabled: false\n\t      accesses files and dirs:\n\t        - enabled: false\n\t      communicates with external network:\n\t        - enabled: false\n\t      reads user input:\n\t        - enabled: false\n\t\n\tsandbox:\n\t  rules:\n\t    #\n\t    # File system (allow or block accesses to file/dirs)\n\t    #\n\t    #   ~/ represents home dir\n\t    #   . represents cwd dir\n\t    #\n\t    # NOTE: only ONE 'allow' and 'block' lines are allowed\n\t    #\n\t    fs:\n\t      # TODO: customize as per your threat model\n\t\n\t      # block access to home dir and all other locations (except the ones below)\n\t      block: ~/, /\n\t      allow: ., ~/.cache, ~/.npm, ~/.local, ~/.ruby, /tmp, /proc, /etc, /var, /bin, /usr/include, /usr/local, /usr/bin, /usr/lib, /usr/share, /lib\n\t\n\t    #\n\t    # Network (allow or block domains/ports)\n\t    #\n\t    # NOTE: only ONE 'allow' and 'block' lines are allowed\n\t    #\n\t    network:\n\t\n\t      # TODO: customize as per your threat model\n\t\n\t      # block all external network communication (except the ones below)\n\t      block: 0.0.0.0\n\t\n\t      # For installing PyPI, Rubygems, and NPM packages\n\t      allow: pythonhosted.org:443, pypi.org:443, rubygems.org:443, npmjs.org:0, npmjs.com:0\n  \u003c/code\u003e\u003c/pre\u003e\n\u003c/details\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fossillate-inc%2Fpackj-github-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fossillate-inc%2Fpackj-github-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fossillate-inc%2Fpackj-github-action/lists"}