frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Guide AI coding agents on how to use libraries securely

https://github.com/Reware-Labs/securitycards
1•hajipour•51m ago
Hi HN,

TL;DR: AI Code Security Cards give coding agents library- and version-specific guidance to generate safer code.

AI coding agents can generate working code, but they often lack library- and version-specific security knowledge. We've developed AI Code Security Cards, an open-source security knowledge layer, to provide that missing context.

The project is related to my PhD, in which I focused on the security of LLM-generated code. During my research, I studied how code generation models behave, how they introduce security issues, and how we can guide them toward generating safer code.

My research [1] and several other studies [2–4] show that at least 40% of code generated by state-of-the-art models contains one or more security issues. Similar problems also affect AI coding agents.

One reason is that these models often lack sufficient library-specific security knowledge in their context. They may not know which configurations are unsafe, which validation steps are required, or what security-related behavior has changed between library versions.

AI Code Security Cards provide practical, version-specific security guidance for open-source libraries. For example, the Django security cards can guide an AI agent on how to implement authentication and authorization securely.

The easiest way to use the cards is to install the AI skill provided in the repository (And in the integration page: https://securitycards.rewarelabs.com/integration/). You can also download them and add them directly to your AI agent’s rules or instructions.

We’d be glad to hear your feedback, especially on where these cards would be most useful in your workflow, which libraries we should support next, and whether you’ve encountered similar security issues caused by missing context.

Website: https://securitycards.rewarelabs.com/

GitHub Repository: https://github.com/Reware-Labs/securitycards

References

[1] Hajipour, Hossein, et al. “CodeLMSec Benchmark: Systematically Evaluating and Finding Security Vulnerabilities in Black-Box Code Language Models.” 2024 IEEE Conference on Secure and Trustworthy Machine Learning (SaTML), IEEE, 2024, pp. 684–709. https://doi.org/10.1109/SaTML59370.2024.00040.

[2] Pearce, Hammond, et al. “Asleep at the Keyboard? Assessing the Security of GitHub Copilot’s Code Contributions.” Communications of the ACM, vol. 68, no. 2, 2025, pp. 96–105. https://doi.org/10.1145/3610721.

[3] Vero, Mark, et al. “BaxBench: Can LLMs Generate Correct and Secure Backends?” arXiv, 2025, https://doi.org/10.48550/arXiv.2502.11844.

[4] von Arx, Tobias, et al. “AutoBaxBuilder: Bootstrapping Code Security Benchmarking.” arXiv, 2025, https://doi.org/10.48550/arXiv.2512.21132.

Show HN: Real-time argument duello game – AI judge decides who's right

https://wram.chat/
1•kacovvv•48s ago•0 comments

Show HN: G6k-rs – lattice reduction framework for rust CPU,Metal,CUDA

https://github.com/ovasylenko/g6k-rs
1•_alphageek•2m ago•0 comments

Interstellar Travel: The Space Age and Nuclear Rockets

https://www.universetoday.com/articles/interstellar-travel-the-space-age-and-nuclear-rockets
1•rbanffy•2m ago•0 comments

A Terminal-Based Jupyter Notebook That Helps Claude Work Like a Data Scientist

https://www.reddit.com/r/ClaudeCode/comments/1vfcs18/a_terminalbased_jupyter_notebook_that_helps/
1•syumei•3m ago•0 comments

Medical implant teardown: Intermedics Interlith 224 pacemaker

https://www.eevblog.com/forum/projects/medical-implant-teardown-intro-intermedics-interlith-224-p...
1•bdb•4m ago•0 comments

Liechtenstein Hunts Hackers as Data on 31,000 Funds Breached

https://www.bloomberg.com/news/articles/2026-08-04/liechtenstein-hunts-hackers-after-names-on-31-...
1•root-parent•6m ago•0 comments

The UK government still doesn't understand encryption

https://www.applemust.com/the-uk-government-still-doesnt-understand-encryption/
1•speckx•7m ago•0 comments

Merge, Don't Queue

https://inside.basepowercompany.com/p/merge-dont-queue
2•foundval•8m ago•0 comments

The Simple Elegance of the Integrated Timing Belt Loopback Fastener

https://danielmangum.com/posts/integrated-timing-belt-loopback-fastener/
1•hasheddan•8m ago•0 comments

China's CXMT Eyes Second Beijing Fab to Fight Memory Shortage

https://hothardware.com/news/chinas-cxmt-eyes-second-beijing-fab-to-fight-memory-shortage
1•rbanffy•8m ago•0 comments

Don't Play with the Odds (The Birthday Paradox)

https://getsolid.io/blog/birthday-paradox-coding-solid.html
1•htunnicliff•9m ago•0 comments

Enabling the next iteration of the borrow checker on nightly

https://blog.rust-lang.org/2026/08/04/enabling-polonius-alpha-on-nighty/
3•arto•9m ago•0 comments

Apple issues new challenge against UK order for access to private user data

https://www.bbc.co.uk/news/articles/cvg0kk3ek2vo
2•Brajeshwar•9m ago•0 comments

Long before ChatGPT, this programming language only worked if you said "Please"

https://www.howtogeek.com/1970s-programming-language-only-worked-if-you-said-please/
1•bookofjoe•9m ago•0 comments

Don't Scale Yet, Because of AI

https://nloum.github.io/blog/dont-scale-yet-because-of-ai/
1•noworriesnate•10m ago•0 comments

Show HN: OpenEdit – Your coding agent can now edit videos

https://github.com/veedstudio/open-edit
2•sabbakeynejad•11m ago•0 comments

New York awards $9M to protect water systems after cyberattacks in other states

https://gothamist.com/news/new-york-awards-9m-to-protect-water-systems-after-cyberattacks-in-othe...
2•toomuchtodo•12m ago•0 comments

FFmpeg 9.0

https://jbkempf.com/blog/2026/ffmpeg-9.0/
2•enz•13m ago•0 comments

Topological Horizon – Zero-allocation Rust engine for predictive telemetry

https://github.com/aboofx41-sys/topological-horizon
2•aboofx•14m ago•0 comments

Show HN: Simple self-hosted LLM assistant with user-steered compounding context

https://github.com/kol3x/pawmc
1•kol3x•14m ago•0 comments

SpaceX is set to acquire 130k acres of marshland in southern Louisiana

https://arstechnica.com/space/2026/08/spacex-is-set-to-acquire-130000-acres-of-marshland-in-south...
1•rbanffy•14m ago•0 comments

Vale-LLM-slop – prose linting for LLMs

https://github.com/Syntaf/vale-llm-slop
1•Syntaf•15m ago•1 comments

Ask HN: Are you working 996 hours?

1•derwiki•15m ago•5 comments

Tl;Dv (Too Lazy; Didn't Validate): 181,874 Meetings Left Wide Open

https://bobdahacker.com/blog/tldv-hack
1•speckx•15m ago•0 comments

Security Vendor's AI Best Practices Labels Critical Elixir RCE Safe

https://paraxial.io/blog/ai-spam
1•realcorvus•17m ago•0 comments

Lyft and Baidu enter London's robotaxi battleground as testing begins

https://techcrunch.com/2026/07/28/lyft-and-baidu-enter-londons-robotaxi-battleground-as-testing-b...
1•gmays•17m ago•0 comments

Unity: The Internal Deployment Add-On

https://support.unity.com/hc/en-us/articles/51729229938964-Introducing-the-Internal-Deployment-Ad...
2•jbk•19m ago•0 comments

Bibliograph: A Prototypical AppView for Books – Share Your Project – Atmosphere

1•_djo_•19m ago•0 comments

Live PHA Asteroid Orbital Refinement Tool Makes Science Accessible

https://www.astrophyzix.org/p/astrophyzix-orbital-viewer.html
2•SpacenewsUK•21m ago•0 comments

I used to add links by hand

https://brandur.org/fragments/links-by-hand
1•surprisetalk•21m ago•0 comments