Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
⚠️ This package seems to have moderate severity install script vulnerabilities

Affected script: "install-scripts:post-update-cmd"

This script is updating or installing a Git pre-commit hook (pre-commit.php) which can be dangerous because the actual content of the pre-commit.php file is not shown. Git hooks are scripts that Git executes before or after events such as commit, push, etc. If there is any malicious code hidden in this 'pre-commit.php', it can do anything from stealing sensitive information to running harmful commands every time a git commit is made, depending on the user's permissions.

In addition, the file permission is being set to 0777, which gives read, write, and execute permissions to everyone on the file. This could allow any user to modify the pre-commit hook to include malicious code. The vulnerability arises from the open-ended nature of the pre-commit hook and the lack of control or visibility on what that hook actually does.

Generated on Apr 14, 2024 via composer

uuf6429/rune dev-main

PHP Rule Engine.
Package summary
Share
0
issues
1
license
16
MIT
Package created
12 Jul 2016
Version published
16 Jun 2018
Maintainers
1
Total deps
16
Direct deps
2
License
MIT

Issues

0
This package has no issues

Install Script Usage

ⓘ This section contains AI-generated explanations for this package's install scripts.

The "post-install-cmd" Script

php extra/composer-hooks/post-install-cmd.php

The code simply includes another PHP file named 'post-update-cmd.php'. Without seeing the contents of 'post-update-cmd.php', we cannot assume it is dangerous. However, it can potentially be a security risk if the included file contains harmful scripts. Thus, always ensure the included file is safe and from a reliable source.

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
16 Packages, Including:
doctrine/deprecations@1.1.3
phpdocumentor/reflection-common@2.2.0
phpdocumentor/reflection-docblock@5.4.0
phpdocumentor/type-resolver@1.8.2
phpstan/phpdoc-parser@1.28.0
psr/cache@3.0.0
psr/container@2.0.2
psr/log@3.0.0
symfony/cache@v7.0.6
symfony/cache-contracts@v3.4.2
symfony/deprecation-contracts@v3.4.0
symfony/expression-language@v6.4.3
symfony/service-contracts@v3.4.2
symfony/var-exporter@v7.0.6
uuf6429/rune@dev-main
webmozart/assert@1.11.0
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

2
All Dependencies CSV
ⓘ This is a list of uuf6429/rune 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
phpdocumentor/reflection-docblock5.4.0-MIT
prod
symfony/expression-languagev6.4.328.6 kBMIT
prod

Visualizations

All Versions