The Dataset Viewer has been disabled on this dataset.

Frame knowledge base

Framework packs for the Frame security scanner. Data only (TOML/JSON), fetched and verified by frame kb pull.

A pack teaches Frame a framework: where untrusted input enters, which calls are dangerous sinks, and which calls sanitize. Frame ships with packs built in. This dataset carries newer packs between Frame releases, so a scan can recognize a framework without upgrading Frame.

Use

pip install "frame-security[scan]"
frame kb pull --lock          # packs for this project's languages, pinned in .frame/kb.lock
frame kb status               # which revision a scan here would use
FRAME_KB=off frame scan .     # built-in packs only

frame kb pull checks every file against the SHA-256 in manifest.json before caching it. Scans read the cache and never go to the network.

Layout

manifest.json                   revision id, and every file's sha256, size, language and kind
packs/<language>/<name>.toml    one pack per framework or library

Languages: C, C++, C#, Java, JavaScript/TypeScript and Python.

Revisions

Each publish is a commit on main plus a tag named <YYYY.MM.DD>-<short sha>, the same id that manifest.json records. Pin one with frame kb pull --revision <id>, or let --lock write it to .frame/kb.lock. Frame fetches https://huggingface.co/datasets/lambdasec/frame-kb/resolve/<revision>/<path>, where the revision is a branch, tag or commit.

Packs are reviewed in a separate source repository with a vulnerable/safe test app for each one, and published here automatically. Nothing in this dataset is executable.

For air-gapped CI, mirror a revision to a directory or internal HTTPS server and use frame kb pull --source <dir or url>.

License

The dataset as a whole is licensed under CC-BY-4.0. The packs themselves are Apache-2.0, the same license as Frame.

Downloads last month
168