项目 / tirrenotechnologies/tirreno

tirrenotechnologies/tirreno

行业推荐
语言 PHP标签 fraud-detectionintelligenceantispamfraudbot-managementbot-detectionapplication-monitoringlog-analysisuser-monitoringsecurity-analyticsphp-projectaudit-trailsaudit-logssecurity-frameworkruntime-securitycyber-securityphp-scriptscybersecurity-projectsbankingcyber-defense数据更新 2026-11-24 06:50:13 · 仓库 2026-11-23

一段话介绍

tirreno 是一套开源的自托管安全框架,用于在自有系统内采集事件、计算风险评分,并在控制台中查看与处理相关记录。它是依赖较少的 PHP/PostgreSQL 应用:安装后可通过 API 或 SDK 写入事件,再使用内置控制台、单实体视图、规则引擎和审核队列。运行要求为 PHP 8.0 至 8.3、PostgreSQL 12 或更高版本,以及带 `mod_rewrite` 与 `mod_headers` 的 Apache 等,详细步骤见 README 的 Quickstart。也可用 Docker Compose 一键启动,或通过 Composer 安装。PHP、Python、Node.js 和 WordPress 的接入库在其组织下的独立仓库中。本页只介绍用途与入口。说明见[项目站点](https://www.tirreno.com)和[仓库 README](https://github.com/tirrenotechnologies/tirreno)。

本站整理,非 GitHub 官方 description。

官方 description(GitHub API 原样)
tirreno is an open-source framework for in-house security. Event tracking, risk scoring and threat detection for your system.
1,579累计星
185Fork
—峰值日增
0上榜次数
总榜
暂未入榜
日榜
暂未入榜
周榜
暂未入榜
月榜
暂未入榜

官方快照(gh_history.db,2026-11-25):总榜 未进 Top50 · 日榜 未进 Top50 · 周榜未满 7 天基线(官方不生成) · 月榜暂无官方口径;下方四卡为站内趋势聚合(周卡按上榜次数,非官方 7 日增量窗)。

行业与场景

按行业选型 →

日志监控与可观测性

适配系统:可观测性平台、运维监控系统 · 得分 1.1

提供指标/日志/链路采集与告警能力,可保障生产系统稳定性与故障定位效率。

更多信息

以下三段按该项目自己的 GitHub README 章节摘录(可合理截断并标明);README 没有对应章节的留空,不编造。

我的用法
tirreno 支持 Docker 一键部署,也可下载 ZIP 装到 Web 服务器,经浏览器完成安装与管理员注册后,配置每 10 分钟一次的 cron 任务。
特点或设计要点
tirreno 项目取名自古代第勒尼安人——据史料他们最早用号角预警威胁,后来被希腊罗马军队沿用;标志设计时还追溯到 15 世纪拉丁文《圣经》印刷版中的 tirreno 一词,并将字标保持小写以忠于原文。
局限和适用边界
tirreno 运行环境要求 PHP 8.0–8.3、PostgreSQL 12 及以上、启用 mod_rewrite 和 mod_headers 的 Apache,建议类 Unix 系统,并需满足最低内存与存储条件。
星标走势还差一天的数据,明天就能看到曲线
每天 10:30 记一次星标,连续两天后自动生成曲线
首次发现 — · 最近在榜 2026-10-24 · 语言 PHP · 贡献者 —
security

GitHub 项目主页介绍

来自 GitHub 仓库 README / 主页介绍正文,原样摘录,共 9,830 字节。

# tirreno

[![Codacy Badge](https://app.codacy.com/project/badge/Grade/ec30c28f67de476f8b98d2798079bdf0)](https://app.codacy.com/gh/TirrenoTechnologies/tirreno/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
[![Docker Pulls](https://img.shields.io/docker/pulls/tirreno/tirreno?style=flat)](https://hub.docker.com/r/tirreno/tirreno/)

<p align="center">
    <a href="https://www.tirreno.com/" target="_blank">
        <img src="https://www.tirreno.com/firstscreen.jpg" alt="tirreno screenshot" />
    </a>
</p>

[tirreno](https://www.tirreno.com) is a security framework.

tirreno *[tir.ˈrɛ.no]* helps understand, monitor, and protect your product from threats, and abuse. While classic cybersecurity focuses on infrastructure and network perimeter, most breaches occur through compromised accounts and application logic abuse that bypasses firewalls, SIEM, WAFs, and other defenses. tirreno detects threats where they actually happen: inside your product.

tirreno is a hand-written, few-dependency, "low-tech" PHP/PostgreSQL application. After a straightforward five-minute installation, you can ingest events through API calls and immediately access a dashboard.

## Core components
* **SDKs & API** Integrate tirreno into any product with SDKs.
  Send events with full context in a few lines of code.
* **Built-in dashboard** Monitor and understand your product's
  security and risk events from a single interface. 
* **Single user view** Analyze behaviour patterns, risk scores,
  and activity timelines for a specific entity.
* **Rule engine** Calculate risk scores automatically with preset
  rules or create your own customized for your product.
* **Review queue** Automatically suspend entities with risky events
  or flag them for manual review through threshold settings.
* **Field audit trail** Track modifications to important fields,
  including what changed and when to streamline audit and compliance.

## Built for

* **Self-hosted, internal and legacy apps**: Embed security layer
  to extend your security through audit trails, protect user accounts
  from takeover, detect cyber threats and monitor insider threats.
* **Mission critical applications**: Sensitive application protection,
  even in air-gapped deployments.
* **Industrial control systems (ICS) and command & control (C2)**: Protect,
  operational technology, command systems, and critical infrastructure
  platforms from unauthorized access and malicious commands.
* **SaaS**: Prevent cross-tenant data leakage, privilege escalation,
  data exfiltration and business logic abuse.
* **Non-human identities (NHIs)**: Monitor service accounts, API keys,
  bot behaviors, and detect compromised machine identities.
* **API-first applications**: Protect against abuse, rate limiting
  bypasses, scraping, and unauthorized access.

## Live demo

Check out the live demo at [play.tirreno.com](https://play.tirreno.com) (*admin/tirreno*).

## Requirements

* **PHP**: Version 8.0 to 8.3
* **PostgreSQL**: Version 12 or greater
* **PHP extensions**: `PDO_PGSQL`, `cURL`
* **HTTP web server**: `Apache` with `mod_rewrite` and `mod_headers` enabled
* **Operating system**: A Unix-like system is recommended
* **Minimum hardware requirements**:
  * **PostgreSQL**: 512 MB RAM (4 GB recommended)
  * **Application**: 128 MB RAM (1 GB recommended)
  * **Storage**: Approximately 3 GB PostgreSQL storage per 1 million events

## Docker-based installation

To run tirreno within a Docker container you may use command below:

```bash
curl -sL tirreno.com/t.yml | docker compose -f - up -d
```
Continue with step 4 of [Quickstart](#quickstart-install).

## Quickstart install
1. [Download](https://www.tirreno.com/download/) the latest version of tirreno (ZIP file).
2. Extract the tirreno-master.zip file to the location where you want it installed on your web server.
3. Navigate to `http://localhost:8585/install/index.php` in a browser to launch the installation process.
4. After the successful installation, delete the `install/` directory and its contents.
5. Navigate to `http://localhost:8585/signup/` in a browser to create an administrator account.
6. For cron job setup, insert the following schedule (every 10 minutes) expression with the `crontab -e` command or by editing the `/var/spool/cron/your-web-server` file:

```
*/10 * * * * /usr/bin/php /absolute/path/to/tirreno/index.php /cron
```

## Via Composer and Packagist (optional)

tirreno is published at Packagist and could be installed with Composer:

```
composer create-project tirreno/tirreno
```

or could be pulled into an existing project:

```
composer require tirreno/tirreno
```

## SDKs

* [PHP](https://github.com/tirrenotechnologies/tirreno-php-tracker)
* [Python](https://github.com/tirrenotechnologies/tirreno-python-tracker)
* [NodeJS](https://github.com/tirrenotechnologies/tirreno-nodejs-tracker)
* [WordPress](https://github.com/tirrenotechnologies/tirreno-wordpress-tracker)

## API reference 

`tirreno('…')` is tirreno's built-in API. It gives your own code the same building blocks the console uses: the current request and page, the ingested data, the rule engine, the tirreno('queries') builder, logging, and utilities. Use it to customize tirreno. The examples below show custom sections built with this API.

### LLM bots

* [llm-bots.example.php](https://github.com/tirrenotechnologies/tirreno/blob/master/assets/pages/llm-bots.example.php)
* [llm-bots.example.html](https://github.com/tirrenotechnologies/tirreno/blob/master/assets/pages/views/llm-bots.example.html)

### Risk users

* [risk-users.example.php](https://github.com/tirrenotechnologies/tirreno/blob/master/assets/pages/risk-users.example.php)
* [risk-users.example.html](https://github.com/tirrenotechnologies/tirreno/blob/master/assets/pages/views/risk-users.example.html)

## Documentation

See the [User guide](https://github.com/tirrenotechnologies/OPERATOR.md) for details on how to use tirreno, [Developers documentation](https://github.com/tirrenotechnologies/DEVELOPMENT.md) to customize your integration, [Admin documentation](https://github.com/tirrenotechnologies/ADMIN.md) for installation, maintenance and updates.

## About

[tirreno](https://www.tirreno.com) is a free, open-source framework for in-application security.

We solve real people's challenges through love in *ascétique* code and open technologies. tirreno is not VC-motivated. Our inspiration comes from the daily threats posed by organized cybercriminals, driving us to reimagine the place of security in modern organizations.

## Why the name tirreno?

Tyrrhenian people may have lived in Tuscany and eastern Switzerland as far back as 800 BC. The term "Tyrrhenian" became more commonly associated with the Etruscans, and it is from them that the Tyrrhenian Sea derives its name, which is still in use today.

According to historical sources, Tyrrhenian people were the first to use trumpets for signaling about coming threats, which was later adopted by Greek and Roman military forces.

While working on the logo, we conducted our own historical study and traced mentions of 'tirreno' back to the 15th-century printed edition of the Vulgate (the Latin Bible). We kept it lowercase to stay true to the original — quite literally, by the book. The tirreno wordmark stands behind the horizon line, as a metaphor of the endless evolutionary cycle of the threat landscape and our commitment to rise over it.

## Links

* [Website](https://www.tirreno.com)
* [Live demo](https://play.tirreno.com)
* [Admin documentation](https://github.com/tirrenotechnologies/ADMIN.md)
* [Developers documentation](https://github.com/tirrenotechnologies/DEVELOPMENT.md)
* [Operator guide](https://github.com/tirrenotechnologies/OPERATOR.md)
* [API reference](https://github.com/tirrenotechnologies/API.md)
* [Event schema](https://github.com/tirrenotechnologies/EVENT_SCHEMA.md)
* [Resource center](https://www.tirreno.com/bat/)
* [Docker Hub](https://hub.docker.com/r/tirreno/tirreno)
* [Packagist](https://packagist.org/packages/tirreno/tirreno)
* [Mattermost community](https://chat.tirreno.com)

## Reporting a security issue

If you've found a security-related issue with tirreno, please email security@tirreno.com. Submitting the issue on GitHub exposes the vulnerability to the public, making it easy to exploit. We will publicly disclose the security issue after it has been resolved.

After receiving a report, tirreno will take the following steps:

* Confirm that the report has been received and is being addressed.
* Attempt to reproduce the problem and confirm the vulnerability.
* Release new versions of all the affected packages.
* Announce the problem prominently in the release notes.
* If requested, give credit to the reporter.

## License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License (AGPL) as published by the Free Software Foundation version 3.

The name "tirreno" is a registered trademark of tirreno technologies sàrl, and tirreno technologies sàrl hereby declines to grant a trademark license to "tirreno" pursuant to the GNU Affero General Public License version 3 Section 7(e), without a separate agreement with tirreno technologies sàrl.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see [GNU Affero General Public License v3](https://www.gnu.org/licenses/agpl-3.0.txt).

## Authors

tirreno Copyright (C) 2026 tirreno technologies sàrl, Vaud, Switzerland. (License AGPLv3)

't'
↑