Zum Hauptinhalt springen
LIVE
CVSS 6.9CVE-2026-138103 | A vulnerability was detected in ssssssss-team magic-api up to 2.2.2. This issue affects the function saveFile of the file MagicResourceController.java of the component magic-api-core resource save API. The manipulation results in code injection. It is possible to launch the attack remotely. The exploit is now public and may be used. The project was informed of the problem early through an issue report but has not responded yet.CVSS 9.4CVE-2026-138102 | A security vulnerability has been detected in D-Link DIR-620S 4.0.2. This vulnerability affects unknown code of the file /usr/sbin/anweb of the component Diagnostic Handler. The manipulation of the argument I leads to os command injection. It is possible to initiate the attack remotely. The exploit has been disclosed publicly and may be used.CVSS 5.3CVE-2026-138101 | A weakness has been identified in MassGen up to 0.1.97. This affects the function _generate_subagent_yaml_config of the file massgen/subagent/manager.py of the component Subagent Delegation System. Executing a manipulation can lead to improper authorization. The attack may be performed from remote. The exploit has been made available to the public and could be used for attacks. The project was informed of the problem early through an issue report but has notCVSS 6.9CVE-2026-138100 | A security flaw has been discovered in MassGen up to 0.1.97. Affected by this issue is the function __init__ of the file massgen/filesystem_manager/_filesystem_manager.py. Performing a manipulation results in protection mechanism failure. The attack is possible to be carried out remotely. The exploit has been released to the public and may be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.CVSS 8.7CVE-2026-138099 | A vulnerability was identified in Tenda AC10U 1.18.6. Affected by this vulnerability is the function readUsb of the component ATE Service. Such manipulation leads to out-of-bounds write. The attack can be executed remotely. The exploit is publicly available and might be used.CVSS 6.9CVE-2026-138098 | A vulnerability was determined in weison-tech yii2-cms up to 1.0.2. Affected is an unknown function of the file protected/core/config/common.php of the component RBAC Authorization. This manipulation causes improper authorization. Remote exploitation of the attack is possible.CVSS 6.9CVE-2026-138097 | A vulnerability was found in weison-tech yii2-cms up to 1.0.2. This impacts the function isActive of the file AccessControl.php of the component RBAC Admin Module. The manipulation results in missing authorization. The attack may be launched remotely.CVSS 6.9CVE-2026-138096 | A vulnerability has been found in weison-tech yii2-cms up to 1.0.2. This affects an unknown function of the file protected/core/config/web.php of the component Admin Auto-Login Identity Cookie. The manipulation leads to improper authentication. The attack may be initiated remotely.
Alle im Drawer
Intelligence View
⚡ tsecurity.de Intelligence

I built a tiny PHP framework for AI-readable business APIs

I have been building a small PHP framework called NENE2. It is not a Laravel replacement. It is not a full-stack framework. It is not trying to hide everything…

Beitrag
0
Seite
0
↗ Quelle (dev.to)
Cloud & Tech-Stack · 5 Min. Lesezeit
Quelle: dev.to
Rubrik: Sichere Programmierung

I have been building a small PHP framework called NENE2.



It is not a Laravel replacement.

It is not a full-stack framework.

It is not trying to hide everything behind magic.



NENE2 is a tiny, API-first PHP foundation for building AI-readable business APIs: small services with explicit HTTP boundaries, OpenAPI contracts, Problem Details errors, and optional MCP tool catalogs for AI agents.



Repository: hideyukiMORI/NENE2





Why build another PHP framework?



Most business software does not start as a beautiful greenfield platform.



It starts as a request like:




  • "Can we expose this workflow as an API?"

  • "Can an internal tool call this safely?"

  • "Can an AI agent look up the status without touching the database?"

  • "Can we keep this small enough that a team can actually understand it?"



Large frameworks are great when you need their ecosystem.



But for small business APIs, I often want something quieter:




  • explicit routes

  • small handlers

  • use cases that do not know about HTTP

  • repository interfaces

  • OpenAPI as the public contract

  • predictable error responses

  • tests that prove the behavior

  • a clean boundary for AI / MCP tools



That is the design space where NENE2 lives.





The core idea: API first, AI readable



NENE2 assumes that the API is the primary surface.



Server-rendered HTML can exist, and a React frontend starter can exist, but the backend should not become frontend build glue. The stable contract is the HTTP API.



The framework is organized around:





  • PSR-7 / PSR-15 / PSR-17 HTTP runtime direction

  • explicit routing and middleware


  • OpenAPI 3.1 contract documentation


  • RFC 9457 Problem Details for errors

  • typed configuration objects

  • PSR-11 dependency injection

  • PDO database adapters and transaction boundaries

  • optional React + TypeScript frontend starter

  • local MCP server support behind the same API boundary



The goal is not to make the code clever.



The goal is to make the code easy to inspect by a human developer, a reviewer, or an AI coding agent.





A boring architecture on purpose



The reference domain example follows a simple flow:




HTTP Handler
-> Use Case
-> Repository Interface
-> PDO Adapter






For example, the Note CRUD reference implementation includes:




  • route + handler classes

  • use case classes

  • readonly input/output DTOs

  • repository interface

  • PDO repository

  • exception-to-Problem-Details mapping

  • OpenAPI paths and schemas

  • unit, HTTP, and PDO integration tests



This is intentionally boring.



I want application behavior to be visible in the file tree instead of being implied by framework convention.






OpenAPI is the handoff document



For NENE2, OpenAPI is not an afterthought.



The repository ships an OpenAPI 3.1 document, Swagger UI, and runtime contract tests for example endpoints.



Locally, after starting the app:




docker compose up -d app






Useful URLs include:




http://localhost:8200/health
http://localhost:8200/examples/ping
http://localhost:8200/openapi.php
http://localhost:8200/docs/






This matters because the OpenAPI file is also the bridge to other tools:




  • generated clients

  • contract tests

  • documentation

  • MCP tool catalogs

  • AI-assisted development workflows



The API contract is the shared language.






MCP should not mean "let AI touch the database"



One of the ideas behind NENE2 is that AI agents should operate through documented API boundaries.



I do not want an agent to directly query or mutate production tables.



Instead:




AI Agent
-> MCP Tool
-> documented HTTP API
-> application use case
-> repository / transaction boundary






NENE2 includes local MCP server support and guidance for mapping tools to OpenAPI-backed operations.



Read tools can inspect state.

Write tools require explicit authentication.

The application still owns validation, authorization, logging, and error handling.



That boundary is the important part.





Field-tested through real apps



NENE2 is not only a framework repository.



I have been using it as the foundation for a family of self-hosted business OSS projects, including:





  • NeNe Invoice — quote and invoice management for Japan qualified invoices


  • NeNe Vault — received-document archive for electronic record retention


  • NeNe Records — typed headless CMS / flexible entity platform


  • NeNe Deal — lightweight B2B deal pipeline


  • NeNe Contact — embeddable contact forms


  • nene-mcp — stdio MCP bridge for OpenAPI-backed HTTP APIs


  • nene2-python — Python reference implementation of the same philosophy


  • nene2-js / nene2-node — TypeScript ecosystem pieces



Some of these products are Japan-specific.

That is fine.



The point is that the framework is tested against real business shapes:




  • authentication

  • multi-tenancy

  • OpenAPI

  • admin UIs

  • Docker local stacks

  • database migrations

  • exports

  • audit logs

  • MCP catalogs

  • AI-readable documentation



Framework design gets better when it is forced through real applications.





What NENE2 is not



NENE2 is deliberately small.



It is not:




  • a Laravel or Symfony replacement

  • a no-code platform

  • an ORM-first framework

  • a CMS

  • a frontend framework

  • an AI agent runtime



It is a small foundation for teams or solo developers who want explicit PHP APIs and documented handoff points.





Quick start



Clone the repository:




git clone https://github.com/hideyukiMORI/NENE2.git
cd NENE2
cp .env.example .env
docker compose build
docker compose run --rm app composer install
docker compose run --rm app composer check
docker compose up -d app






Or install it as a Composer dependency:




composer require hideyukimori/nene2






NENE2 targets PHP 8.4+ and uses Docker as the standard development runtime.






Why "AI-readable" matters



AI-assisted development is not only about generating code.



It is also about whether the system is readable enough for an agent to help safely:




  • Can it find the route?

  • Can it understand the request and response shape?

  • Can it see the use case?

  • Can it run the focused tests?

  • Can it avoid bypassing validation?

  • Can it call a documented tool instead of guessing a database query?



NENE2 tries to make those answers obvious.



Not by adding more magic.



By removing ambiguity.







I am still refining the framework and the surrounding NeNe OSS series.



If you are interested in API-first PHP, OpenAPI, MCP, or AI-readable business software, feedback is very welcome.

Information ergänzen Fachhinweis, Update, Korrektur oder Quelle zur Meldung beitragen
Gäste-Hinweise werden kurz redaktionell geprüft und danach hier angezeigt.

Community-Hinweise zur Meldung

0 freigegeben
Social ReaktionenReagiere als Erste:r — dein Feedback zählt!
Informations-Bewertung:

💬 Community-Diskussion & Kommentare

🌐 Zum Hauptchat

Starte die Diskussion im Social-Chat Broadcast Stream oder reiche oben über „Information ergänzen“ einen Fachbeitrag ein.

Community Rating & Social Proof
⭐ Leser-Wertung
–
Ø / 5.0
Noch keine Leser-Bewertungen
War dieser Artikel hilfreich?
0
Jetzt Bewertung abgeben
Detail-Bewertung (optional)
Inhalt & Qualität
Quelle & Glaubwürdigkeit
Aktualität
Security Briefing Kostenlos · 1-Klick-Abmeldung

Intelligence Digest — kostenlos

Täglich die wichtigsten Security-News · jederzeit abbestellbar

Verwandte Story-Cluster & Quellen (Vektor-KI)

6 Cluster
26 Quellen
ForgeOS Booted on a Real Server: Linux Kernel Below, Only Our Own Code Above
DEV Community vor 1 Std.
25 weitere Quellen
VulDB Updatesvor 2 Std.CVE-2026-72239 | Linux Kernel sev x86/virt/sev/sev.c wbinvd_on_all_cpus state issue (WID-SEC-2026-2852) VulDB Updatesvor 2 Std.CVE-2026-72240 | Linux Kernel up to 7.1.4 mfd sm501_register_device memory leak (WID-SEC-2026-2852) VulDB Updatesvor 2 Std.CVE-2026-72241 | Linux Kernel up to 7.1.4 uleds strchr buffer overflow (WID-SEC-2026-2852) VulDB Updatesvor 2 Std.CVE-2026-72244 | Linux Kernel up to 6.12.100/6.18.41/7.1.4/7.2-rc2 gpu-buddy allocation of resources (WID-SEC-2026-2852) VulDB Updatesvor 2 Std.CVE-2026-72243 | Linux Kernel up to 7.2-rc2 selinux socket_sendmsg permission (Nessus ID 364200 / WID-SEC-2026-2852) VulDB Updatesvor 2 Std.CVE-2026-72245 | Linux Kernel up to 7.1.4 host1x host1x_device_parse_dt release of resource (WID-SEC-2026-2852) VulDB Updatesvor 2 Std.CVE-2026-72246 | Linux Kernel flowtable input validation (WID-SEC-2026-2852) VulDB Updatesvor 2 Std.CVE-2026-72247 | Linux Kernel up to 7.2-rc3 nf_conncount __nf_conncount_add dir comparison (WID-SEC-2026-2852) VulDB Updatesvor 2 Std.CVE-2026-72248 | Linux Kernel up to 7.1.4/7.2-rc2 flowtable nft_flow_dst_release buffer overflow (WID-SEC-2026-2852) LinuxAndUbuntuvor 2 Std.Linux AutoFDO Benchmark: Clang Kernel Optimization FOSS Linuxvor 2 Std.NFS2ROOT: Pre-Auth Flaw in the Linux NFS Server VulDB Updatesvor 3 Std.CVE-2022-31607 | NVIDIA GPU Display Driver on Linux Kernel Mode Layer nvidia.ko input validation (EUVD-2022-53059 / Nessus ID 339047) VulDB Updatesvor 4 Std.CVE-2026-72227 | Linux Kernel up to 6.12.96/6.18.39/7.1.4/7.2-rc2 batman-adv out-of-bounds (WID-SEC-2026-2852) VulDB Updatesvor 4 Std.CVE-2026-72228 | Linux Kernel up to 7.2-rc2 batman-adv skb_split memory leak (WID-SEC-2026-2852) VulDB Updatesvor 4 Std.CVE-2026-72229 | Linux Kernel up to 7.2-rc2 batman-adv register_netdevice memory leak (WID-SEC-2026-2852) VulDB Updatesvor 4 Std.CVE-2026-72231 | Linux Kernel up to 7.2-rc2 batman-adv batadv_send_tt_request allocation of resources (WID-SEC-2026-2852) VulDB Updatesvor 4 Std.CVE-2026-72230 | Linux Kernel up to 7.2-rc2 batman-adv batadv_frag_send_packet memory leak (WID-SEC-2026-2852) VulDB Updatesvor 4 Std.CVE-2026-72232 | Linux Kernel up to 7.2-rc2 batman-adv batadv_interface_tx out-of-bounds (WID-SEC-2026-2852) VulDB Updatesvor 4 Std.CVE-2026-72234 | Linux Kernel up to 7.2-rc1 batman-adv batadv_get_vid use after free (WID-SEC-2026-2852) VulDB Updatesvor 4 Std.CVE-2026-72233 | Linux Kernel up to 7.2-rc1 batman-adv batadv_bla_is_backbone_gw use after free (WID-SEC-2026-2852) VulDB Updatesvor 4 Std.CVE-2026-72236 | Linux Kernel up to 7.2-rc3 s390/perf_cpum_cf __hw_perf_event_init config array index (WID-SEC-2026-2852) VulDB Updatesvor 4 Std.CVE-2026-72235 | Linux Kernel up to 7.2-rc1 batman-adv batadv_interface_rx use after free (WID-SEC-2026-2852) VulDB Updatesvor 4 Std.CVE-2026-72237 | Linux Kernel up to 7.2-rc2 BRS /x86/amd/brs amd_brs_match_plm information disclosure (WID-SEC-2026-2852) VulDB Updatesvor 4 Std.CVE-2026-72238 | Linux Kernel up to 7.2-rc3 x86 boot early_serial_init integer overflow (WID-SEC-2026-2852) DEV Communityvor 3 Std.Is that GPTBot real? How to verify Googlebot, Bingbot and AI crawlers in your server logs
14 Quellen
Amazon Australia Cyber Monday deals
Latest from TechRadar vor 30 Min.
13 weitere Quellen
CNETvor 39 Min.This Pocket Battery Recharges Your Phone 4 Times, and it’s Only $38 for Cyber Monday Latest from TechRadarvor 1 Std.Firebat's M1 is a cracking Ryzen AI 9 HX 470 mini PC for AI workloads — and it's packing OCuLink, 32GB of RAM, and a 1TB SSD for $1020 this Cyber Monday Latest from TechRadarvor 57 Min.The Lenovo IdeaCentre Tower Copilot+ PC with Core Ultra 7 CPU isn't discounted for Cyber Monday — and it's still the desktop computer I'd buy for work for $1049 The Vergevor 56 Min.Qobuz is my streaming service of choice and it’s on sale during Cyber Monday CNETvor 12 TagenThis Paramount Plus Cyber Monday Deal Gets You Ad-Free Viewing for Only $3 Per Month CNETvor 1 Std.Cyber Monday Meta Quest 3S Deal Knocks $53 Off and Gets You $50 Free Amazon Credit WIREDvor 4 Std.The 31+ Very Best Amazon Black Friday Deals (2026): Up to 50% Off The Vergevor 2 Std.These early Cyber Monday gaming laptop deals offer the most GPU for the least money Latest from TechRadarvor 3 Std.Grab a TP-Link dual-band Wi-Fi 6 router with 1.5Gbps for $44 this Cyber Monday CNETvor 3 Std.Upgrade Your Emergency Preparedness Kit With Black Friday and Cyber Monday Deals on Power Stations, Flashlights, Solar and More AppleInsider Newsvor 4 Std.AirPods Max 2 plunge to best $399 price with $150 Cyber Monday discount Latest from TechRadarvor 4 Std.I test Apple TV VPNs for a living — here are the 3 VPNs worth your money for Black Friday and Cyber Monday WIREDvor 4 Std.Cyber Monday Deals, Curated Live By Our Experts (2026)
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten I built a tiny PHP framework for AI-readable business APIs

Thematisch verwandte Begriffe: built, tiny, framework, AIreadable · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

💬 Kommentare werden geladen…
Zum Aktualisieren ziehen
Widgets & Themen
Widgets werden geladen…
Nächster Beitrag