Home/Compare/LLMs-Finetuning-Safety vs virtual-prompt-injection

Comparison

LLMs-Finetuning-Safety vs virtual-prompt-injection

Verdict

Pick LLMs-Finetuning-Safety if lLMs-Finetuning-Safety demonstrates the safety risks associated with fine-tuning GPT-3.5 Turbo using few adversarially designed examples; pick virtual-prompt-injection if virtual Prompt Injection provides an unofficial implementation for backdooring instruction-tuned LLMs with virtual prompt injection, offering tools for data poisoning and evaluation specific to this technique.

Markdown twin · LLMs-Finetuning-Safety alternatives · virtual-prompt-injection alternatives

GraphCanon updated Oct 5, 2026

9views this month

LLMs-Finetuning-Safety logo

LLMs-Finetuning-Safety

LLM-Tuning-Safety/LLMs-Finetuning-Safety

★ 359pushed Feb 23, 2024
vs
virtual-prompt-injection logo

virtual-prompt-injection

wegodev2/virtual-prompt-injection

★ 27pushed Jul 6, 2024

Trust & integrity

SignalLLMs-Finetuning-Safetyvirtual-prompt-injection
Maintenance
Dormant (954d since push)
As of Oct 5, 2026 · github_public_v1
Dormant (820d since push)
As of Oct 5, 2026 · github_public_v1
Provenance
Not a fork · Personal account
As of Oct 5, 2026 · github_public_v1
Not a fork · Personal account
As of Oct 5, 2026 · github_public_v1
OSV dependency advisories
No lockfile (source not queried)
As of Jul 11, 2026 · osv@v1
No lockfile (source not queried)
As of Jul 11, 2026 · osv@v1
deps.dev advisories
Not queried
deps.dev@v1
Not queried
deps.dev@v1
OpenSSF Scorecard
Not queried
openssf-scorecard@v1
Not queried
openssf-scorecard@v1

Tagline

LLMs-Finetuning-Safety
Demonstrates safety risks in fine-tuning GPT-3.5 Turbo with adversarial examples
virtual-prompt-injection
Unofficial implementation of Virtual Prompt Injection attack on instruction-tuned LLMs

Stars

LLMs-Finetuning-Safety
359
virtual-prompt-injection
27

Forks

LLMs-Finetuning-Safety
39
virtual-prompt-injection
1

Open issues

LLMs-Finetuning-Safety
3
virtual-prompt-injection
0

Language

LLMs-Finetuning-Safety
Python
virtual-prompt-injection
Python

Adopt for

LLMs-Finetuning-Safety
LLMs-Finetuning-Safety demonstrates the safety risks associated with fine-tuning GPT-3.5 Turbo using few adversarially designed examples.
virtual-prompt-injection
Virtual Prompt Injection provides an unofficial implementation for backdooring instruction-tuned LLMs with virtual prompt injection, offering tools for data poisoning and evaluation specific to this technique.

Persona

LLMs-Finetuning-Safety
-
virtual-prompt-injection
-

Runtime

LLMs-Finetuning-Safety
-
virtual-prompt-injection
-

License

LLMs-Finetuning-Safety
MIT
virtual-prompt-injection
-

Last pushed

LLMs-Finetuning-Safety
Feb 23, 2024
virtual-prompt-injection
Jul 6, 2024

Categories

LLMs-Finetuning-Safety
Evaluation & Observability, Model Training
virtual-prompt-injection
Inference & Serving, Model Training

Trust and health

Days since push

LLMs-Finetuning-Safety
954d
virtual-prompt-injection
820d

Open issues (now)

LLMs-Finetuning-Safety
3
virtual-prompt-injection
0

Stars delta

LLMs-Finetuning-Safety
+1 (30d)
virtual-prompt-injection
0 (30d)

Full report

LLMs-Finetuning-Safety
Trust report
virtual-prompt-injection
Trust report

Choose LLMs-Finetuning-Safety if…

  • Pricing: Open-source under the MIT license; free to use and modify. OpenAI API usage cost applies, but this repository demonstrates effects at less than $0.20..
  • Tags unique to LLMs-Finetuning-Safety: adversarial training, alignment, llm, llm-finetuning.
  • Also covers Evaluation & Observability.
  • When evaluating the risk of compromised safety in language models after fine-tuning them on small, carefully crafted datasets.

When NOT to use LLMs-Finetuning-Safety

  • When generalizing safety risks to other large language models that have different underlying architectures or safeguard mechanisms than GPT-3.5 Turbo.
  • If intending to use this tool as a method of fine-tuning any model for enhancing its performance on specific tasks, given it is designed for illustrating risk rather than improving capabilities.

Choose virtual-prompt-injection if…

  • Tags unique to virtual-prompt-injection: backdoor attack, data poisoning, llm-security, virtual prompt injection.
  • Also covers Inference & Serving.
  • If needing to simulate or study backdoor attacks specifically targeting the behavior of trained language models under certain scenarios without modifying input directly at inference time.

When NOT to use virtual-prompt-injection

  • Not applicable for general training or serving tasks if backdoor insertion is not within scope as it focuses solely on simulating attacks.
  • In a production environment where tampering with AI models' integrity and security is strictly prohibited due to ethical considerations.

Explore

Sources

Every stat on this page traces to a dated GitHub sync, license file, enrichment field, or trust scan.

GitHub stars on cards: LLMs-Finetuning-Safety 359 · virtual-prompt-injection 27 (synced Oct 5, 2026).

Common questions

What is the difference between LLMs-Finetuning-Safety and virtual-prompt-injection?
LLMs-Finetuning-Safety: Demonstrates safety risks in fine-tuning GPT-3.5 Turbo with adversarial examples. virtual-prompt-injection: Unofficial implementation of Virtual Prompt Injection attack on instruction-tuned LLMs. See the comparison table for live GitHub stats and shared categories.
When should I choose LLMs-Finetuning-Safety over virtual-prompt-injection?
Choose LLMs-Finetuning-Safety over virtual-prompt-injection when Pricing: Open-source under the MIT license; free to use and modify. OpenAI API usage cost applies, but this repository demonstrates effects at less than $0.20.; Tags unique to LLMs-Finetuning-Safety: adversarial training, alignment, llm, llm-finetuning; Also covers Evaluation & Observability; When evaluating the risk of compromised safety in language models after fine-tuning them on small, carefully crafted datasets.
When should I choose virtual-prompt-injection over LLMs-Finetuning-Safety?
Choose virtual-prompt-injection over LLMs-Finetuning-Safety when Tags unique to virtual-prompt-injection: backdoor attack, data poisoning, llm-security, virtual prompt injection; Also covers Inference & Serving; If needing to simulate or study backdoor attacks specifically targeting the behavior of trained language models under certain scenarios without modifying input directly at inference time.
When should I avoid LLMs-Finetuning-Safety?
When generalizing safety risks to other large language models that have different underlying architectures or safeguard mechanisms than GPT-3.5 Turbo. If intending to use this tool as a method of fine-tuning any model for enhancing its performance on specific tasks, given it is designed for illustrating risk rather than improving capabilities.
When should I avoid virtual-prompt-injection?
Not applicable for general training or serving tasks if backdoor insertion is not within scope as it focuses solely on simulating attacks. In a production environment where tampering with AI models' integrity and security is strictly prohibited due to ethical considerations.
Is LLMs-Finetuning-Safety or virtual-prompt-injection more popular on GitHub?
LLMs-Finetuning-Safety has more GitHub stars (359 vs 27). Stars measure visibility, not whether either tool fits your constraints.
Are LLMs-Finetuning-Safety and virtual-prompt-injection open source?
Yes - both are open-source projects on GitHub.
Where can I find alternatives to LLMs-Finetuning-Safety or virtual-prompt-injection?
GraphCanon lists graph-backed alternatives at LLMs-Finetuning-Safety alternatives and virtual-prompt-injection alternatives (LLMs-Finetuning-Safety markdown twin, virtual-prompt-injection markdown twin), ranked by typed relationship edges rather than popularity votes.
Is there a machine-readable version of this comparison?
Yes. The markdown twin at this comparison mirrors this page for agents and LLM crawlers, with the same stats table and FAQ answers.
Which is better maintained, LLMs-Finetuning-Safety or virtual-prompt-injection?
LLMs-Finetuning-Safety: Dormant. virtual-prompt-injection: Dormant. Compare maintenance labels, days since push, and release cadence in the trust section below - stars alone do not measure maintenance.
Where are the full trust reports for LLMs-Finetuning-Safety and virtual-prompt-injection?
GraphCanon publishes per-repo trust reports with dated maintenance, provenance, and scan summaries: LLMs-Finetuning-Safety trust report; virtual-prompt-injection trust report.

Was this helpful?

Anonymous feedback helps us improve pages and translations.