Zum Hauptinhalt springen
LIVE
CVSS 6.9CVE-2026-138105 | A vulnerability has been found in ssssssss-team magic-api 2.2.2. The affected element is an unknown function of the file /magic/web/datasource/jdbc/test of the component Datasource JDBC Test Endpoint. Such manipulation of the argument driverClassName leads to code injection. The attack can be launched remotely. The exploit has been disclosed to the public and may be used. The project was informed of the problem early through an issue report but has not respoCVSS 6.9CVE-2026-138104 | A flaw has been found in ssssssss-team magic-api up to 2.2.2. Impacted is the function push of the file magic-api/src/main/java/org/ssssssss/magicapi/core/web/MagicWorkbenchController.java of the component Workbench Push Interface. This manipulation of the argument magic-push-target causes server-side request forgery. The attack can be initiated remotely. The exploit has been published and may be used. The project was informed of the problem early through anCVSS 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.
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
14 Quellen
I found the most capable PC under $300 for Cyber Monday — Origimagic's C7 Windows 11 Pro machine packs dual Thunderbolt 4, 2.5Gb LAN, a Core 3 100U, 16GB of RAM, and a 512GB SSD
Latest from TechRadar vor 29 Min.
13 weitere Quellen
OS X Dailyvor 27 Min.Cyber Monday Deals: $300 Off 16″ PROLED MacBook Pro, $100 Off AirPods Pro 3, $100 Off iPad Air, & More Latest from TechRadarvor 49 Min.Cyber Monday home office deals 2026 live — our top workspace picks from FlexiSpot, Dell, Anker, Logitech and more as Black Friday sale rolls on Latest from TechRadarvor 47 Min.The best Cyber Monday deals in the UK in 2026: top picks from Amazon, Argos, Ninja, Lego and more Latest from TechRadarvor 57 Min.Cyber Monday Australia laptop deals for 2026: score up to 52% off Lenovo, Apple, Dell, HP and more Latest from TechRadarvor 1 Std.Amazon Australia Cyber Monday deals CNETvor 1 Std.This Pocket Battery Recharges Your Phone 4 Times, and it’s Only $38 for Cyber Monday Latest from TechRadarvor 2 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 1 Std.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 1 Std.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 2 Std.Cyber Monday Meta Quest 3S Deal Knocks $53 Off and Gets You $50 Free Amazon Credit The Vergevor 3 Std.These early Cyber Monday gaming laptop deals offer the most GPU for the least money Latest from TechRadarvor 4 Std.Grab a TP-Link dual-band Wi-Fi 6 router with 1.5Gbps for $44 this Cyber Monday
13 Quellen
Linux Overhauls Documentation For Reporting Kernel Security Bugs
Phoronix vor 48 Min.
12 weitere Quellen
DEV Communityvor 2 Std.ForgeOS Booted on a Real Server: Linux Kernel Below, Only Our Own Code Above 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 3 Std.Linux AutoFDO Benchmark: Clang Kernel Optimization VulDB Updatesvor 4 Std.CVE-2022-31607 | NVIDIA GPU Display Driver on Linux Kernel Mode Layer nvidia.ko input validation (EUVD-2022-53059 / Nessus ID 339047)
13 Quellen
CVE-2026-135533 | Mozilla Firefox up to 115.45/153.7/160 Layout Tables off-by-one (Nessus ID 388625)
VulDB Updates vor 1 Std.
12 weitere Quellen
Ä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