技能 aozora
📦

aozora

内容修订 r1 低风险 🌐 网络访问📁 文件系统访问⚙️ 外部命令

Search Aozora Bunko and Extract Literary Text

Finding Japanese literary texts requires navigating catalog records and inconsistent page encodings. This skill searches the official catalog and extracts readable text from linked works.

支持: Claude Codex Code(CC)
📊 73 合格

使用我的智能体安装

将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。

智能体请求
Review the Skillstore skill "aozora" from https://skillstore.io/skills/tahodev-aozora.md and its manifest at https://skillstore.io/api/skills/tahodev-aozora/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.

你的智能体仍应展示其计划,并按安全策略请求必要确认。

Agent 可读资源

当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。

测试它

正在使用“aozora”。 Find 吾輩は猫である and show its catalog metadata.

预期结果:

  • Illustrative fixture result: 吾輩は猫である, work ID 000789.
  • Author: 夏目 漱石. Kana reading: わがはいはねこである.
  • Orthography: modern characters and modern kana. Catalog copyright flag: none.
  • First publication: Hototogisu, January 1905.
  • Card: https://www.aozora.gr.jp/cards/000148/card789.html

正在使用“aozora”。 Show the available reading and download links for work 000789.

预期结果:

  • Illustrative fixture result: 吾輩は猫である by 夏目 漱石.
  • XHTML text: https://www.aozora.gr.jp/cards/000148/files/789_14547.html
  • Ruby text ZIP: https://www.aozora.gr.jp/cards/000148/files/789_ruby_5639.zip
  • Ebook: https://www.aozora.gr.jp/cards/000148/files/789.ebk

安全审计

低风险
v1 • 2026/10/13 打开版本化报告

Most alerts are harmless Markdown, Japanese text, fixture references, or scoped cache maintenance. Confirmed risks involve unchecked fetch destinations, redirects, and unbounded download or ZIP expansion sizes. No evidence found of prompt injection or credential exfiltration, but the advertised public-domain scope is not enforced.

5
已扫描文件
494
分析行数
7
复核项
0
已忽略误报

已确认安全问题 (1)

低
Public-domain scope is not enforced
The description presents copyright-expired works, but searches include copyright-flagged entries. Text retrieval lacks a copyright check and omits copyright status, potentially misleading users about reuse.
The documentation acknowledges copyrighted entries, while retrieval performs no rights check. Search reports flags but does not filter them; no actual infringement is established.
能力复核项 (7)

这些是真实的本地能力,对此技能可能是预期行为,因此需要复核,但不会按已确认恶意行为计分。

中
Fetch API call
def fetch(url, timeout=60):
The fetch helper accepts arbitrary URLs without scheme or host validation. Catalog-controlled URLs can therefore trigger requests outside the intended Aozora service.
中
Fetch API call
zf = zipfile.ZipFile(io.BytesIO(fetch(CSV_URL)))
The catalog ZIP download reads the entire response into memory without a byte limit. An oversized upstream response can exhaust process memory.
中
Fetch API call
links = parse_card_links(fetch(wr[0]["図書カードURL"]).decode("utf-8", errors="replace"))
The card URL from the catalog is fetched even when card_url_to_base rejects it. An untrusted CSV can direct requests to internal services.
中
Fetch API call
raw = fetch(out["text_url"])
The text URL initially uses the Aozora base, but fetch follows redirects without checking destinations. Redirects can reach unintended hosts or internal services.
中
Python HTTP libraries
req = urllib.request.Request(url, headers=UA)
Request receives an unchecked URL from fetch, including catalog-provided values. Without validation, this request construction supports unintended network destinations.
中
Python HTTP libraries
with urllib.request.urlopen(req, timeout=timeout) as r:
urlopen permits unchecked destinations and follows redirects, then r.read loads all response bytes. This enables unintended requests and memory exhaustion.
中
Python archive libraries
zf = zipfile.ZipFile(io.BytesIO(fetch(CSV_URL)))
The downloaded ZIP is decompressed through zf.read without entry-size or compression-ratio checks. A highly compressed entry can exhaust memory or disk space.
审计者: codex
分享与引用此报告

分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。

打开版本化报告
安全评估

复制报告链接

https://skillstore.io/skills/tahodev-aozora/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report

Markdown 徽章

[![Skillstore security assessment](https://skillstore.io/badges/skills/tahodev-aozora/security.svg)](https://skillstore.io/skills/tahodev-aozora?utm_source=security_passport_badge)

HTML 徽章

<a href="https://skillstore.io/skills/tahodev-aozora?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/tahodev-aozora/security.svg" alt="Skillstore security assessment" loading="lazy"></a>

嵌入卡片

<iframe src="https://skillstore.io/embed/skills/tahodev-aozora.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>
学术引用 (APA · BibTeX · CFF)

APA 引用

tahodev. (2026). aozora security audit report (audit version 1) [Author version unspecified]. Skillstore. https://skillstore.io/skills/tahodev-aozora/audits/1

BibTeX 引用

@techreport{tahodev-tahodev-aozora-2026, author = {tahodev}, title = {aozora security audit report (audit version 1)}, institution = {Skillstore}, year = {2026}, number = {1}, url = {https://skillstore.io/skills/tahodev-aozora/audits/1}, note = {Author version unspecified} }

CITATION.cff

cff-version: 1.2.0 message: "If you use this Skill, cite its author and this versioned security audit report." title: "aozora security audit report (audit version 1)" version: "unspecified" type: report authors: - name: "tahodev" date-released: "2026-10-13" url: "https://skillstore.io/skills/tahodev-aozora/audits/1" identifiers: - type: other value: "skillstore:tahodev-aozora:audit:1" description: "Skillstore immutable audit report identifier"

Skillstore 评分

评分依据 证据置信度: 中
55
架构
85
可维护性
87
内容
65
社区
83
规范符合性

你能构建什么

Locate Literary Reading Material

Find works by title or author and inspect readings, orthography, copyright flags, and links before choosing classroom material.

Inspect Catalog Records

Retrieve work identifiers, publication details, and contributor roles from official catalog records and linked cards.

Prepare Text Samples

Extract bounded plain-text samples without ruby readings from selected works after checking rights and source provenance.

试试这些提示

Find a Title
Search Aozora Bunko for 吾輩は猫である. Show the work ID, author, kana reading, copyright flag, and card URL.
List an Author's Works
Find up to ten works by 夏目漱石. Show titles, work IDs, orthography, and copyright flags, then report the total matching works.
Retrieve a Text Excerpt
Check copyright status for work 000789, resolve its card links, and retrieve the first 500 plain-text characters without ruby readings.
Inspect a Local Catalog
Use my trusted local Aozora CSV without network access. Report row, work, person, and copyright-flagged counts; explain duplicate contributor rows.

最佳实践

  • Check each work's copyright flag and applicable permissions before reusing or distributing text.
  • Use trusted catalog data and restrict network destinations when running the helper.
  • Use exact stored names, preserve six-digit work IDs, and choose character limits for manageable excerpts.

避免

  • Treating every catalog entry as public domain or assuming online access grants unrestricted reuse.
  • Guessing text URLs from work IDs instead of reading the book-card links.
  • Using catalog row counts as work counts or treating snapshot statistics as current live totals.

常见问题

Does this skill require an API key or account?
No. It reads the public Aozora catalog and linked pages without authentication. The helper uses Python standard-library modules.
Can I use it with Claude, Codex, and Claude Code?
The skill declares support for all three. Running the helper requires Python 3, filesystem access, and network access for remote retrieval.
Are all returned works public domain?
No. The catalog includes copyright-flagged works, and the helper does not filter them automatically. Check rights before reuse.
Can I search without network access?
Yes. Supply a trusted local catalog CSV for title searches, author searches, or statistics. Card resolution and remote text retrieval still require network access.
Why can a title or author search miss a work?
Searches use stored spelling and exact concatenated author names. Historical characters, spaces, or an outdated catalog can affect matches.
Does this find current book stock or library holdings?
No. It covers Aozora literary records and available texts, not retail inventory, exhaustive bibliography, or library holdings.

开发者详情

作者

tahodev

许可证

MIT

Skillstore 修订

r1

版本提示

作者未声明版本。

引用

7f17813fb6af1acc7d8fd3fb5f05480f5be52783

维护新鲜度

2026/10/13

使用量

0 次下载 · 0 次浏览

tahodev 的更多技能

查看全部
查看全部