---
title: "雷N (@nathanrayn) | Hashnode"
description: "雷N (@nathanrayn) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@nathanrayn"
---

@nathanrayn

# 雷N

@nathanrayn · Taipei, Taiwan · Joined March 2023

### [微服務安全：從 API Gateway 到微服務間的授權防禦體系](https://ganhua.wang/api-gateway?utm_source=hashnode&utm_medium=feed)

通過 API 閘道的 Token 驗證就代表安全嗎？本文透過流程圖解析常見的 BOLA（失效的物件層級授權）漏洞成因，說明閘道層粗粒度認證與微服務層細粒度授權的關鍵差異，以及如何在後端落實物件擁有權檢核以避免敏感資料外洩。

9 min read · [ganhua.wang](https://ganhua.wang/api-gateway?utm_source=hashnode&utm_medium=feed)

[5d ago](https://hashnode.com/posts/api-gateway/6aeecea564f625cb24ed8260)

### [OTel 邁向全面穩定的里程碑](https://ganhua.wang/otel?utm_source=hashnode&utm_medium=feed)

OpenTelemetry 邁入 1.0 穩定世代！本文解析 0.x 與 1.x 雙軌版本號機制、CVE 漏洞三步判讀法與最新資安版本政策，並提供 OTTL v1 Lambda 實戰範例與 OCB 升級避坑指南，助團隊打造安全可觀測性架構。

6 min read · [ganhua.wang](https://ganhua.wang/otel?utm_source=hashnode&utm_medium=feed)

[Nov 1](https://hashnode.com/posts/otel/6ae6e872f580ea379aa3e3d2)

### [AI 時代下的系統可理解性問題](https://ganhua.wang/ai-comprehension-problem?utm_source=hashnode&utm_medium=feed)

GAI 的時代下，近一年很流行 Vibe-coding，幾乎人人都在草率地使用 Vibe-coding 一詞來指一系列的軟體工程實踐。它指的是一種開發者不親自手打 coding，而是僅透過自然語言向 AI 描述需求（給出「方向」或「感覺」），完全放手讓 AI 代理去自動生成、拼湊出整個應用程式的開發風格。 然而，在專業的軟體工程領域，這股看似美好的「Vibe」背後，隱藏著極高的安全隱患與系統崩潰危

3 min read · [ganhua.wang](https://ganhua.wang/ai-comprehension-problem?utm_source=hashnode&utm_medium=feed)

[Aug 24](https://hashnode.com/posts/ai-comprehension-problem/6a8c7ab886ea666fde6aae13)

### [Get Your Hands Dirty on Clean Architecture CH5 Use Case](https://ganhua.wang/get-your-hands-dirty-on-clean-architecture-ch5-use-case?utm_source=hashnode&utm_medium=feed)

深入探討《Get Your Hands Dirty on Clean Architecture》第五章：Use Case 實作。解析輸入模型、業務規則驗證與領域模型編排，教你如何建構高維護性、低耦合的軟體架構，從設計邊界提升系統可預測性。

4 min read · [ganhua.wang](https://ganhua.wang/get-your-hands-dirty-on-clean-architecture-ch5-use-case?utm_source=hashnode&utm_medium=feed)

[Jul 2](https://hashnode.com/posts/get-your-hands-dirty-on-clean-architecture-ch5-use-case/6a45f348718aa9afabe5e3fe)

### [別再盲信 Prompt Engineering：為 AI Agent 建立低成本的糾錯系統](https://ganhua.wang/prompt-engineering-ai-agent?utm_source=hashnode&utm_medium=feed)

我們的 AIOps agent 有個很具體的問題：它會捏造 trace ID。 當 on-call 工程師問「payment service 有沒有 error trace？」，agent 有時會信心滿滿地回答「是的，見 trace a1b2c3d4...」——但這串 ID 根本不存在 Tempo 裡。工程師點進去，404。壞的不只是使用者體驗，而是這讓整個 RCA 結論失去可信度。 另一個問題是

7 min read · [ganhua.wang](https://ganhua.wang/prompt-engineering-ai-agent?utm_source=hashnode&utm_medium=feed)

[Jun 26](https://hashnode.com/posts/prompt-engineering-ai-agent/6a3eb185449c3cc61cf25e5d)
