AppSec Core: An Ontology for Security-by-Design Software Engineering
Pedro Farinha
Key points
From the paper's conclusion- We built it from a security-by-design manual written from practice, and then checked it against 31 outside sources, ten of them about AI systems and agents.
Abstract
When engineers or coding agents change an application, a dependency, a configuration or a build pipeline, they need to know three things: which security rules apply, how to meet them, and what evidence to leave. Today the answers are spread over many standards, frameworks, laws and lists of weaknesses, and each one uses its own words and level of detail. This paper presents AppSec Core, a model of the security work that engineers do. It says what must be true, which practices get there, which mechanisms do the job and which artefacts show that it was done. It has 259 elements in ten domains. We built it from a security-by-design manual written from practice, and then checked it against 31 outside sources, ten of them about AI systems and agents. Along the way we made three changes, which added five objectives and made one domain wider. We did not need a new domain. Most objectives are backed by several sources: the typical objective is used by six of the twenty technical sources, and 194 of the 202 objectives, practices and mechanisms are linked to items in the sources. For the domain of a change, the model gives back a closed set of typed elements, and for a source, it gives back the objectives that the source points to. We keep the model apart from the manual, the selection rules and the server that delivers the result, and we follow one change, adding a third-party package, through all four. When a code generator received the requirements, the share of security tests passed on a public benchmark went from 77.4% to 93.0%. On a second benchmark, the result was close to that of the benchmark's own "oracle" prompt, which is written with the tests in mind.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- What Must Be Done Here? Using a Bounded Application-Security Ontology at the Point of ChangearXiv · 2026
- Applying Security by Design at the Point of Execution: How Governed Security Requirements Affect the Security of AI-Generated CodearXiv · 2026
- LLMs in DevSecOps: A Systematic Mapping of Models, Evidence, and Research Gaps Across the Software LifecyclearXiv · 2026
- From Instructions to Exploits: Applying Program Analysis to Malicious Agent Skills Across Natural Language and CodearXiv · 2026
- Beyond Predefined Sinks: Security-Aware Dependency Analysis for LLM AgentsarXiv · 2026
- A Hybrid Approach for Automated Security Pattern RecoveryarXiv · 2026